html {
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  box-sizing: inherit;
  scroll-behavior: smooth;
}

/* general items */

body {
  margin: 0 auto;
  max-width: 1440px;
  overflow-x: hidden;    
}

ul {
  padding-left: 0;
}

li {
  list-style: none;
}

* {
  box-sizing: border-box;
}

img {
  width: 100%;
  height: auto;
}



.section {
  padding: 2rem 1rem;
}

.container-big {
  max-width: 1401px;
}

.c,
.c * {
  border: 1px solid black;
}

.d {
  background-color: red;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
ul {
  margin: 0;
}

.sticky {
  position: sticky;
  top: 0;
}

a {
  display: inline-block;
  text-decoration: none;
}

/* animations */

@keyframes text-ltr {
  1% {
    transform: translate(-100px);
    opacity: 0;
  }

  50% {
    transform: translate(30px);
    opacity: 0.7;
  }

  100% {
    transform: translate(0);
    opacity: 1;
  }
}

@keyframes text-rtl {
  0% {
    transform: translate(200px);
    opacity: 0;
  }

  50% {
    transform: translate(-30px);
    opacity: 0.7;
  }

  100% {
    transform: translate(0);
    opacity: 1;
  }
}

@keyframes text-btu {
  0% {
    transform: translateY(-300px);
    opacity: 0;
  }

  50% {
    transform: translateY(30px);
    opacity: 0.7;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes img-rotate-hover {
  0% {
    transform: rotate(45deg);
  }

  25% {
    transform: rotate(90deg);
  }

  50% {
    transform: rotate(180deg);
  }

  75% {
    transform: rotate(225deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* =============================================== */
/* header */
/* -------------------------------------------------- */
.header {
  padding: 1rem 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
  min-width: 307px;
  /* position: sticky; */
  top: 0;
  background-color: #ffffff;
}



.my-logo {
  color: #6070ff;
  font-size: 1.5rem;
  animation: text-btu 1.5s ease-in-out;
    
}

.hero-title-cont {
  display: flex;
  /* justify-content: space-between; */
  gap: 1vw;
  align-items: center;
  flex-direction: column;
}

.hero-react-icon {
  animation: rotate 52200ms infinite linear;
  font-size: 80px;
}

@media screen and (min-width: 768px) {
  .hero-react-icon {
    font-size: 120px;
  }
}

@media screen and (min-width: 400px) {
  .hero-react-icon {
    font-size: 80px;
  }
  .hero-title-cont {
    display: flex;
    flex-direction: row;
    gap: 2vw;
  }
}




@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.scale {
  animation: scale 10200ms infinite linear;
}

@keyframes scale {
  0% {
    transform: scale(.98);
  }
  25% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  75% {
    transform: scale(1);
  }
  100% {
    transform: scale(.9);
  }
}

.my-logo img {
  width: 5.5rem;  
  aspect-ratio: 1/1;
  border-radius: 50%;
  animation: move linear 22200ms infinite;
}

.header-menu-hamburguer {
  display: flex;
  width: 1.6rem;
  height: 1.2rem;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  z-index: 100;
  position: relative;
}

.header-menu-hamburguer img {
  transition: 0.1s transform ease;
}

.fa-xmark {
  font-size: 1.8rem;
  position: absolute;
  transform: scale(0);
  position: fixed;
  transition: all 0.2s ease;
  color: white;
}

.hide {
  transform: scale(0);
}

.nav-desktop {
  opacity: 0;
  display: flex;
  gap: 2rem;
  font-size: 15px;
  font-weight: 500;
  width: 0;
  justify-content: end;
}

.menu-mobil {
  position: fixed;
  background-color: rgba(96, 112, 255, 0.8);
  font-size: 1.8rem;
  font-weight: 600;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding-top: 7rem;
  align-items: start;
  z-index: 90;
  transform: scale(0);
  padding-left: 1.2rem;
  transition: 0.09s all ease;
}

.show {
  transform: scale(1);
}

.menu-mobil a {
  padding: 0.5rem;
  cursor: pointer;
  color: white;
  text-decoration: none;
}

.hero-content a {
  text-decoration: none;
}

.hero-content > a {
  color: rgba(127, 140, 255, 1);
  font-size: 16px;
  font-weight: 500;
}

.menu-mobil a:hover {
  opacity: 0.75;
  transform: scale(1.1);
}

.blur {
  filter: blur(3.5px);
}

.is-active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

@media screen and (min-width: 768px) {
  .nav-desktop {
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    cursor: pointer;
  }

  .header-menu-hamburguer {
    opacity: 0;
    display: none;
  }
}

/* hero image */

.hero {
  background-image: url("./assets/header-shapes\ mobile@2x.svg");
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 100px;
  min-width: 327px;
}




.hero .container-big {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: inherit;
}

.hero-content {
  margin-top: 100px;
  margin-bottom: 100px;
  padding: 0 1.5rem 1px 1.5rem;
  flex-direction: column;
  justify-content: center;
}

.separete-items-down,
.separete-items-down > * {
  margin-bottom: 12px;
}

.hero-title {
  font-size: 3rem;
  color: #172b4d;
  width: 11ch;
   animation: text-btu 1.5s ease-in-out; 
   
   

  
  

}



@keyframes move {
  0% {
    box-shadow:      
    4px -4px 0 #da0641,
    3px -3px 0 #da0641,
    2px -2px 0 #da0641,
    1px -1px 0 #da0641,
    -4px 4px 0 #13f1fc,
    -3px 3px 0 #13f1fc,
    -2px 2px 0 #13f1fc,
    -1px 1px 0 #13f1fc
    ;
  }
  25% {
    box-shadow:
    -4px -4px 0 #13f1fc,
    -3px -3px 0 #13f1fc,
    -2px -2px 0 #13f1fc,
    -1px -1px 0 #13f1fc,
    4px 4px 0 #da0641,
    3px 3px 0 #da0641,
    2px 2px 0 #da0641,
    1px 1px 0 #da0641
    ;
  }
  50% {
    box-shadow:
    -4px 4px 0 #da0641,
    -3px 3px 0 #da0641,
    -2px 2px 0 #da0641,
    -1px 1px 0 #da0641,
    4px -4px 0 #13f1fc,
    3px -3px 0 #13f1fc,
    2px -2px 0 #13f1fc,
    1px -1px 0 #13f1fc
    ;
  }
  75% {
    box-shadow:
      
      2px 2px 0 #13f1fc,
      1px 1px 0 #13f1fc,
      
      -2px -2px 0 #da0641,
      -1px -1px 0 #da0641
    ;
  }
  100% {
    box-shadow:
      
      2px -2px 0 #da0641,
      1px -1px 0 #da0641,
      
      -2px 2px 0 #13f1fc,
      -1px 1px 0 #13f1fc
    ;
  }
}


.hero-text {
  font-weight: 400;
  color: #344563;
}

.social-media {
  width: 190px;
  max-width: 80%;
  animation: text-rtl 1.5s ease-in-out;
}

.social-media-links {
  display: flex;
  gap: 1vw;
}

.social-media-links i {
  font-size: 30px;
}



@media screen and (min-width: 768px) {
  .hero-title {
    width: 15ch;
  }

  .hero-text {
    max-width: 920px;
  }

  .hero {
    height: calc(90vh);
  }
}

/* ************** works ************************ */

.works {
  background-color: #f7f7f9;
  padding: 3rem 1rem;
}

.work {
  padding: 1rem 1rem 2rem 1rem;
  margin: 0 auto;
  background-color: white;
  border-radius: 16px;
  width: 327px;
  margin-bottom: 80px;
}

.work-title {
  font-size: 40px;
  color: #172b4d;
}

.work-main-img {
  border-radius: 16px;
}

.work-list {
  display: flex;
  gap: 12px;
  padding: 0;
  margin-top: 12px;
  justify-content: flex-start;
  list-style-position: inside;
  font-size: 13px;
}

.work-list > h4 {
  color: rgba(52, 69, 99, 1);
}

.work-list-item {
  color: #7a869a;
  display: flex;
  gap: 12px;
  font-weight: 600;
}

.wlim {
  color: #7a869a;
  font-size: 16px;
  font-weight: 600;
  margin: 0 !important;
  padding: 0 !important;
}

.work-list-item img {
  width: 8px;
}

.work-description {
  padding: 0.3rem 0;
  color: #344563;
  font-size: 1rem;
}

.work-tech {
  padding: 0.5rem 0;
}

.work-tech li {
  display: inline-block;
  font-size: 12px;
  background-color: #ebebff;
  border-radius: 6px;
  padding: 4px 12px;
  margin-right: 8px;
  color: rgba(96, 112, 255, 1);
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .work {
    display: flex;
    width: 100%;
  }

  .work-info {
    padding: 2vw;
  }

  .work-main-img {
    max-height: 455px;
    max-width: 50%;
  }

  .work:nth-child(even) {
    flex-direction: row-reverse;
  }
}

/* buttons */

.btn {
  background-color: white;
  border: 1px solid #7f8cff;
  border-radius: 8px;
  padding: 12px;
  margin-top: 1.6rem;
  color: #6070ff;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
}

.btn:hover {
  background-color: #6070ff;
  color: white;
  box-shadow: 1px 8px 16px rgba(64, 83, 252, 0.24);
}

.btn:active {
  background: #2230d2;
}

.btn:disabled {
  color: #5e6d84;
  border: 1px solid #c1c7d0;
}

/* ----------------------- modal section */

.modal-content {
  max-width: 45rem;
}

@media screen and (min-width: 768px) {
  .work-modal .work-main-img {
    max-height: 600px;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .modal-content {
    max-width: 100%;
    width: 100%;
  }

  .modal-dialog {
    max-width: 800px;
  }

  .work-modal .work-main-img {
    max-height: 600px;
    max-width: 100%;
  }
}
/* ============================================ */
/* *******============================= SECTION ABOUT ******* */
/* ============================================ */
.hero-about {
  background-image: url("");
  /* background-color: red; */
  display: flex;
  justify-content: center; 
  height: auto;
  flex-wrap: wrap;
}


.hero-about .social-media img {
  padding-left: 12px;
}

.hero-about .hero-content {
  margin-bottom: 1px;
  padding-bottom: 37px;
}

.hero-about .languajes {
 display: flex;
 flex-direction: column;
 justify-content: space-around;
}

.hero-about .languajes .languajes-cont {
  /* min-width: 300px;
  width: 80vw; */
  
}

.languajes {
  width: 80vw;
}

.work-button-about button {
  margin-top: 0.5rem;
}


@media screen and (min-width: 879px) {
  .hero-about {
    height: auto;
    display: flex;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 1px;
    gap: 5vw;
  }

  .hero-content {
    margin-top: 0;
  }

  .cba {
    max-width: 40%;
    flex: 0 0 10%;
  }

  .languajes {
    max-width: 582px;
    flex: 1 1 70%;
  }

  .languajes-cont {
    display: grid;
    display: flex;
    grid-template-columns: repeat( auto-fit,minmax( min(350px, 100%) ,1fr) );
    justify-content: center;
    /* flex-direction: row; */
    /* background-color: red; */
    gap: 2rem;
    
  }

  .languaje-item {
    /* width: 122px;
    height: 122px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: start; */
    
    gap: 0;
    padding: 12px;
    /* width: 33%; */
    text-align: center;
  }

  .languaje-item img {
    width: 50%;
    width: 100px;
    transform: scale(.8);
  }

  .languaje-item p {
    text-align: center;
  }
}



@media screen and (min-width: 692px) {
  .hero-about {
    flex-wrap: nowrap;    
  }
  .languajes-cont {
    /* max-width: 500px; */
  }
}

/* =============================================== */
/* ============================= SECTION LANGUAJES */
/* =============================================== */

.languajes {
  padding: 0 30px;
  color: black;
}

.hero-about .hero-title {
  font-size: 40px;
}

.languajes-title-cont img {
  width: 44px;
}

/* .framework-item img {
  width: 24px;
  height: 24px;
  display: flex;
} */


.languajes > h2 {
  margin-bottom: 50px;
}

.languajes-cont {
  /* display: flex; */
  /* flex-direction: column; */
  /* justify-content: space-around; */
  align-items: center;  
  padding: 0;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat( auto-fit,minmax( min(150px, 100%) ,1fr) );
  gap: 12px;
  
}

.languajes-cont > li {
  margin: 0;
}

.languajes-title-cont {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-right: 12px;
}

.languaje-item {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  background-color: #f7f7f9;  
  height: 100%;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  color: #253858;
  /* gap: 25px; */
  /* margin-bottom: 16px;
  border-radius: 12px; */
  flex-wrap: wrap;
}

.languaje-item p {
  flex-grow: 1;
  text-align: center;
}

.languaje-item img {
  flex-grow: 1;  
  transform: scale(.6);
} 




/* section framework */

.framework-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 12px;
  border-bottom: 2px solid #ffcd2c;
  font-weight: 400;
}

/* section contac */

.contact {
  background-color: rgba(96, 112, 255, 1);
  background-image: url("assets/contact\ form\ shapes-mobile.svg");
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: top right;
  border-radius: 120px 0 0 0;
  margin-top: 100px;
}

.hero-text-white {
  color: white;
  padding: 0;
  line-height: 32px;
  text-align: center;
  font-size: 20px;
  font-weight: 400px;
}

.contact-me {
  color: white;
  padding-top: 100px;
  padding-left: 24px;
  padding-right: 24px;
}

.contact-me h2 {
  padding-right: 24px;
  padding-bottom: 18px;
  font-size: 56px;
  text-align: center;
}

/* contact form */

.contact-form {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form label {
  display: none;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
textarea {
  padding: 15px;
  border-radius: 12px;
  resize: none;
  border: none;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #000;
  outline: none;
}

textarea::placeholder {
  opacity: 0.7;
}

.contact-form .btn {
  margin-top: 1px;
  width: 142px;
  padding: 16px 12px;
  color: rgba(96, 112, 255, 1);
  margin-bottom: 32px;
}

.contact-form .btn:hover {
  color: white;
}

.black-line {
  margin: 0 auto;
  background-color: black;
  width: 134px;
  height: 5px;
  margin-bottom: 8px;
  border-radius: 15px;
}

@media screen and (min-width: 768px) {
  .contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .contact-me {
    max-width: 569px;
    text-align: center;
  }

  .contact-form input[type="submit"] {
    align-self: center;
  }
}
