/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
    box-sizing: border-box;
  }
  
  /* 2. Remove default margin */
  * {
    margin: 0;
  }
  
  body {
    /* 3. Add accessible line-height */
    line-height: 1.5;
    /* 4. Improve text rendering */
    -webkit-font-smoothing: antialiased;
  }
  
  /* 5. Improve media defaults */
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
  }
  
  /* 6. Inherit fonts for form controls */
  input, button, textarea, select {
    font: inherit;
  }
  
  /* 7. Avoid text overflows */
  p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
  }
  
  /* 8. Improve line wrapping */
  p {
    text-wrap: pretty;
  }
  h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
  }
  
  /*
    9. Create a root stacking context
  */
  #root, #__next {
    isolation: isolate;
  }



/*Fonts*/
@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url("https://use.typekit.net/rmd1vlf.css");



body {
    background-color:#28282B;
    background-image: url(./imgs/bg3.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;


}

#container {

    display: flex;
    flex-direction: column;
    position: relative;
    height: 100vh;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

#main {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
}


#main p {
    font-family: "tajawal", sans-serif;
    font-weight: 100;
    font-style: normal;
    text-transform: uppercase;
        font-optical-sizing: auto;
        font-size:3vh;
        font-weight:100;
        font-style: normal;
        color: whitesmoke;
        text-align: left;
}

#main a {
    font-family: 'Oswald', sans-serif;
    font-weight:500;
    text-transform:uppercase;
    text-decoration:none;
    color:#cfcfcf;
    font-size:clamp(40px, 10% + 10px, 40px);
    letter-spacing:1px;
    position:relative;
    display:inline-block;
    text-align: center;
}

#main a:before{
    content:'';
    position: absolute;
    width: 100%;
    height: 3px;
    background:#16151b;
    top:47%;
    animation:out 0.2s cubic-bezier(1, 0, 0.58, 0.97) 1 both;
  }
  #main a:hover:before{
    animation:in 0.2s cubic-bezier(1, 0, 0.58, 0.97) 1 both;
  
  }


  nav{
    display:flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    text-align:right;

  }

  nav li {
    list-style: none;
  }

  nav a{
    font-family: 'Oswald', sans-serif;
    font-weight:500;
    text-transform:uppercase;
    text-decoration:none;
    color:#ffffff;
    margin:0 15px;
    font-size:clamp(40px, 10% + 10px, 40px);
    letter-spacing:1px;
    position:relative;
    display:inline-block;
  }

  nav a:before{
    content:'';
    position: absolute;
    width: 100%;
    height: 3px;
    background:#16151b;
    top:47%;
    animation:out 0.2s cubic-bezier(1, 0, 0.58, 0.97) 1 both;
  }
  nav a:hover:before{
    animation:in 0.2s cubic-bezier(1, 0, 0.58, 0.97) 1 both;
  
  }
  @keyframes in{
    0%{
      width: 0;
      left:0;
      right:auto;
    }
    100%{
      left:0;
      right:auto;
      width: 100%;
    }
  }
  @keyframes out{
    0%{
      width:100%;
      left: auto;
      right: 0;
    }
    100%{
      width: 0;
      left: auto;
      right: 0;
    }
  }
  @keyframes show{
    0%{
      opacity:0;
      transform:translateY(-10px);
    }
    100%{
      opacity:1;
      transform:translateY(0);
    }
  }
  
  @for $i from 1 through 5 {
    nav a:nth-child(#{$i}){
      animation:show .2s #{$i*0.1+1}s ease 1 both;
    }
  }


#nav-logo {
    display: block;
    position: relative ;
    margin-left: auto;
    margin-right: auto;
    width:100%;
    height: auto;
  }

  h2 {
    font-family: "acumin-variable",sans-serif;
    font-variation-settings: 'wght' 100, 'wdth' 100, 'slnt' 0;
    font-size: clamp(50px, 30% + 20px, 100px);
    color: white;
    text-align: center;
  }

footer {
    margin-top: auto;
    width: 100%;
    height: auto;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
   
}

footer li {font-family: 'Oswald', sans-serif;
font-weight:500;
text-transform:uppercase;
list-style:none;
color:#ffffff;
margin:0 15px;
font-size:clamp(10px, 2EM - 5px, 30px);
letter-spacing:1px;
display: inline-flex;
}



  .fade-in {
    animation: fadeIn ease 7s;
    -webkit-animation: fadeIn ease 7s;
    -moz-animation: fadeIn ease 7s;
    -o-animation: fadeIn ease 7s;
    -ms-animation: fadeIn ease 7s;
  }

  
  .fade-in2 {
    animation: fadeIn ease 5s;
    -webkit-animation: fadeIn ease 5s;
    -moz-animation: fadeIn ease 5s;
    -o-animation: fadeIn ease 5s;
    -ms-animation: fadeIn ease 5s;
  }
  .fade-in3 {
    animation: fadeIn ease 4s;
    -webkit-animation: fadeIn ease 4s;
    -moz-animation: fadeIn ease 4s;
    -o-animation: fadeIn ease 4s;
    -ms-animation: fadeIn ease 4s;
  } 

  .fade-in4 {
    animation: fadeIn ease 2.5s;
    -webkit-animation: fadeIn ease 2.5s;
    -moz-animation: fadeIn ease 2.5s;
    -o-animation: fadeIn ease 2.5s;
    -ms-animation: fadeIn ease 2.5s;
  }

  @keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }
  
  @-moz-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }
  
  @-webkit-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }
  
  @-o-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }
  
  @-ms-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }