* {
    padding: 0;
    margin: 0;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: auto;
    background-color: smoke;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    z-index: 10;
    position: fixed;
    top: 0;
    width: 100vw;
    backdrop-filter: blur(5px);
}

.ola {
    font-weight: bold;
    font-size: 1.9rem;
    font-family: cursive;
    padding-left: 1rem;
}

.fa-sun {
    font-size: 1.5rem;
    color: #ffeabf;
}

.fa-moon {
    font-size: 1.5rem;
}

.dark-mode {
    color: white;
    background-color: #666362;
    transition:background-color 0.5s linear 0s;
}
    


.light-mode {
    color: black;
    background-color: white;
    transition:background-color 0.5s linear 0s;
}


.dropdown {
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    display: none;
    z-index: 5;
    position: fixed;
    top: 3.5rem;
    right: 0;
    left: 0;
    background-color: snow;
}

.dropdown > div {
    padding-bottom: 5px;
    cursor: pointer;
}

.tracking-in-expand {
	-webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
	        animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}


@-webkit-keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}


.hvr-underline-from-center {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
}
.hvr-underline-from-center:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 51%;
  right: 51%;
  bottom: 0;
  background: #2098D1;
  height: 4px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-underline-from-center:hover:before, .hvr-underline-from-center:focus:before, .hvr-underline-from-center:active:before {
  left: 0;
  right: 0;
}

main {
    padding-top: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;    
    gap: 2rem;
    text-align: center;
}

.hello {
    font-size: 1.5rem;
}

.info {
    align-self: center;
    width: 80%;
}

.info:first-letter {
    font-weight: bold;
    font-size: 1.5rem;
}


.slide-in-right {
	-webkit-animation: slide-in-right 1.0s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-in-right 1.0s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(1000px);
            transform: translateX(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(1000px);
            transform: translateX(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}


section {
    padding-top: 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skills {
    font-size: 1.5rem;
    font-family: monospace;
}

.icon {
    width: 3.5rem;
    height: 3.5rem;
}

.icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.slide-in-left {
	-webkit-animation: slide-in-left 1.0s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-in-left 1.0s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}


@-webkit-keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
            transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
            transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}


article {
    padding-top: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.project-header {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-top: 5rem;
}

.project-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: 3px solid grey;
    border-radius: 1rem;
    width: 20rem;
    height: 33rem;
}

.project-image {
    height: 20rem;
    width: 20rem;
    border-radius: 0.7rem 0.7rem 0 0;
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1rem 0 1rem;
}

a {
    text-decoration: none;
    color: black;
}

.project-container:hover {
    box-shadow: rgba(3, 102, 214, 0.3) 0px 0px 0px 3px;
}

aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding-top: 4rem;
}

.contact-me {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-left: 0.8rem;
  width: 20rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 20rem;
  padding-left: 0.8rem;
  padding-top: 2rem;
}

input {
  width: 20rem;
  height: 2.5rem;
  padding-left: 0.7rem;
  box-sizing: border-box;
  margin-top: 0.3rem;
  border: 2px solid rgb(54, 32, 5);
  border-radius: 5px;
  outline-color: skyblue;
}


.inputs {
  gap: 2rem;
}

textarea {
  width: 20rem;
  height: 10rem;
  padding-left: 1rem;
  padding-top: 1rem;
  border: 2px solid rgb(54, 32, 5);
  border-radius: 5px;
  box-sizing: border-box;
  margin-top: 0.3rem;
  outline-color: skyblue;
  font-size: 0.9rem;
}

input::placeholder {
  padding-left: 0.05rem;
}

.send-message {
  padding: 0.5rem;
  width: 9rem;
  border: 2px solid rgb(54, 32, 5);
  border-radius: 5px;
}

.send-message:hover {
  border: 2px solid skyblue;
}

footer {
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  height: 11rem;
  background-color: gray;
  position; fixed;
  bottom: 0;
}

.connect {
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   align-items: center;
   gap: 4px;
}

.connect > a > i {
  font-size: 1.5rem;
  padding: 2px;
}


@media only screen and (min-width: 600px) {
  article {
      flex-direction: row;
      flex-wrap: wrap;
  }

  aside {
    flex-direction: row;
  }

  footer {
    flex-direction: row;
    height: 6rem;
  }

  .connect {
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
  }
}
