@import url('https://fonts.googleapis.com/css2?family=Jersey+10&family=Rubik+Vinyl&family=Rubik:ital,wght@0,300..900;1,300..900&family=Sigmar&family=Silkscreen:wght@400;700&display=swap');

:root{
  scroll-behavior: smooth;
  --theem_bg_color: #231e15;
  --theem_bg_color0_5: #231e15d3;
  --section_bg_color: #332b1f;
  --hover_bg: #605037;
  --big_txt_color: #bfa173;
  --normal_txt_color: #dbd2d2;
  --title_txt_size: 20px;
}
@font-face {
  font-family: bigger_style;
  src: url("../assets/fonts/DMSans-VariableFont_opsz,wght.ttf");
}

*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  transition: all ease 3s;
}
img{
  width: 100px;
}

body{
  background-color: var(--theem_bg_color);
  color: var(--normal_txt_color);
  font-family: "Rubik", sans-serif;
}

/* HEADER SECTION */
header{
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  min-width: 100%;
  padding: 10px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header nav{
  border-radius: 20px;
  padding: 20px;
  background-color: var(--section_bg_color);
  position: fixed;
  top: -100%;
  right: 15px;
  transition: all ease 1s;
  z-index: 100;
}
header  nav.show{
  top: 15px;
  right: 30px;
}
header .logo{
  max-width: 30px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
header .bars{
  font-size: 20px;
}
header nav .close{
  display: block;
  text-align: right;
  margin-bottom: 10px;
  width: 100%;
}
header nav a{
  text-decoration: none;
  color: white;
  display: block;
  padding: 10px;
  border-radius: 10px;
  transition: all ease 1s;
}
.active{
  background-color: var(--hover_bg);
}
/* header nav a + a {
  margin-left: 5px;
} */







                    /* HOME SECTION */

.home_section{
  min-height: calc(100vh - 50px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.home_section .home_img{
  margin-top: 50px;
  width: 300px;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  transform: translateY(50px);
  opacity: 0;
}
.home_detels{
  margin-top: 30px;
  padding: 20px;
  transform: translateY(50px);
  opacity: 0;
}
.home_detels span{
  display: block;
  margin-block: 10px;
}
.home_detels .home_txt{
  font-size: 45px;
  font-weight: 700;
  font-family: bigger_style;
  color: var(--big_txt_color);
}
.home_detels nav{
  margin-block: 10px;
}
.home_detels nav a{
  text-decoration: none;
}
.home_detels nav a + a{
  margin-left: 10px;
}
.home_detels nav a img{
  width: 20px;
}

                      /* ABOUT SECTION START */
.about_section{
  margin-block: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.section_title{
  color: var(--big_txt_color);
  font-size: var(--title_txt_size);
  display: inline-block;
  margin-block: 20px;
  text-align: center;
}
.about_section .abouts{
  display: grid;
  gap: 20px;
}
.abouts .about span{
  font-size: 18px;
}
.abouts .about{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  padding: 10px;
  padding-bottom: 30px;
  background-color: var(--section_bg_color);
  border-radius: 13px;
  box-shadow: 2px 2px 10px var(--section_bg_color);
}
                      /* ABOUT SECTION END */
                      /* MEMBERS SECTION START */
.members_section{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-block: 30px;
}
.members_section .members{
  width: 300px;
  height: 400px;
  overflow: hidden;
  border-radius: 13px;
}
.members_section .members .imageBox{
  --imageWidth: calc(-100% + -5px);
  height: 100%;
  min-width: 100%;
  display: flex;
  gap: 5px;
  animation: scrollImage 21s infinite;
}
.members_section .members img{
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


@keyframes scrollImage {
  0%{
    transform: translateX(0);
  }
  16%{
    transform: translateX(var(--imageWidth));
  }
  32%{
    transform: translateX( calc(var(--imageWidth) + var(--imageWidth)  ) );
  }
  48%{
    transform: translateX( calc(var(--imageWidth) + var(--imageWidth) + var(--imageWidth) ) );
  }
  64%{
    transform: translateX(calc( var(--imageWidth) + var(--imageWidth) + var(--imageWidth) + var(--imageWidth)  ));
  }
  80%{
    transform: translateX(calc( var(--imageWidth) + var(--imageWidth) + var(--imageWidth) + var(--imageWidth) + var(--imageWidth) ));
  }
  100%{
    transform: translateX(0px);
  }
}


                      /* MEMBERS SECTION END */
                      /* CONTACTS SECTION START */
.contact_section{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.contacts_box{
  width: 100%;
  padding: 20px;
}
.contacts_box form{
  background-color: var(--section_bg_color);
  border-radius: 13px;
  padding: 13px;
  padding-inline: 20px;
  min-width: 100%;
}
@scope(.contacts_box form){
  input,button,textarea{
    display: block;
    margin-block: 10px;
  }
  input{
    width: 100%;
    padding: 5px;
    padding-block: 10px;
    border: none;
    outline: 0;
    border-radius: 5px;
    background-color: var(--theem_bg_color);
    color: var(--normal_txt_color);
  }
  button{
    padding: 10px;
    border-radius: 7px;
    border: none;
    background-color: red;
    color: white;
  }
}
.social_contact_box{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-block: 20px;
}
.social_contact_box .social{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  text-align: center;
  gap: 10px;
  background-color: var(--section_bg_color);
  border-radius: 13px;
}
@scope(.social_contact_box .social){
  img{
    width: 70px;
  }
  span{
    color: var(--big_txt_color);
  }
  a{
    padding: 5px 10px;
    background-color: red;
    text-decoration: none;
    color: var(--normal_txt_color);
    border-radius: 5px;
  }
}
                      /* CONTACT SECTION END */
                      /* FOOTER SECTION START */
footer{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
  column-gap: 40px;
  padding: 20px;
  justify-content: center;
}
@scope(footer ul){
  .li_title{
    color: var(--big_txt_color);
    margin-bottom: 10px;
    font-size: 18px;
  }
  li{
    list-style: none;
  }
}
                      /* FOOTER SECTION END */


@media(orientation : portrait){
  .section , .home_section{
    min-height: 500px;
  }
  
}
@media(orientation : landscape){
  .section , .home_section{
    min-height: 100vh;
  }
  
}
@media (min-width:550px){
  body{
    padding-inline: 100px;
  }
  header{
    padding-inline: 150px;
  }
  header .bars{
    display: none;
  }
  header nav{
    position: static;
    background-color: transparent;
  }
  header nav a{
    display: inline-block;
  }
  header nav .close{
    display: none;
  }
  
  .home_section{
    background-image: url('../assets/images/cover.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
  }
  .home_section .overly{
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #16141176;
  }
  .home_section .home_img{
    display: none;
  }
  .home_detels{
    position: absolute;
    bottom: 30px;
    left: 30px;
  }
  
  .about_section .abouts{
    grid-template-columns: repeat(2,400px);
    gap: 30px;
  }
  
  .members_section .members{
    width: 600px;
    height: 700px;
  }
  
  .contacts_box form{
    max-height: 200px;
    margin-top: 20px;
  }
  .contacts_box{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
  }
  
  
  footer{
    grid-template-columns: repeat(3,1fr);
  }
}