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

header {
  max-width: 100vw;
}
html {
  font-family: "Roboto", sans-serif;
  scroll-behavior: smooth;
  /*  font-family: 'Caveat', cursive; */
}

.banner-main {
  min-width: 95vw;
  min-height: 100vh;
  background: linear-gradient(
      90deg,
      rgba(2, 0, 36, 1) 0%,
      rgba(52, 9, 31, 0.1856092778908438) 100%
    ),
    url(../img/greg-rakozy-oMpAz-DN-9I-unsplash.jpg) center/cover fixed;
  display: flex;
  color: #f2e9e4;
  align-items: center;
  backface-visibility: hidden;
}
.banner-main h1 {
  width: 100vw;
  height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  font-family: "Caveat", cursive;
  font-weight: bold;
}

h1 {
  letter-spacing: 3px;
  text-transform: uppercase;
}

.word-1 {
  animation-name: moveInLeft;
  animation-duration: 2.1s;
}
.word-3 {
  animation-name: moveInRight;
  animation-duration: 2.1s;
}

.word-2 {
  /* height: 10%; */
  display: flex;
  flex-direction: column;
  animation-name: fromUp;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: backwards;
  backface-visibility: hidden;
}
.click {
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin-top: 4rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 1rem;
  border: 1px solid rgb(66, 64, 64);
  border-radius: 1.8rem;
  font-size: 1.8rem;
  animation-name: hire;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  text-transform: capitalize;
  outline: none;
  transition: all 0.3s;
  color: #4a4e69;
  letter-spacing: 1px;
  font-family: "Caveat", cursive;
  background-color: #bbb;
}

.click:hover {
  background-color: #4a4e69;
  color: #f2e9e4;
  transform: scale(1.01);
  box-shadow: 0 2px 10px 2px rgb(204, 211, 236);
  cursor: pointer;
  text-decoration: none;
}
.click:active {
  transform: scale(0.98);
}

@keyframes moveInLeft {
  0% {
    opacity: 0;
    transform: translateX(-5rem);
    color: rgb(134, 224, 106);
  }
  80% {
    transform: translateX(1rem);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hire {
  0% {
    opacity: 0;
    transform: translateY(8rem);
    background-color: rgb(0, 204, 255);
  }
  85% {
    transform: translateY(-1rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fromUp {
  0% {
    opacity: 0;
    transform: translateY(5rem);
    color: rgb(134, 224, 106);
  }
  85% {
    transform: translateY(-3rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes moveInRight {
  0% {
    opacity: 0;
    transform: translateX(5rem);
    color: rgb(134, 224, 106);
  }
  80% {
    transform: translateX(-1rem);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@media screen and (min-width: 60rem) {
  .banner-main h1 {
    font-size: 2.5rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
  }
  .word-2 {
    margin-top: 14rem;
    font-size: 3.3rem;
  }
  .click {
    margin-top: 10rem;
  }
  @keyframes moveInRight {
    0% {
      opacity: 0;
      transform: translateX(3rem);
      color: rgb(134, 224, 106);
    }
    80% {
      transform: translateX(-1rem);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  @keyframes moveInLeft {
    0% {
      opacity: 0;
      transform: translateX(-3rem);
      color: rgb(134, 224, 106);
    }
    80% {
      transform: translateX(1rem);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fromUp {
    0% {
      opacity: 0;
      transform: translateY(3rem);
      color: rgb(134, 224, 106);
    }
    85% {
      transform: translateY(-3rem);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
/* section about */
#about {
  text-align: center;
  padding: 2rem 0.5rem;
  min-width: 95vw;
  min-height: 95vh;
  margin: 0 auto;
  background-color: #22223b;

  color: #f2e9e4;
}

.about__title-text {
  padding: 1rem 0;
  margin: 2rem 0;
  border-radius: 2rem;
  display: inline-block;
  font-size: 4rem;
  text-transform: uppercase;
  font-family: "Caveat", cursive;
  letter-spacing: 7px;
  border-bottom: 1rem solid;
  transition: all 0.4s;
}
.about__title-text:hover {
  transform: skewX(5deg) skewY(5deg);
  text-shadow: 0px 1rem 0.5rem rgb(48, 48, 83);
}
.container__about-center {
  display: flex;
  flex-direction: column;
  margin: auto;
  justify-content: space-between;
}
.about__bio-title {
  font-family: "Caveat", cursive;
  font-size: 2.5rem;
}
.about__bio-text {
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 2px;
}

.about__skils-title {
  font-family: "Caveat", cursive;
  font-size: 2.5rem;
}

.brain {
  padding: 1rem;
  font-size: 4rem;
  transition: all 0.4s;
}
.item {
  font-size: 4.5rem;
  padding: 0.4rem;
  transition: all 0.4s;
}

.item:hover {
  color: #22223b;
  box-shadow: 5px 5px 5px 5px black;
}
.brain:hover {
  color: #c9ada7;
  transform: scale(1.4);
}

.flex-items {
  padding: 0.5rem;
  margin: 1rem;
  min-width: 65vw;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  flex-grow: 0;
  justify-content: space-between;
  align-items: center;
  background-color: #4a4e69;
  border-radius: 3rem;
}
@media screen and (min-width: 50rem) {
  .container__about-center {
    flex-direction: row;
    justify-content: space-between;
  }
  .flex-items {
    min-width: 40vw;
    min-height: 70vh;
    margin: 1rem;
  }
  .about__skils-items {
    padding-bottom: 5rem;
  }
  .about__skils-title {
    padding-top: 3rem;
    font-size: 5.5rem;
  }
  .about__bio-text {
    padding-bottom: 5rem;
  }
  .about__bio-title {
    padding-top: 3rem;
    font-size: 5.5rem;
  }
}

/* end of about */
/* projects */
#projects {
  background: linear-gradient(
      90deg,
      rgba(2, 0, 36, 1) 0%,
      rgba(15, 9, 52, 0.1856092778908438) 100%
    ),
    url(../img/pexels-pixabay-270348.jpg) center/cover no-repeat fixed;
  min-height: 100vh;
}

.projects__title {
  text-align: center;
  padding: 1rem 0;
  margin: 2rem 0;
  width: 100%;
}
.projects__title-text {
  color: #f2e9e4;
  padding: 1rem 0;
  border-radius: 2rem;
  display: inline-block;
  font-size: 4rem;
  text-transform: uppercase;
  font-family: "Caveat", cursive;
  letter-spacing: 7px;
  border-bottom: 1rem solid;
  transition: all 0.4s;
}
.projet-name {
  text-shadow: 0 0.8rem 0.5rem rgb(48, 48, 83);
}

.projects__title-text:hover {
  transform: skewX(5deg) skewY(5deg);
  text-shadow: 0px 1rem 0.5rem rgb(48, 48, 83);
}

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 380px;
  margin: 1rem auto;

  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.img_cart {
  width: 100%;
  border-radius: 5px;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front,
.flip-card-back {
  position: absolute;
  border-radius: 5px;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #bbb;
}

/* Style the back side */
.flip-card-back {
  background-color: rgba(187, 187, 187, 0.322);
  color: #f2e9e4;
  transform: rotateY(180deg);
  text-shadow: 0 1.1rem 1.1rem;
}

.buttoncontainer {
  display: flex;
  justify-content: space-around;
}
.click-2 {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgb(66, 64, 64);
  border-radius: 1rem;
  font-size: 1rem;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  text-transform: capitalize;
  outline: none;
  transition: all 0.3s;
  color: #4a4e69;
  letter-spacing: 1px;
  font-family: "Caveat", cursive;
  background-color: #bbb;
}
.click-2:hover {
  text-decoration: none;
  background-color: #4a4e69;
  color: #f2e9e4;
  transform: scale(1.01);
  box-shadow: 0 2px 10px 2px rgb(204, 211, 236);
  cursor: pointer;
}
.click-2:active {
  transform: scale(0.98);
  outline: none;
}
.card-title {
  text-shadow: 0 1rem 1rem;
}

@media screen and (min-width: 765px) {
  .maincontainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .flip-card {
    width: 300px;
    height: 380px;
  }
}

/* contact section */

#contacts {
  padding: 2rem 0.5rem;
  min-width: 95vw;
  min-height: 95vh;
  margin: 0 auto;
  position: relative;
  background-color: #22223b;

  color: #f2e9e4;
}

.contact__informarion {
  text-align: center;
  margin-bottom: 2rem;
}

.contacnt_info {
  text-align: center;
  text-transform: capitalize;
  padding: 1rem;
  font-family: "Caveat", cursive;
  font-size: 2.5rem;
  color: #f2e9e4;
}
.social-links {
  height: 80%;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.social-link {
  width: 80%;
  padding-left: 1rem;
  margin-left: 1rem;
  font-family: "Caveat", cursive;
  font-size: 2rem;
  text-transform: capitalize;
  display: flex;
  justify-content: space-between;
}

.socila-icon {
  font-size: 2rem;
  color: #f2e9e4;
  transition: all 0.4s;
}
.socila-icon:hover {
  color: #22223b;
  box-shadow: 5px 5px 5px 5px black;
}

.contacts__center {
  display: flex;
  flex-direction: column;
  margin: auto;
  justify-content: space-around;
}
.contact-items {
  background-color: rgba(255, 255, 0, 0.247);

  background-color: #4a4e69;
  border-radius: 3rem;
  box-shadow: 0 1rem 0.8rem rgba(148, 201, 216, 0.404);
}

.title-contacts {
  text-align: center;
  text-transform: capitalize;
  padding: 1rem;
  font-family: "Caveat", cursive;
  font-size: 2.5rem;
  color: #f2e9e4;
}
.form__name,
.label__name,
.form__email,
.label__email {
  /* margin-top: 0.3rem ; */
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  display: block;
  border: none;
  font-size: 1.5rem;
  border-radius: 10px;
}
.label {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: -0.2rem;
  display: block;
  transition: all 0.5s;
  color: #f2e9e4;
}

.form:placeholder-shown + .label {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-3rem);
}

.label__area {
  display: block;
  text-align: center;
  color: #f2e9e4;
  font-size: 2rem;
  font-family: "Caveat", cursive;
}
.form {
  border: none;
  background-color: #bbb;
  border-bottom: 5px solid transparent;
  outline: none;
  transition: all 0.4s;
}
.form:focus {
  outline: none;
  box-shadow: 0 0.8rem 1.3rem rgba(120, 194, 117, 0.63);
  border-bottom: 5px solid rgb(120, 194, 117);
  background-color: rgba(247, 247, 247, 0.979);
}
.form:focus:invalid {
  box-shadow: 0 0.8rem 1.3rem rgba(231, 104, 95, 0.678);
  border-bottom: 5px solid rgb(231, 104, 95);
}
.textarea {
  background-color: #bbb;
  display: block;
  margin: 0 auto;
  /* align-self:center; */
  width: 90%;
  height: 50%;
  border-radius: 10px;
  border: none;
  outline: none;
  color: #22223b;
  transition: all 0.4s;
}
.textarea:focus {
  background-color: rgba(247, 247, 247, 0.979);
}
.button-form {
  margin: 0 auto;
  align-self: center;
}
.button-form-submit {
  margin: 0 auto;
  display: block;
  padding: 0.8rem 2.5rem;
  border-radius: 5px;
}

.click-1 {
  display: block;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  width: 50%;
  padding: 1rem;
  border: 1px solid rgb(66, 64, 64);
  border-radius: 1.8rem;
  font-size: 1.5rem;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  text-transform: capitalize;
  outline: none;
  transition: all 0.3s;
  color: #4a4e69;
  letter-spacing: 1px;
  font-family: "Caveat", cursive;
  background-color: #bbb;
}
.click-1:hover {
  background-color: #4a4e69;
  color: #f2e9e4;
  transform: scale(1.01);
  box-shadow: 0 2px 10px 2px rgb(204, 211, 236);
  cursor: pointer;
}
.click-1:active {
  transform: scale(0.98);
  outline: none;
}

@media screen and (min-width: 50rem) {
  .contacts__center {
    flex-direction: row;
    justify-content: space-evenly;
  }
  .contact-items {
    min-width: 44vw;
    min-height: 50vh;
    margin: 1rem;
  }

  .label {
    margin-top: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: -0.2rem;
    display: block;
    transition: all 0.5s;
    color: #f2e9e4;
  }
  .social-link {
    padding-left: 2rem;
    margin-left: 2rem;
    font-family: "Caveat", cursive;
    font-size: 2rem;
    align-self: baseline;
    display: flex;
    justify-content: space-between;
  }
  .socila-icon {
    font-size: 3rem;
    color: #f2e9e4;
    transition: all 0.4s;
    margin-left: 5rem;
  }
}
/* end of contact section */
