*{
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

:root{
  /* COLOR VARIABLES */
  --color-primary:#6c63ff;
  --color-secondary:#00bf8e;
  --color-warning:#f7c94b;
  --color-danger:#f75842;
  --color-danger-variant:rgba(247, 88, 66, 0.4);
  --color-white:#fff;
  --color-light:rgba(255, 255, 255, 0.7);
  --color-black:#000;
  --color-bg:#1f2641;
  --color-bg1:#2e3267;
  --color-bg2:#424890;

  /* VIEW SIZE  VARIABLE*/
  --container-width-lg:76%;
  --container-width-md:90%;
  --container-width-sm:94%;

  /* TRANSITION VARIABLE*/
  --transition: all 400ms ease;
}

/* ///////////////////////////////////////////// */
/* General Styling */

body{
  font-family: sans-serif;
  line-height: 1.7;
  color: var(--color-white);
  background-color: gray;
}

.container{
  width: var(--container-width-lg);
  margin: 0 auto;
}

a{
  color: var(--color-white);
}


img{
  width: 100%;
  display: block;
  object-fit: cover;
}

/* .btn{
  display: inline-block;
  background-color: var(--color-danger);
  color: var(--color-white);
  padding: 1rem 2rem;
  border: 1px solid transparent;
  font-weight: 500;
  transition: var(--transition);
}

.btn:hover{
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-primary{
  background-color: var(--color-danger);
  color: var(--color-white);
} */


button{
  margin-top: 2rem;
  width: 120px;
  height: 60px;
}

button:hover svg rect:nth-child(2){
  animation: 2s linear infinite roundBox;
}

@keyframes roundBox {
  0%,100%{
    stroke-dashoffset: 440;
    /* stroke-width: 8; */
  }
  50%{
    stroke-dashoffset: 0;
    /* stroke-width: 8; */
  }
  50.1%{
    stroke-dashoffset: 880;
    /* stroke-width: 8; */
  }
}

.btn{
  width: 140px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-size: clamp(0.7rem, 2vw, 1rem);
  color: var(--color-white);
  background-color: transparent;
}

button:hover {
  animation: changeColor 1s linear infinite ;
}

@keyframes changeColor {
  50%{
    font-size: clamp(0.7rem, 2vw, 1rem);
  }

   100%{
    font-size: .5rem ;
  }
}

 .btn svg,  svg rect{
  width: 100%;
  height: 100%;
  fill: transparent;
  position: absolute;
  left: 0;
  top: 0;
 }

 svg rect{
  stroke: #d4d2d2;
  stroke-width: 10;
 }
 svg rect:nth-child(2){
  stroke: red;
  stroke-dashoffset:440 ;
  stroke-dasharray:440 ;
 }



/* ///////////////////////////////////////////////////// */
/*============= NAV STYLE =================*/
nav{
  width: 100vw;
  height: 5rem;
  position: fixed;
  top: 0;
  z-index: 10; 
}

.nav_container{
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav_container a{
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav_container img{
  width: 150px;
}

.window-scroll{ 
  background-image: linear-gradient(to right, black, white, black);
  box-shadow: 0.3rem  0.3rem 0 black;
}


nav button{
  display: none;
}

.nav_menu{
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav_menu a{
 font-size: 0.9rem;
 transition: var(--transition);
 position: relative;
 border: 1px solid var(--color-white);
 padding: 3px 20px;
 border-radius: 50px;
}

.nav_menu a::before{
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  background-color: var(--color-white);
  bottom: 3px;
  transition: var(--transition);
}

.nav_menu a:hover{
 color: var(--color-danger);
 border: none;
}

.nav_menu a:hover::before{
 animation: navItem-show .5s .5s infinite alternate-reverse;
}

@keyframes navItem-show {
  0%{
      width: 0%;
  }
  50%{
      width: 20%;
  }
  70%{
      width: 20%;
  }
  90%{
      width: 80%;
  }
  100%{
      width: 0%;
  }
}


/*=========== MAIN_MAIN ===========*/
/* ================================== */

main{
  position: relative;
  top: 5rem;
  border-top: 10px solid black;
  display: flex;
  justify-content: center;
  align-items: center;
}

.col_main{
  height: fit-content;
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  margin-top: 20px;
  background-image: linear-gradient(to right, black, white, black);
}

.row_main{
  height: 100%;
  width: 100%;
  display: flex;
}

section{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-items: center;
  gap: 2rem;
  width: 100%;
  padding: 50px 0; ;
}

.form_container{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.form_container form{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  padding: 50px;
}

.form_container form input, .form_container form textarea{
  background-color: transparent;
  border-bottom: 1px solid var(--color-white);
  width: 100%;
  padding-bottom: 10px;
  color: var(--color-white);
}

::placeholder{
  color: var(--color-white);
}


/* Aside Design!! */
aside{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-right: 50px;
  border-bottom-right-radius: 70px;
}

.aside_container{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  background-color: gray;
  padding: 50px;
  border-bottom-right-radius: 70px;
}

.aside__image{
  display: flex;
  flex-direction: column;
}

.aside__image figure{
  width: 200px;
  height: fit-content;
}

.aside__image h4{
  font-size: clamp(1.7rem, 3vw, 2.2rem); 
  position: relative;
  margin-top: 20px;
}
.aside__image span{
  font-size: clamp(1rem, 3vw, 1.3rem); 
  text-align: left;
}

.aside__image h4::before{
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--color-danger);
  left: -2px;
  bottom: 5px;
}


.contact__details{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: .3rem;
}

.contact__details li a{
  display: flex;
  justify-content: start;
  align-items: center;
}

.contact__details li i{
 font-size:1.2rem;
 font-weight: 900;
 animation: bounce 1s infinite linear;
}

@keyframes bounce{
  0%{
    transform: translateY(0px);
    transform: scale(0);
  }
  50%{
    transform: translateY(-10px);
    transform: scale(1.5);
  }
  100%{
    transform: translateY(0px);
    transform: scale(0);
  }
}

.contact__details li i:hover{
  animation: bounce 1s infinite linear;
}

.contact__details li a:hover{
  color: var
  }


.contact__socials{
  display: flex;
  gap: 1rem;
}

.contact__socials div{
  height: 15px;
  width: 20px;
  background-color: rgb(0, 153, 255);
}


/*=========== MAIN_MAIN ===========*/
/* ================================== */


.profile{
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin-inline: auto;
}


.col_profile{
  width: 80%;
  height: fit-content;
  display: flex;
}

.row_profile{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
 
}


.profile_image{
 width: 80%;
  height: auto;
  margin-top: 20px;
}

figure{
  width: 100%;
  height: 100%;
}

video{
  width: 100%;
  height: auto;
  object-fit: cover;
}

.profile_details{

  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  background-color: rgb(65, 64, 64);
  padding: 20px;
}

.profile_details p{
  font-size: clamp(1.2rem, 3vw, 2rem);
  text-align: justify;
  margin: 0 20px;

}

.profile_details p span{
  font-weight: 700;
  color: var(--color-danger); 
  margin-right: 20px;
}

.profile_details h4{
  font-size: clamp(1rem, 3vw, 2rem);
}

.md{
  background-color: #000;
  margin-top: 50px;
}

.profile_details embed{
  max-width: 60%;
  min-height: auto;
  padding: 20px;
}

/* ===== MEDIA QUERIES ========*/
/* =============================== */

@media screen and (max-width:900px) {
  body{
    background-image: linear-gradient(to right, black, white, black);
  }

  section{
    grid-template-columns: 1fr;
   
  }

  .form_container form{
    background-color: gray;
    width: 80%;
  }

  .form_container form input, .form_container form textarea{
    width: 80%;
  }

  aside{
    width: 80%;
    background-color: gray;
    margin: 0;
  }
  
}

@media screen and (max-width:755px){

  /* ====== NAVBAR STYLE ============= */
 /* =================================== */
 
 nav button{
   display: inline-block;
   background-color:transparent;
   color: var(--color-black);
   font-size: 2rem;
   cursor: pointer;
   margin-bottom: 50px;
   margin-left: 100px;
 }
 
 nav button#close-menu-btn{
   display: none;
 }
 
 .nav_menu{
   position: fixed;
   top: 5.2rem;
   right: 5%;
   height: fit-content;
   width: 15rem;
   flex-direction: column;
   gap: 0;
   display: none;
 }
 
 .nav_menu li{
   width: 100%;
   height: 5rem;
   animation: animateNavItems 400ms linear forwards;
   transform-origin: top right;
   opacity: 0;
 }
 
 
 @keyframes animateNavItems{
   0%{
     transform: rotateZ(-90deg) rotateX(90deg) scale(0.1);
   }
   100%{
     transform: rotateZ(0deg) rotateX(0deg) scale(1);
     opacity: 1;
   }
 }
 
 .nav_menu li:nth-child(2){
   animation-delay: 200ms;
 }
 .nav_menu li:nth-child(3){
   animation-delay: 400ms;
 }
 
 
 
 .nav_menu a{
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--color-white);
  padding: 3px 20px;
  border-radius: 50px;
 }
 
 .nav_menu a::before{
   content: "";
   position: absolute;
   width: 0;
   height: 1px;
   background-color: var(--color-white);
   bottom: 3px;
   transition: var(--transition);
 }
 
 .nav_menu a:hover{
  color: var(--color-danger);
  border: none;
 }
 
 .nav_menu a:hover::before{
  animation: navItem-show .5s .5s infinite alternate-reverse;
 }
 
 @keyframes navItem-show {
   0%{
       width: 0%;
   }
   50%{
       width: 20%;
   }
   70%{
       width: 20%;
   }
   90%{
       width: 80%;
   }
   100%{
       width: 0%;
   }
 }
 
 
 .bi{
   color: var(--color-white);
 }
 
 .nav_menu li a{
   width: 100%;
   height: 100%;
   display: grid;
   background-color: rgb(63, 62, 62);
   box-shadow: 0 0 2rem black;
   border-radius: 0;
 }
 
 .nav_menu li a:hover{
   background-color: rgb(100, 99, 99);
   color: var(--color-black);
   font-weight: 900;
 }
 
 .nav_menu a{
   border: none;
 }
 
 .nav_menu a::before{
   display: none;
 }
 
 }


 /* ====== MEDIA 420 =========== */
 /* ============================= */
 @media screen and (max-width: 420px){
  nav button{
    font-size: 1.5rem;
  }

  .form_container form input, .form_container form textarea{
  width: 140%;
  margin-left: -20px;
}

/* .aside__image h4::before{
  position: absolute;
  content: "";
  width: 0%;
  height: 1px;
  background-color: var(--color-danger);
  left: -2px;
  bottom: 5px;
} */

.aside__image figure{
  width: 150px;
  height: fit-content;
}

.contact__socials{
  display: flex;
  gap: .5rem;
}

}











