/* ===========General Styling======= */
/* ================================== */
html{
  scroll-behavior: smooth;
}

*{
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  outline: none;
}

body{
  width: 100vw;
  }

  :root{
    --BGcolor:black;
    --BGcolor2:rgb(41, 0, 41);
    --LIGHT-dark:#737373;
  }



/* ========*MENU-HEADER DESIGN*================= */
/* ============================== */

.container_header{
  width: 100%;
}

.header-col{
  width: 100%;
  height: fit-content;
  display: flex;
} 
.header-row{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
} 


.menu-header{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: black;
  background-image: linear-gradient(to right, black, white, black);
}

.menu-header h1{
  margin: 30px;
}

.menu-btn{
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: transparent;
  background-color: transparent;
  position: relative;
  right: 50px;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after{
  width: 40px;
  height: 5px;
  border-radius: 5px;
  background-color: whitesmoke;
  position: absolute;
  transition: all 0.5s;
}

.menu-icon::before,
.menu-icon::after{
  content: "";
}

.menu-icon::before{
  transform: translate(-20px, -12px);
}
.menu-icon::after{
  transform: translate(-20px, 12px);
}



/*======NAV-HEADER DESIGN====*/
/* =========================== */

.menuList-header{
  display: none;
  transform-origin: top center;
  animation: transPractice 0.5s ease-in-out forwards;
}

.menuList-header li{
  border-top: 2px solid whitesmoke;
  margin-inline: auto;
  padding: 20px;
  background-color: black;
 
}

.menuList-header li:last-child{
  border-bottom: 2px solid white;
}

.menuList-header li a{
  display: block;
  text-align: center;
  width: 60%;
  margin: auto;
}

.menuList-header li a:any-link{
  color: white;
  text-decoration: none;
  font-weight: 900;
  font-size: min(2rem, 3vw);

}

.menuList-header li a:hover,
.menuList-header li a:focus-within{
 transition: all 0.5s;
 transform: scale(1.4);
 color: red;
 border-radius: 10px;
 padding: 10px;
 font-weight: bolder;
}


/*TRANSITION DESIGN*/
/* ================== */

@keyframes transPractice{
  0%{
    transform: scaleY(1);
  }
  80%{
    transform: scaleY(1.4);
  }
  100%{
    transform: scaleY(1);
  }
}

:is(.bg-header:hover, .bg-header:focus-within) .menu-icon{
background-color: transparent;
transform: rotate(720deg);
}

:is(.bg-header:hover, .bg-header:focus-within) .menu-icon::before{
transform: translateX(-20px) rotate(45deg);
}

:is(.bg-header:hover, .bg-header:focus-within) .menu-icon::after{
transform: translateX(-20px) rotate(-45deg);
}

:is(.bg-header:hover, .bg-header:focus-within) ul{
display: block;
}


/* SECTION DESIGN*/
/* ==================== */

#video{
  width: 100%;
  height: 100vh;
}
.section{
  position: relative;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}


div h2{
  position: absolute;
  top: 0px;
  bottom: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: clamp(4rem, 20vw, 15rem);
  font-weight: 900;
  font-family: Verdana;
  text-transform: capitalize;
  text-align: center;
  color: white;
  background: black;
  mix-blend-mode: multiply;
  -webkit-text-stroke: blue 3px;
}

.mySpan{
  font-size: 1rem;
  color: red;
  -webkit-text-stroke: red 0px;
}

div span{
  font-size: min(2rem, 4vw);
  -webkit-text-stroke: red 0px;
}

.explore{
  font-size: clamp(2rem, 6vw, 4rem);
}

.explore a:any-link{
  text-decoration: none;
  cursor: pointer;
  color: white;
  padding: 5px 25px;
  border: 3px solid red;
  border-radius: 50px;
}
.explore a:hover{
  background: transparent;
  color: red;
}

 h2 .mySpan{
  margin-bottom: 50px;
}

.BgVideo{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit:cover ;
}



/*======DRIS LOGO=======*/
/* ================== */

#article{
  width: 100%;
  height: fit-content;
  background-image: linear-gradient(to right, black, white, black);
  box-shadow: inset 0 5px 3rem black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.dris_container{
  display: grid;
  place-items: center;
  width: 80%;
}
.dris_cols{
 display: flex;
 justify-content: center;
 align-items: center;
}

.dris_rows{
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}

.dris_rows figure{
  width: 70%;
  height: fit-content;
  margin-bottom: 2rem;
}

.dris_rows figure img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}


.dris_details{
  display: flex;
  gap: 2.5rem;
}

.dris_details h3{
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}



.footer-btn{
  margin-top: 2rem;
  width: 120px;
  height: 60px;
}

.footer-btn: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(1.2rem, 3vw, 1.5rem);
  color: var(--BGcolor);
  font-weight: 900;
}

.footer-btn:hover .btn{
  animation: changeColor 1s linear infinite ;
}

@keyframes changeColor {
  50%{
    color: red;
  }

   100%{
    font-size: .8rem ;
  }
}

 .btn svg,  svg rect{
  width: 100%;
  height: 100%;
  fill: transparent;
  position: absolute;
  left: 0;
  top: 0;
 }

 svg rect{
  stroke: #737373;
  stroke-width: 10;
 }
 svg rect:nth-child(2){
  stroke: red;
  stroke-dashoffset:440 ;
  stroke-dasharray:440 ;
 }


/*======FOOTER=======*/
/* ================== */

 footer{
  background: var(--BGcolor);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: aliceblue;
 }

 .container_footer{
  width: 80%;
  height:auto ;
  display: flex;
  justify-content: center;
  align-items: center;
 }

 .footer_cols{
  width:100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
 }

 .footer_rows{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content:center;
  align-items: center;
  gap: 12rem;
 }

 .address_footer{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12rem;
 }

/* Footer Address1 */
.address1{
  display: flex;
  flex-direction: column;
  font-size: 1rem;
}

.address1 a{
  display: inline-flex;
  justify-content: flex-start;
  align-items: flex-end;
  color: white;
  font-size: 2rem;
  white-space: nowrap;
}
.address1 a img{
 display: block;
 width: 50px;
}

 i{
 color: red;
 font-weight: 900;
}

.footer_1-logo{
  color: red;
  font-size: 1rem;
  position: relative;
  margin-bottom: 5px;
  white-space: nowrap;
}
.footer_1-logo small{
  color: white;
  font-size: 1rem;
}

.footer_1-logo::before{
  content: "";
  position: absolute;
  width: 105%;
  height: 1px;
  left: -5px;
  bottom: 0px;
  background-color: red;
}
.address1 p{
  text-align: left;
  margin-top: 10px;
}

/* Footer Address2 */

.address2{
  display: flex;
  flex-direction:column;
}

.address2 h4{
  color: red;
  font-size: 2rem;
  margin-bottom: 10px;
  position: relative;
}

.address2 h4::before{
  content: "";
  position: absolute;
  width: 105%;
  height: 1px;
  left: -5px;
  bottom: 0px;
  background-color: red;
}

.address2_info{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.address2_info a{
  color: white;
  font-size: clamp(.8rem, 2vw, 1rem);
  position: relative;
  transition: color .5s linear;
}

.address2_info a:hover{
  color: red;
}

.address2_info a::before{
  position: absolute;
  content: "";
  width: 110%;
  height: 1px;
  left: -2px;
  bottom: -3px;
  background-color: white;
  transition: width .5s linear;
}

.address2_info a:hover::before{
  width: 0;
}


/* Footer Address2 */

.address3{
  display: flex;
  flex-direction: column;
}

.address3 h4{
  color: red;
  font-size: 2rem;
  margin-bottom: 10px;
  white-space: nowrap;
  position: relative;
}

.address3 h4::before{
  content: "";
  position: absolute;
  width: 105%;
  height: 1px;
  background-color: red;
  left: -2px;
  bottom: 0px;
}

.footer_3-info{
  display: flex;
  flex-direction: column;
  gap: .4rem;
}


.footer_3 h4::before{
  position: absolute;
  content: "";
  width: 110%;
  height: 2px;
  left: -4px;
  bottom: 5px;
  background-color: var(--color-danger);
}

.footer_3-info{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.footer_3-info a{
  display: inline-flex;
  align-items: center;
  column-gap: .3rem;
  font-size: clamp(.8rem, 2vw, 1rem);
  color: white;
}

.footer_3-info a:nth-child(1) img{
  width: 25px;
  display: inline-block;
  border-radius: 50%;
  border: 2px solid white;
  transition: transform .5s;
}


.footer_3-info a:nth-child(2) img{
  width: 25px;
  display: inline-block;
  border-radius: 50%;
  border: 2px solid var(--color-secondary);
  margin: 10px 0;
  transition: transform .5s;
}

.footer_3-info a:nth-child(3) img{
  width: 25px;
  display: inline-block;
  border-radius: 50%;
  border: 2px solid white;
}

.footer_3-info a:hover img{
 animation: social-items .5s infinite;
}


@keyframes social-items {
  0%{
      transform: scale(0);
  }
  50%{
      transform: scale(1);
      border-color: var(--color-danger);
  }
  100%{
      transform: scale(0);
  }
}

.footer_social{
  display: flex;
  gap: 1rem;
  margin-top: 10px;
}



.footer_copyright{
  height: 50px;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color:var(--color-bg2);
}
.footer_copyright span{
  color: var(--color-danger);
}

.footer_copyright .color{
  color: royalblue;
  position: relative;
}

.footer_copyright .color::before{
  content: "";
  position: absolute;
  width: 110%;
  left: -5px;
  height: .5px;
  background-color: var(--color-danger);
  bottom: -1px;
}

.top-shadow{
  height: 10px;
  width: 100vw;
  background-color: var(--color-black);
}

/* Footer bottom */
.footer__bottom{
  background-image: linear-gradient(to right, black, white, black);
  padding: 10px;
}

.footer__bottom span{
  color: white;
  font-size: clamp(.8rem, 2vw, 1rem);
}
.footer__bottom span small{
  padding: 3px 5px;
  
}

.color{
  color: rgb(0, 183, 255);
}



/* ======== MEDIA QUERRY========== */
/* =================================== */
/* ========================================= */

@media screen and (max-width:980px) {
  .footer_rows{
    display: flex;
   flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
   }

   .footer_rows{
    gap: 5rem;
   }
}

/* ==== BREAK 1 ======= */
@media screen and (max-width:720px) {
  #video{
    height: 60vh;
  }

  .dris_rows p{
    padding: 5px 10px;
  }

  

  .dris_details{
    flex-flow: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
  }

  .address_footer{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
   }

   .address1{
    justify-content: center;
    align-items: center;
   }

   .address1 p{
    text-align: center;
   }

   .address2, .address3{
    justify-content: space-between;
   }

   .address2 h4, .address3 h4{
    font-size: 1.5rem;
   }
}



/* ==== BREAK 2 ======= */
@media screen and (max-width:520px) {
  .address_footer{
    gap: 7rem;
   }
}


/* ==== BREAK 3 ======= */
@media screen and (max-width:450px) {

  
  .address2 h4, .address3 h4{
    font-size: 1rem;
  }

  .footer_2info a, .footer_3-info a{
    font-size: .7rem;
  }

  .footer_3-info {
    gap: .2rem;
  }

}


