/* --- SUMMARY:
  * fadeIn
  * bounce
  * bounceIn
  * bounceInLeft
  * bounceInRight
  * bounceInDown
  * bounceFadeIn
  * slideInUp
  * slideOutDown
  * zoomInRotation
  * shake
  * smoothXScale
  * smoothXScale2Alternate
*/
.animated {
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  animation-fill-mode: both;
  -webkit-animation-fill-mode: both;
}

/* === FADE IN === */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fadeIn {
  animation-name: fadeIn;
}

/* === BOUNCE === */
@keyframes bounce {
  from, 30%, 45%, 55%, 75%, 85%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
  }
  30% {
    transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
  }
  45% {
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
  }
  55% {
    transform: translateY(-7px);
    -webkit-transform: translateY(-7px);
  }
  75% {
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
  }
  85% {
    transform: translateY(-3px);
    -webkit-transform: translateY(-3px);
  }
  to {
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
  }
}
.bounce {
  animation-name: bounce;
}

/* === BOUNCE IN === */
@keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    transform: scale(0.3);
    -webkit-transform: scale(0.3);
  }
  20% {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
  }
  40% {
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
  }
  60% {
    transform: scale(1.03);
    -webkit-transform: scale(1.03);
  }
  80% {
    transform: scale(0.97);
    -webkit-transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}
.bounceIn {
  animation-name: bounceIn;
  -webkit-animation-name: bounceIn;
}

/* === BOUNCE IN LEFT === */
@keyframes bounceInLeft {
  from, 30%, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(-3000px, 0, 0);
  }
  30% {
    opacity: 0.8;
    transform: translate3d(-500px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(25px, 0, 0);
  }
  75% {
    transform: translate3d(-10px, 0, 0);
  }
  90% {
    transform: translate3d(5px, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
.bounceInLeft {
  animation-name: bounceInLeft;
}

/* === BOUNCE IN RIGHT === */
@keyframes bounceInRight {
  from, 30%, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(3000px, 0, 0);
  }
  30% {
    opacity: 0.8;
    transform: translate3d(500px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(-25px, 0, 0);
  }
  75% {
    transform: translate3d(10px, 0, 0);
  }
  90% {
    transform: translate3d(-5px, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
.bounceInRight {
  animation-name: bounceInRight;
}
@keyframes bounceInDown {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(0, -1000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 10px, 0);
  }
  75% {
    transform: translate3d(0, -5px, 0);
  }
  90% {
    transform: translate3d(0, 2px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
.bounceInDown {
  animation-name: bounceInDown;
}

/* === BOUNCE FADE IN === */
@keyframes bounceFadeIn {
  from, 20%, 40%, 60%, 80%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: scale(0.3);
    -webkit-transform: scale(0.3);
  }
  20% {
    opacity: 0.3;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
  }
  40% {
    opacity: 0.8;
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
  }
  60% {
    transform: scale(1.03);
    -webkit-transform: scale(1.03);
  }
  80% {
    transform: scale(0.97);
    -webkit-transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}
.bounceFadeIn {
  animation-name: bounceFadeIn;
  -webkit-animation-name: bounceFadeIn;
}

/* === SLIDE IN UP === */
@keyframes slideInUp {
  from, 0%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    transform: translate3d(0, 40%, 0);
  }
  to {
    transform: translateZ(0);
    opacity: 1;
  }
}
.slideInUp {
  animation-name: slideInUp;
}

/* === SLIDE IN RIGHT === */
@keyframes slideInRight {
  0% {
    transform: translateX(500px);
  }
  to {
    transform: translateX(0px);
    opacity: 1;
  }
}
.slideInRight {
  animation-name: slideInRight;
}

/* === SLIDE OUT DOWN === */
@keyframes slideOutDown {
  from, 0%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    transform: translateZ(0);
    opacity: 1;
  }
  to {
    transform: translate3d(0, 40%, 0);
    opacity: 0;
  }
}
.slideOutDown {
  animation-name: slideOutDown;
}

/* === ZOOM IN/OUT ROTATION === */
@keyframes zoomInRotation {
  from, 50%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    transform: scale(1) rotate(0deg);
    -webkit-transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    -webkit-transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
    -webkit-transform: scale(1) rotate(360deg);
  }
}
.zoom-in-rotation {
  animation-name: zoomInRotation;
}

/* === SHAKE === */
@keyframes shake {
  from, 15%, 30%, 45%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    transform: scale(1) rotate(0deg);
    -webkit-transform: scale(1) rotate(0deg);
  }
  15% {
    transform: scale(1.15) rotate(10deg);
    -webkit-transform: scale(1.15) rotate(10deg);
  }
  30% {
    transform: scale(1.3) rotate(-10deg);
    -webkit-transform: scale(1.3) rotate(-10deg);
  }
  45% {
    transform: scale(1.45) rotate(10deg);
    -webkit-transform: scale(1.45) rotate(10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    -webkit-transform: scale(1) rotate(0deg);
  }
}
.shake {
  animation-name: shake;
}
@keyframes smoothXScale {
  from, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
  }
  25% {
    transform: scaleX(1);
    transform-origin: left;
    opacity: 0.2;
  }
  30% {
    transform: scaleX(1);
    transform-origin: right;
  }
  45% {
    transform: scaleX(0);
    transform-origin: right;
  }
  50% {
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0.4;
  }
  to {
    transform: scaleX(1);
    transform-origin: center;
    opacity: 1;
  }
}
.smoothXScale {
  animation-name: smoothXScale;
}
@keyframes smoothXScale2 {
  from, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    left: 0px;
    opacity: 0.4;
    transform: scaleX(0.2);
    webkit-transform-origin: left;
    transform-origin: left;
  }
  30% {
    left: 300px;
    opacity: 0;
    transform: scaleX(0.6);
  }
  60% {
    left: 0;
    opacity: 0;
    transform: scaleX(0);
    webkit-transform-origin: center;
    transform-origin: center;
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
.smoothXScale2 {
  animation-name: smoothXScale2;
}
@keyframes smoothXScale2Alternate {
  from, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    left: 0px;
    opacity: 0.4;
    transform: scaleX(0.2);
    webkit-transform-origin: left;
    transform-origin: left;
  }
  30% {
    left: 300px;
    opacity: 0;
    transform: scaleX(0.6);
  }
  40% {
    left: 0;
    opacity: 0;
    transform: scaleX(0);
    webkit-transform-origin: center;
    transform-origin: center;
  }
  45% {
    opacity: 0.3;
    transform: scaleX(0.3);
  }
  50% {
    opacity: 0.4;
    transform: scaleX(0.4);
  }
  60% {
    opacity: 0.45;
    transform: scaleX(0.45);
  }
  70% {
    opacity: 0.47;
    transform: scaleX(0.47);
  }
  80% {
    opacity: 0.25;
    transform: scaleX(0.25);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
.smoothXScale2Alternate {
  animation-name: smoothXScale2Alternate;
}
@keyframes repeatBounce {
  from {
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
  }
  5% {
    transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
  }
  7% {
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
  }
  8% {
    transform: translateY(-7px);
    -webkit-transform: translateY(-7px);
  }
  11% {
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
  }
  13% {
    transform: translateY(-3px);
    -webkit-transform: translateY(-3px);
  }
}
.repeatBounce {
  animation-name: repeatBounce;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  -webkit-animation-name: repeatBounce;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
*::after, *::before {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-padding-top: 4rem;
}

body {
  font-family: "Rubik", sans-serif;
  color: #fefefe;
  line-height: 1.6;
  background-color: rgb(25, 20, 42);
}

section {
  min-height: 100vh;
}
section:not(:first-child):not(:nth-child(2)) {
  margin-top: 4rem;
}
section.main-section {
  color: #fefefe;
}
section.main-section .container > *:not(:last-child), section.main-section .container-fluid > *:not(:last-child) {
  margin-bottom: 2.5%;
}

footer {
  width: 100vw;
  background-color: #09070e;
}

.gradient-text {
  background: linear-gradient(45deg, #ff5722 0%, #e91e63 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lighten-gradient-text {
  background: linear-gradient(45deg, #ff8a50 0%, #f48fb1 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.button {
  border-radius: 4px;
  background: none;
  background-origin: border-box;
  background-clip: content-box, border-box;
  font: normal 500 16px/20px "Rubik", sans-serif;
  padding: 1rem 2rem;
}
.button.primary-btn {
  text-decoration: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), linear-gradient(45deg, #ff5722 0%, #e91e63 100%);
  color: whitesmoke;
  transition: box-shadow 0.5s ease;
}
.button.primary-btn:hover {
  color: black;
  box-shadow: 2px 1000px 1px white inset;
  transition: box-shadow 0.5s ease;
}
.button.primary-outline-btn {
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), linear-gradient(45deg, #ff5722 0%, #e91e63 100%);
  color: black;
  box-shadow: 2px 1000px 1px white inset;
  transition: box-shadow 0.5s ease;
}
.button.primary-outline-btn:hover {
  color: white;
  box-shadow: none;
  transition: box-shadow 0.5s ease;
}

.box-shadow-alternate {
  box-shadow: 0 0.5em 0.6em rgba(0, 0, 0, 0.2);
}

.title-text {
  font: normal bold 50px/75px "Rubik", sans-serif;
}

.text-link {
  color: #738ed1;
}

.content .card > img {
  margin: 3% auto;
  width: 80px;
  height: 80px;
}

.hidden {
  display: none;
}
.hidden a {
  display: block;
  margin: auto;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  padding: 8px;
}
.hidden .item-wrap {
  display: flex;
  justify-content: center;
  padding: 5px;
}
.hidden .item-wrap .item {
  margin: 15px;
}
.hidden .item-wrap .item img {
  width: 2rem;
  height: 2rem;
}
.hidden .item-wrap .item .caption {
  font: normal italic 300 12px/25px "Rubik", sans-serif;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 50px;
  grid-auto-rows: minmax(100px, auto);
  padding: 2.5% 0 0 0;
}

.list-container {
  margin-top: 5%;
  border-radius: 8px;
  background-color: #292146;
  display: flex;
  flex-direction: column;
  gap: 2em;
  padding: 2.5em 4em;
  box-shadow: 0 0.5em 0.6em rgba(0, 0, 0, 0.2);
}

.see-more {
  display: flex;
  justify-content: center;
  color: rgba(225, 225, 225, 0.8);
}

.my-card {
  max-width: 32ch;
  border-radius: 8px;
  background-color: #222;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0.5em 0.6em rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.5s ease-out;
}
.my-card .my-card-content {
  padding: 3rem;
  background: linear-gradient(hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.3) 20%, hsl(0, 0%, 0%));
  transform: translateY(60%);
  transition: transform 0.5s ease-out;
}
.my-card .my-card-content .my-card-title {
  position: relative;
  text-align: center;
}
.my-card .my-card-content .my-card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 4px;
  opacity: 0;
  background: #ff5722;
  transition: transform, opacity 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.my-card .my-card-content .see-more {
  padding-bottom: 1.5rem;
  transition: opacity 0.8s ease-in;
}
.my-card .my-card-content .my-card-body {
  position: relative;
  text-align: justify;
  opacity: 0;
}
.my-card:hover, .my-card:focus-within {
  transform: scale(1.05);
}
.my-card:hover .my-card-content, .my-card:focus-within .my-card-content {
  transform: translateY(10%);
  transition-delay: 0.5s;
}
.my-card:hover .my-card-content > *:not(.my-card-title):not(.see-more), .my-card:focus-within .my-card-content > *:not(.my-card-title):not(.see-more) {
  animation: fadeIn 0.5s forwards;
  animation-delay: calc(0.5s * 1.5);
}
.my-card:hover .my-card-content .my-card-title::after, .my-card:focus-within .my-card-content .my-card-title::after {
  animation: smoothXScale2 1s;
  animation-fill-mode: forwards;
}
.my-card:hover .see-more, .my-card:focus-within .see-more {
  opacity: 0;
  height: 0;
}

.hobbie {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.hobbie .hobbie-title {
  display: flex;
  gap: 1em;
}
.hobbie .hobbie-title h4 {
  font-size: 1.4rem;
}
.hobbie::after {
  content: "";
  width: 100%;
  height: 0.1rem;
  margin-top: 1em;
  background: linear-gradient(90deg, transparent 0%, rgba(50, 50, 50, 0.2) 30%, rgba(50, 50, 50, 0.4) 50%, rgba(50, 50, 50, 0.2) 70%, transparent 100%);
}

.my-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1000;
  width: 500px;
  max-width: 80%;
  background-color: #292146;
  border: 1px solid rgb(25, 20, 42);
  border-radius: 8px;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.2s ease-in-out;
}
.my-modal.active {
  transform: translate(-50%, -50%) scale(1);
}
.my-modal .my-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
}
.my-modal .my-modal-header .title {
  margin: auto 0;
}
.my-modal .my-modal-header .close-btn {
  cursor: pointer;
  background: none;
  outline: none;
  border: none;
  color: #e91e63;
  font-size: 1.96rem;
  font-weight: bold;
}
.my-modal .my-modal-body {
  padding: 2rem;
  text-align: left;
}

#overlay {
  width: 100vw;
  height: 100vh;
  position: fixed;
  inset: 0;
  background-color: rgba(9, 7, 14, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
  z-index: 1000;
}
#overlay.active {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 1400px) {
  .card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .card-container .my-card {
    align-items: center;
    justify-self: center;
  }
}
@media (max-width: 992px) {
  html {
    scroll-padding-top: -300px;
  }
  section:not(:first-child):not(:nth-child(2)) {
    margin-top: 0;
  }
  .title-text {
    font-size: 45px;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .title-text {
    font-size: 40px;
    text-align: center;
  }
  .card-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .card-container .my-card {
    max-width: 30ch;
  }
}
@media (max-width: 576px) {
  .hobbie {
    gap: 0.5em;
    text-align: justify;
  }
  .hobbie .hobbie-title {
    font-size: 18px;
  }
  .hobbie .hobbie-text {
    font-size: 16px;
  }
}
@media (max-width: 398px) {
  .hobbie .hobbie-title {
    font-size: 16px;
  }
  .hobbie .hobbie-text {
    font-size: 14px;
  }
}
header {
  position: absolute;
  width: 100vw !important;
  height: 75px;
  margin-top: 45px;
  z-index: 100;
}
header nav {
  transition: transform 0.2s ease-out;
}
header nav.hide {
  transform: translateY(-100px);
}
header nav .nav-container {
  background-color: transparent;
}
header nav .nav-brand img {
  width: 100px;
}
header nav .nav-item {
  position: relative;
}
header nav .nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.35em;
  right: 0;
  width: 0.1em;
  height: 32px;
  background: linear-gradient(0deg, transparent 0%, rgba(50, 50, 50, 0.6) 20%, rgba(50, 50, 50, 0.9) 50%, rgba(50, 50, 50, 0.6) 80%, transparent 100%);
}
header nav .nav-item .nav-link {
  font: normal 400 20px "Rubik", sans-serif;
  color: #e5e5e5 !important;
  margin: 0rem 0.8rem;
}
header nav .nav-item .nav-link:hover {
  animation: bounce 1s ease-in-out;
}
header nav .nav-item .nav-link:hover i {
  animation: zoomInRotation 0.85s cubic-bezier(0.215, 0.61, 0.355, 1);
}
header nav .nav-item .nav-link i {
  vertical-align: middle;
}

#home {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fefefe;
}
#home .container {
  transform: translateY(10%);
}
#home .container > *:not(:first-child) {
  margin-top: 2.5%;
}
#home .title-text {
  line-height: 1.6;
  text-shadow: 0.1em 0.1em 0.2em rgba(22, 22, 22, 0.4);
}
#home h3 {
  font-weight: 400;
}
#home h3::after {
  content: "";
  height: 2px;
  width: 30%;
  background: #fefefe;
  border-radius: 50px;
  display: inline-block;
  margin-left: 5%;
  transform: translateY(-10px);
}
#home h1 {
  font-size: 4.1rem;
}
#home h4 {
  font: normal 50px/50px "Rubik", sans-serif;
  font-size: 1.4rem;
}
#home h1,
#home h3,
#home h4 {
  opacity: 0;
  animation: slideInRight 0.8s ease-out;
  animation-fill-mode: forwards;
}
#home h1 {
  animation-delay: 0.6s;
}
#home h4 {
  animation-delay: 1.2s;
}
#home .buttons-container {
  opacity: 1;
  display: flex;
  flex: wrap;
  align-items: center;
  margin-top: 2%;
}
#home .buttons-container .btn {
  opacity: 0;
  animation: slideInUp 1s ease-out 1.8s forwards, fadeIn 1s ease-out 1.8s forwards;
}
#home .buttons-container .btn:last-child {
  animation-delay: 2s;
}
#home .buttons-container .btn:not(:first-child) {
  margin-left: 2%;
}

#about-me .description {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: #fefefe;
}
#about-me .description .img-wrapper {
  z-index: 10;
  border-radius: 50%;
  box-shadow: 0.25em 0.25em 0.6em rgba(0, 0, 0, 0.2);
}
#about-me .description .img-wrapper img {
  width: 325px;
  border-radius: 50%;
}
#about-me .description .text-wrapper {
  background: linear-gradient(-70deg, #292146 40%, #1d1731 85%, rgb(25, 20, 42) 100%);
  border-radius: 8px;
  margin-left: -170px;
  box-shadow: 0 0.5em 0.6em rgba(0, 0, 0, 0.2);
}
#about-me .description .text-wrapper .content {
  width: 80%;
  padding: 2.5rem 5rem 2.5rem 0;
  float: right;
}
#about-me .description .text-wrapper .content h3 {
  font-size: 1.96rem;
}
#about-me .description .text-wrapper .content .text {
  font-size: 18px;
  text-align: justify;
}
#about-me .description .text-wrapper .content .text:nth-child(2) {
  margin-top: 2.5%;
}
#about-me .my-card:nth-child(1) {
  background-image: url(../assets/imgs/xbox_controller.jpg);
}
#about-me .my-card:nth-child(1) .see-more {
  animation: repeatBounce 5s ease-in-out infinite;
}
#about-me .my-card:nth-child(2) {
  background-image: url(../assets/imgs/headphone.jpg);
}
#about-me .my-card:nth-child(2) .see-more {
  animation: repeatBounce 5s ease-in-out infinite;
  animation-delay: 0.2s;
}
#about-me .my-card:nth-child(3) {
  background-image: url(../assets/imgs/forest.jpg);
  background-position-y: 60%;
}
#about-me .my-card:nth-child(3) .see-more {
  animation: repeatBounce 5s ease-in-out infinite;
  animation-delay: 0.4s;
}
#about-me .my-card:nth-child(4) {
  background-image: url(../assets/imgs/beatbox.jpg);
  background-position-x: 50%;
}
#about-me .my-card:nth-child(4) .see-more {
  animation: repeatBounce 5s ease-in-out infinite;
  animation-delay: 0.6s;
}
#about-me #hobbies .list-container h3 {
  font-weight: bold;
  font-size: 1.96rem;
}
#about-me #hobbies .list-container .hobbie {
  font-size: 18px;
}
#about-me #hobbies .hobbie:last-child::after {
  content: none;
}

#my-works .container > div {
  margin-top: 12%;
}
#my-works .content .card {
  max-width: 40ch;
  min-height: 455px;
  background-image: url(../assets/imgs/card_bg.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #292146;
  box-shadow: 0 0.5em 0.6em rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  transition: transform 0.7s ease;
  -webkit-transition: transform 0.7s ease;
  overflow: hidden;
}
#my-works .content .card > div {
  color: #fefefe;
  text-align: center;
  font: normal 15px/20px "Rubik", sans-serif;
}
#my-works .content .card > div h3 {
  font-weight: bold;
}
#my-works .content .card > div h5 {
  font-weight: 400;
}
#my-works .content .card .card-body .card-text p,
#my-works .content .card .card-body .hidden {
  min-height: 10ch;
}
#my-works .content .card .card-body .card-text {
  font: normal 15px "Rubik", sans-serif;
  text-align: justify;
  padding: 5%;
}
#my-works .content .card .card-body .hidden {
  margin-top: 6%;
}
#my-works .content .card .card-body .see-more {
  animation: repeatBounce 5s ease-in-out infinite;
}
#my-works .content .card:hover {
  transform: scale(1.05);
  transition: transform 0.4s ease-out;
  -webkit-transition: border, transform 0.4s ease-out;
}
#my-works .content :nth-child(odd) .card .card-body .see-more {
  animation-delay: 0.2s;
}

#contact-me .main-container {
  display: flex;
  margin-top: 5%;
  box-shadow: 0.25em 0.25em 0.6em rgba(0, 0, 0, 0.2);
}
#contact-me .main-container .contacts-container {
  display: flex;
  flex-direction: column;
  background-color: #292146;
  width: 40%;
  gap: 2rem 3rem;
  padding: 5rem;
  border-radius: 8px 0 0 8px;
}
#contact-me .main-container .contacts-container i {
  font-size: 1.96rem;
  color: #ff764b;
  vertical-align: text-top;
}
#contact-me .main-container .contacts-container .item {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}
#contact-me .main-container .contacts-container .item .item-title {
  display: flex;
  align-items: center;
  gap: 0.8em;
  color: #ff764b;
}
#contact-me .main-container .contacts-container .item .item-title h5 {
  margin: 0;
  padding: 0;
}
#contact-me .main-container .contacts-container .item .item-text {
  font-size: 16px;
}
#contact-me .main-container .contacts-container .item .item-text :nth-child(2) {
  color: #dfdfdf;
}
#contact-me .main-container .contacts-container .item::after {
  display: block;
  content: "";
  width: 100%;
  height: 0.1rem;
  margin-top: 1em;
  background: linear-gradient(90deg, transparent 0%, rgba(58, 46, 97, 0.2) 30%, rgba(58, 46, 97, 0.4) 50%, rgba(58, 46, 97, 0.2) 70%, transparent 100%);
}
#contact-me .main-container .contacts-container .social-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
}
#contact-me .main-container .contacts-container .social-container .social-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#contact-me .main-container .form-container {
  background-color: #211b38;
  width: 100%;
  border-radius: 0 8px 8px 0;
}
#contact-me .main-container .form-container .contact-me-form {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 5rem;
}
#contact-me .main-container .form-container .contact-me-form .input-data {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
}
#contact-me .main-container .form-container .contact-me-form .input-data .input-container {
  width: 100%;
}
#contact-me .main-container .form-container .contact-me-form .input-container {
  display: flex;
  flex-direction: column;
  background-color: #3a2e61;
  border-radius: 8px;
  padding: 1.5rem;
}
#contact-me .main-container .form-container .contact-me-form .input-container label {
  color: #dfdfdf;
}
#contact-me .main-container .form-container .contact-me-form .input-container input {
  width: 100%;
}
#contact-me .main-container .form-container .contact-me-form .input-container input,
#contact-me .main-container .form-container .contact-me-form .input-container textarea {
  color: #fefefe;
  background-color: transparent;
  border: none;
  outline: none;
}
#contact-me .main-container .form-container .contact-me-form .input-container textarea {
  flex: 1;
}
#contact-me .main-container .form-container .contact-me-form button {
  width: -moz-max-content;
  width: max-content;
}

.footer-container {
  padding-block: 2.5em;
}
.footer-container .logo {
  margin: auto;
}
.footer-container .logo img {
  width: 125px;
}
.footer-container .link__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 0.75rem;
  text-align: center;
}
.footer-container .link__container .link__item {
  color: #fefefe;
  text-decoration: none;
  border: none;
  outline: none;
  background-color: transparent;
}
.footer-container .social__container {
  display: flex;
  justify-content: flex-end;
  gap: 2em;
}
.footer-container .social__container .social__item {
  font-size: 2rem;
}
.footer-container .rights {
  margin-top: 2.5em;
  text-align: center;
}

.scroll-up {
  position: fixed;
  right: 6rem;
  bottom: -20%;
  background-color: #e91e63;
  opacity: 0.8;
  padding: 0 0.3rem;
  border-radius: 4px;
  z-index: 100;
  transition: background-color 0.4s, bottom 0.4s;
}
.scroll-up:hover {
  background-color: #ca1452;
}
.scroll-up i {
  font-size: 1.5rem;
  color: #fefefe;
}

.show-scroll {
  bottom: 5rem;
}

@media (max-width: 1400px) {
  #about-me .description .text-wrapper .content {
    margin-left: 5%;
  }
  #about-me .description .text-wrapper .content .text {
    font-size: 17px;
    text-align: justify;
  }
  #my-works .content .card .card-body .card-text p {
    min-height: 15ch;
  }
  .scroll-up {
    right: 4rem;
  }
}
@media (max-width: 1200px) {
  header nav .nav-brand {
    font-size: 26px;
  }
  #home .titles-grid h1 {
    font-size: 3.2rem;
  }
  #home .titles-grid h3 {
    font-size: 1.6rem;
  }
  #home .titles-grid h4 {
    font-size: 1.2rem;
  }
  #about-me .description {
    position: relative;
    flex-direction: column;
    align-items: center;
  }
  #about-me .description .img-wrapper {
    position: absolute;
    top: 0;
    box-shadow: 0 0.5em 0.6em rgba(0, 0, 0, 0.2);
  }
  #about-me .description .text-wrapper {
    margin: 14em 0 0 0;
  }
  #about-me .description .text-wrapper .content {
    float: none;
    width: initial;
    margin: 0;
    padding: 10rem 4rem 2.5rem 4rem;
  }
  #about-me .description .text-wrapper .content h3 {
    text-align: center;
  }
  #about-me .description .text-wrapper .content .text {
    font-size: 18px;
    text-align: justify;
  }
  #about-me .card-container {
    padding: 5% 0;
  }
  #about-me .list-container .hobbie {
    font-size: 18px;
  }
  #my-works .content .card {
    max-width: none;
  }
  #my-works .content .card .card-body .card-text p {
    min-height: 8ch;
  }
  #contact-me .form-container .input-data {
    flex-direction: column;
  }
}
@media (max-width: 992px) {
  html {
    scroll-padding-top: 1rem;
  }
  header {
    position: fixed;
    top: 0;
    margin: 0;
  }
  header nav {
    padding: 0 !important;
    transition: all 0.2s ease-out;
  }
  header nav .nav-container {
    max-width: 100vw;
    background-color: rgba(25, 20, 42, 0.98);
    padding: 1.2rem 3rem;
  }
  header nav .nav-container .navbar-toggler {
    border: none !important;
    outline: none !important;
    color: transparent !important;
  }
  header nav .nav-brand img {
    width: 50px;
  }
  header nav .navbar-collapse .navbar-nav:first-child {
    padding-top: 2rem;
  }
  header nav .nav-item::after {
    visibility: hidden;
  }
  header nav .nav-item .nav-link:hover, header nav .nav-item .nav-link:hover i {
    animation: none;
  }
  .see-more {
    animation: none !important;
  }
  #home .title-text {
    text-align: center;
  }
  #home h1,
  #home h3,
  #home h4 {
    animation-name: fadeIn;
  }
  #home .buttons-container {
    justify-content: center;
    align-items: center;
  }
  #my-works .content .card {
    box-shadow: none;
  }
  #my-works .content .card:hover {
    transform: none;
  }
  #my-works .content .card .card-body .card-text p {
    min-height: initial;
  }
  #contact-me .main-container {
    flex-direction: column;
    gap: 2em;
    box-shadow: none;
  }
  #contact-me .main-container .contacts-container,
  #contact-me .main-container .form-container {
    box-shadow: 0.25em 0.25em 0.6em rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    gap: 3rem;
  }
  #contact-me .main-container .contacts-container {
    width: 100%;
  }
}
@media (max-width: 768px) {
  #about-me .description .text-wrapper .content .text {
    font-size: 16px;
  }
  #hobbies {
    padding-bottom: 4rem;
  }
  #hobbies .list-container .hobbie .hobbie-text {
    font-size: 16px;
  }
}
@media (max-width: 576px) {
  header nav .nav-item .nav-link {
    font-size: 20px;
  }
  #home .profile-picture > img {
    width: 16rem;
  }
  #home .titles-grid .title-text h1 {
    font-size: 2.75rem;
  }
  #about-me h3 {
    font-size: 1.4rem;
  }
  #about-me .description .img-wrapper img {
    width: 275px;
  }
  #about-me .description .text-wrapper {
    margin: 10em 0 0 0;
  }
  #about-me .description .text-wrapper .content {
    padding: 10rem 2rem 1rem 2rem;
  }
  #about-me .description .text-wrapper .content h3 {
    padding-bottom: 1rem;
  }
  #about-me .list-container {
    padding: 2rem;
  }
  #my-works .content .card:hover {
    transform: scale(1);
  }
  #contact-me .main-container .contacts-container,
  #contact-me .main-container .form-container .contact-me-form {
    gap: 2rem 2rem;
    padding: 4rem;
  }
  footer {
    text-align: center;
    justify-content: center;
  }
  footer .row {
    row-gap: 2em;
  }
  footer .social__container {
    justify-content: center !important;
  }
}
@media (max-width: 398px) {
  header nav .nav-brand {
    font-size: 18px;
  }
  #home .container h1 {
    font-size: 50px;
  }
  #home .container h3 {
    font-size: 30px;
  }
  #home .container h4 {
    font-size: 20px;
  }
  #home .container .buttons-container {
    margin-top: 10% !important;
  }
  #about-me .description .img-wrapper img {
    width: 225px;
  }
  #about-me .description .text-wrapper {
    margin: 6em 0 0 0;
  }
  #about-me .description .text-wrapper .content .text {
    font-size: 16px;
    text-align: justify;
  }
  #contact-me .main-container .contacts-container,
  #contact-me .main-container .form-container .contact-me-form {
    gap: 2rem 3rem;
    padding: 3rem;
  }
  .scroll-up {
    right: 1rem;
  }
}/*# sourceMappingURL=main.css.map */