*{
  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);
}


/* ///////////////////////////////////////////////////// */
/*============= 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%;
  }
}





/* ///////////////////////////////////////////////////// */
/*============= SECTION 1 =================*/

.profile{
  height: fit-content;
  position: relative;
  top: 5rem;
  border-top: 10px solid black;
  display: flex;
  justify-content: center;
  align-items: center;
}


.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;
}


/* ///////////////////////////////////////////////////// */
/*============= SECTION 2 =================*/

.award{
  display: flex;
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
  margin-top: 120px;
}

.container_award{
  width: 80%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(to right, black, white, black);
  padding: 100px;
}

.col_award{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.row_award{
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 2rem;
}


.achievement__card{
  background-color: gray;
  padding: 50px;
  border: 3px solid var(--color-black);
}

.achievement__card div{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.achievement__card div h3, .achievement__card div p{
  font-size: clamp(1.2rem, 3vw, 2rem);
}

.achievement__card .achievement__icon{
  font-size: 4rem;
  color: var(--color-danger);
}


/* ======= MEDIA QUERIES ======= */
/* =============================== */

@media screen and (max-width: 755px){

  .row_award{
    justify-content: center;
    align-items: center;
  }

  .achievement__card{
    padding: 70px;
  }


/* ====== NAVBAR STYLE ============= */
/* =================================== */
nav button{
  display: inline-block;
  background-color:transparent;
  color: var(--color-black);
  font-size: 2rem;
  cursor: pointer;
}

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 screen and (max-width: 420px){
  nav button{
    font-size: 1.5rem;
  }
}
