/* Start Variables */

:root {
    --main-color: #ffc71a; 
    --secondry-color:#ffc12a;
    --third-color:#c79736;
    --fourth-color:black;
 }

 /* End Variables */

 /* Start Global Rules */
 * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-decoration: none; 
    list-style: none;   

}

body {
        font-family: system-ui;
}

.nav_margin {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 80vh;
}

/* End Global Rules */
.nav {
    width: 100%;
}

.logo  {
    color: white;
    padding-top: 0px ;
    margin-left: 5px ;
    display: inline-block;
    
}

.logo h1 span {
    color: var(--third-color);
}

.logo h1 {
    margin-left: 14px;
    margin-bottom: -19px;
    
}

.logo p {
    font-size: 14px;
    margin-left: 14px;
    word-spacing: 5px;
    font-weight: bold;
    
}

.nav ul {
    width: 63%;
    font-size: 17px;
    font-weight: bold;
    color: white;
    float: right;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    

}

.nav ul li {
    width: 16%;
    height: 33px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    float: right;
    letter-spacing: -1px;
    background-color: transparent;
    border-radius: 31%;
    transition: .5s;
}

.nav ul li:hover {
    
    background-color: var(--main-color);
    color: black;

}

.nav ul a {
    color: white;
    transition: .3;
}

@media (max-width: 1074px) {
    .nav ul a {
        font-size: 15px;
    }
    .container {
        padding-left: 5%;
        padding-right: 5%;
        margin-left: auto;
        margin-right: auto;
    }   
  }

@media (max-width: 948px) {
    .nav ul a {
        font-size: 13px;
    }
  
  }

@media (max-width: 822px) {
    .nav ul a {
        font-size: 11px;
    }
  }

@media (max-width: 699px) {
    .nav ul a {
        font-size: 9px;
    }
    .right_home p:nth-child(2) {
        font-size: 27px !important;
    }
  }

@media (max-width: 570px) {
    .nav ul a {
        font-size: 7px;
    }
  }

@media (max-width: 439px) {
    .logo {
        display: grid;
        place-items: center;
        }
    .nav ul {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0;
    }
    .book p:nth-child(1) {
        color: var(--secondry-color);
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        text-transform: uppercase;
        letter-spacing: -0.5px;
        word-spacing: 2px;
        margin-bottom: 2px;
        margin-top: 26px;
        font-family: system-ui;
        float: left;
        margin: 0 20%;
    }
    
    .book p:nth-child(2) {
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 40px;
        font-weight: bold;
        margin-top: 0;
        font-family: system-ui;
        margin-bottom: -3px;
        float: left;
    }
    
    .book p:nth-child(3) {
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: system-ui;
        text-transform: uppercase;
        color: white;
        letter-spacing: 9px;
        font-weight: bold;
        font-size: 12px;
        margin-left: 22px;
        float: left;
    }
    
   
  }

  @media (max-width: 321px) {
    .book p:nth-child(1) {
      margin-top: -12px;
    }
    .book p:nth-child(2) {
        font-size: 38px;
}
    .book p:nth-child(3) {
        margin-left: -5px;
        }
  }

.nav ul a:hover {
    color: black;
}

.background_image {
    height: 63vh;
    background-image: url(/photos/background.jpg);
    background-size: cover;

}

.book p:nth-child(1) {
    color: var(--secondry-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    word-spacing: 2px;
    margin-bottom: 2px ; 
    margin-top: 26px ;
    font-family: system-ui;

    
    
    
}

.book p:nth-child(2) {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    font-weight: bold;
    margin-top: 0;
    font-family: system-ui;
    margin-bottom: -3px;
    
    
}

.book p:nth-child(3) {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: system-ui;
    text-transform: uppercase;
    color: white;
    letter-spacing: 9px;
    font-weight: bold;
    font-size: 12px;
    margin-left: 22px;
    
    
    
}

.car {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 7%;
    
    
}
@media (min-width:1520px) {
    .car {
        margin-left:50px
    }
}

.home {
    height: 63vh;
    background-color: var(--main-color);
}

@media (max-width: 886px) {
    .left_home p.book {
            margin-top: 0px;
    }
    .car img {
        border-style: none;
    width: 99%;
    margin: 5px 5px;

    }
}
@media (max-width: 415px) {
    .book p:nth-child(2) {
        margin-left: 15px;       
    }
    .car img {
        border-style: none;
        width: 390px;
        margin: 131px 0;
        margin-right: 344px;
    }
    .right_home .best {
        margin-top: 21px !important;
    }
    .left_home {
        margin-top: -78px!important;
        margin-left: 0px!important;
    }
    .right_home p.small {   
        visibility: hidden;
        }
    .right_home p:nth-child(2) {
        visibility: hidden;
    }
    .left_home p.book {
        font-size: 20px;
    }
.home_grid .right_home button {
    margin-top: -181px !important;
    
    }
    .left_home .book {
        margin-top: 24px ;
        
    }
    .left_home {
        margin-top: -180px;
        
    }
    .informations {
        height: 300px !important;
    }
}
@media (max-width: 375px) {
    .car img {
        width: 339px !important;
    }
    .left_home {
        width: 376px !important;
    }
    .right_home p:nth-child(2) {
        
            font-size: 15px !important;
        }
        
        
    .left_home p.book {
            font-size: 20px;
        }
    .home_grid .right_home button {
        margin-top: -155px !important;
        
        }
        .left_home .book {
            margin-top: 24px ;
            
        }
        .left_home {
            margin-top: -180px;
            margin-left: -2px !important;
            
            
        }
        .right_home p.small {   
        visibility: hidden;
        }
    .right_home p:nth-child(2) {
        visibility: hidden;
    }
    .right_home .best {
        margin-top: 28px !important;
    }


}

@media (min-width:410px) {
    .left_home {
        margin-left: 18px;
    }
    
}

.container {
    padding-left: 10%;
    padding-right: 10%;
    margin-left: auto;
    margin-right: auto;
}   

@media (max-width:1000px) {
    .container {
        padding-left: 5%;
        padding-right: 5%;
        margin-left: auto;
        margin-right: auto;
    } 
}
@media (min-width:1060px) {
    .container {
        padding-left: 10%;
        padding-right: 0;
        margin-left: auto;
        margin-right: auto;
    } 
}




.home_grid p:first-of-type {
    margin-top: 8px;
    font-weight: bold;
    font-size: 26px;
    font-family: system-ui;
    margin-bottom: 5px;
    
}

.home_grid p {
    text-transform: uppercase;
}

.home_grid p:nth-child(2) {
    margin-top: 13px;
    font-size: 33px;
    font-weight: bold;
    margin-bottom: 10px;
    

}

.home_grid p:nth-child(3) {
    margin-bottom: 16px;
}



.home_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    grid-gap: 80px;
}

@media (max-width:780px) {
    .home_grid {
        display: grid;
        grid-template-columns: repeat(1, minmax(300px, 1fr));
        grid-gap: 0;
    }
    
    .left_home p.book {
    margin-top : 10px !important;
    }
    
    .right_home {
        width: auto !important;
        margin-top: 5px !important;
        height: 216px;
    }
    .informations {
        height: 250px !important;
    }
    .informations button {
        width: 355px !important;
        height: 39px !important;
        margin-top: -10px !important;
        margin-left: 21px !important;
    }
    .left_home {
        margin-top: -125px !important;
    }
    .cab_form {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .right_home p {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .right_home p:nth-child(2) {
        margin-top: 5px;
        font-size: 33px;
        font-weight: bold;
        margin-bottom: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .right_home p:nth-child(3) {
        margin-bottom: 5px;
        margin-top: 5px;
    }
    .home_grid .right_home button {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;    
        margin: auto    ;
    }


}

.home_grid .right_home button {
    font-family: system-ui;
    text-transform: uppercase;
    width: 136px;
    height: 40px;
    font-weight: bolder;
    color: white;
    background-color: black;
    border-radius: 15px;
    transition: .3s;
    
}

.home_grid .right_home button:hover {
    color: black;
    background-color: var(--secondry-color);
    width: 100%;
    letter-spacing: 3px;

}

.right_home {
    width: 442px;
    margin-top: 124px;

}

.left_home {
    width: 400px;
}

.left_home p.book {
    background-color: black;
    margin-top: 124px;
    color: white;
    padding: 15px;
    padding-left: 30px;
    margin-bottom: 0;
    border-radius: 10px;
}

.left_home span {
    color: var(--secondry-color);
    
}

.left_home .informations p:nth-child(1){
    padding: 15px;
    padding-left: 30px;
    background-color: white;
    font-size: 17px;
    text-transform: uppercase;

}

.left_home .informations p:nth-of-type(2){
    padding: 15px;
    padding-left: 30px;
    background-color: white;

}

.left_home .informations p:nth-of-type(3){
    padding: 15px;
    padding-left: 30px;
    background-color: white;

}

.informations {
    background-color: white;
    height: 300px;
    border-radius: 10px;
    
}

.informations input {
    margin-left: 86px;
    
}

.informations input:nth-of-type(2) {
    margin-left: 96px;

    
}

.informations p {
    display: inline-block;
    font-weight: bold;
    font-size: 17px;    
}

.informations p:first-of-type {
    margin-bottom: 0;
}

.informations p:nth-of-type(2) {
    margin-top: 5px;
    margin-bottom: 0;
}

.informations p:nth-of-type(3) {
    margin-top: 5px;
    margin-bottom: 0;
    padding: 15px;
    padding-left: 30px;
}
.informations p:nth-of-type(4) {
    margin-top: 5px;
    margin-bottom: 0;
    padding: 15px;
    padding-left: 30px;
}

.informations input:nth-of-type(3) {
    margin-left: 94px;  
}
.informations input:nth-of-type(4) {
    margin-left: 73px;  
}



.informations button {
    text-transform: uppercase;
    width: 355px;
    height: 49px;
    font-weight: bolder;
    color: white;
    background-color: black;
    border-radius: 15px;
    transition: .3s;
    margin: 22px;
    margin-left: 21px;

}

.informations button:hover {
    background-color: var(--secondry-color);
    letter-spacing: 3px;
}

.features {
    min-height: 63vh;
    background-color: white;
}

.features_p {
    text-transform: uppercase;
    margin-top: 33px;    
}

.features_p p:first-child {
    color: var(--main-color);
    font-size: 33px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    margin-top: 3px;
}

.features_p p:nth-child(2) {
    display: flex;
    justify-content: center;
    font-weight: bold;
    font-size: 33px;
    margin-top: -10px;
}

.classes_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    grid-gap: 80px;
}


@media (max-width:1184px) {
    .classes_grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(300px, 1fr));
    grid-gap: 62px;
    }
    .classes_grid img {
        padding-right: 0 !important;
    }
    .container2 {
        padding-left: 13px;
        padding-right: 0;
    }
}
.classes_grid div{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
}

.container2 {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    
}   

/* Small */
@media (min-width: 768px) {
    .container2 {
      width: 750px;
    }
  }
  /* Medium */
  @media (min-width: 992px) {
    .container2 {
      width: 970px;
    }
  }
  /* Large */
  @media (min-width: 1200px) {
    .container2 {
      width: 1170px;
    }
  }

  .classes_grid img {
      width: auto;
      height: 134px;
      padding-right: 30px;
      
      
  }

  .classes_grid .classes {
    font-size: 23px;
    font-weight: bolder;
    width: 100%;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
  }
  
  .classes_grid p.classes_small_words {
      color: #646161;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 327px;
      margin-top: -3px;
      margin-left: 29px;
      
  }

  .classes_money {
    font-weight: bold;
    font-size: 43px;
    margin-top: 0px;
    color: var(--main-color);
    text-transform: uppercase;
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 33px;     
  }

  .classes_grid_button {
    font-family: system-ui;
    text-transform: uppercase;
    width: 136px;
    height: 40px;
    font-weight: bolder;
    color: white;
    background-color: black;
    border-radius: 15px;
    transition: .3s;
    width: 53%;
  }

  .classes_grid_button:hover {
    background-color: var(--secondry-color);
    letter-spacing: 3px;
    width: 100%;

}

.classes_grid .last_button{ 
    margin-bottom:20px
}


.blog {
    min-height: 70vh;
}

.blog_background_image {
    background-image: url(/photos/wave.jpg);
    background-repeat: no-repeat;
    background-size: cover;

}

.blog_p {
    text-transform: uppercase;
    
}

.blog_p p:nth-child(1) {
    color: var(--main-color);
    font-size: 33px;
    font-weight: bold;
    margin-bottom: 0;
    padding-top: 33px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.blog_p p:nth-child(2){
    display: flex;
    justify-content: center;
    font-weight: bolder;
    color: white;
    font-size: 38px;
    margin-top: -3px;
}

.blog_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px ,1fr));
    grid-gap: 80px;
}

@media (max-width:1184px) {
    .blog_grid {
        display: grid;
        grid-template-columns: repeat(1, minmax(300px ,1fr));
        grid-gap: 0px;
    }
    
    .col {
        display: contents;
    }
    
}

.blog_grid .icon {
    border-radius: 50%;
    width: 75px;
    background-color: var(--secondry-color);
    height: 75px;
    margin-top: 20px;
    
}

.blog_grid .icon i{
    font-size: 27px;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 75px;
    
}

.blog_grid .blog_grid_p p:nth-of-type(1){
    color: var(--main-color);
    font-weight: bold;
    text-transform: uppercase;
    
}
.blog_grid .blog_grid_p p:nth-of-type(2){
    
    width: fit-content;
    font-size: 15px;
    color: #d9cece;
}

.col {
    display: flex;
    margin-top: 30px;
    margin-bottom: 55px;
    
    
}
@media (max-width:1184px) {
    .col {
        display: contents;
    }
    .blog_grid .icon{
        margin: 48px auto;
        margin-bottom: 5px;   
    }
    .blog_grid .blog_grid_p p:nth-of-type(1){
    display: flex;
    justify-content: center;
    align-items: center;
}
}

.col .blog_grid_p {
    margin-left: 23px;
    font-size: 22px;
    
}

.blog_button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 12px;
    
}

.order_now {
    min-height: 60vh;
    
}

.order_now_p {
    text-transform: uppercase;
}

.order_now_p p:nth-child(1) {
    color: var(--main-color);
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 3px;
    padding-top: 33px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.order_now_p p:nth-child(2) {
    display: flex;
    justify-content: center;
    font-weight: bolder;
    color: black;
    font-size: 38px;
    margin-top: -3px;
}

.order_now_grid {
    display: grid;
    grid-template-columns: repeat(2 , minmax(300px ,1fr));
    grid-gap:30px
    
}
@media (max-width:1184px) {
    .order_now_grid {
    display: grid;
    grid-template-columns: repeat(1 , minmax(300px ,1fr));
    grid-gap:30px
    }
    .order_now_grid_left .first_p p:first-of-type {
        color: black;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .order_now_grid_left p:nth-child(2) {
        text-transform: capitalize;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .order_now_grid_left .second_p {
        margin-left: 256px ;
    }
    .order_now_background_image {
        margin-left: 299px ;
    }
    .downloads {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.order_now_grid_left .first_p p:first-of-type {
    color: black;
}

.order_now_grid_left p:nth-child(2) {
    text-transform: capitalize;
}

.order_now_background_image {
    background-image: url(/photos/hand_phone.png);
    height: 414px;
    background-size: contain;
    position: relative;
    background-repeat: no-repeat;
    bottom: -16px;
}

.order_now_grid .order_now_grid_left .first_p {
    font-size: 25px;
    font-weight: bold;
    line-height: 9px;
}
.order_now_grid .order_now_grid_left .second_p{
    color: #060606;
    width: 361px ;    
}

.order_now_grid .order_now_grid_left img {
    width: 165px ;
    margin-top: 26px ;       
}

.order_now_grid .order_now_grid_left img:first-of-type {
    margin-right: 24px;
}

@media (max-width:420px) {
    .order_now_p p:nth-child(2) {
        font-size: 31px;
    }
    .order_now_grid .order_now_grid_left .first_p {
        font-size: 17px;
    }
    .order_now_grid .order_now_grid_left .second_p {
        margin-left: 20px;
    }
    .order_now_background_image {
        height: 351px;
    }
}

@media (max-width:974px) {
    .order_now_grid_left .second_p {
        margin-left: 147px ;
    }
    .order_now_background_image {
        margin-left: 216px ;
    }
}

@media (max-width:705px){
    .order_now_grid_left .second_p {
        margin-left: 0px ;
    }
    .order_now_background_image {
        margin-left: 0px ;
    }

}

@media (max-width:375px) {
    .order_now_background_image {
        bottom: -52px;
    }
}
.contacts {
    background-color: var(--secondry-color);
    height: 20vh;
}
.contacts p:first-of-type {
    text-transform: uppercase;
    color: black;
    font-size: 25px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 41px;
    margin-top: 16px;
}

.contacts p:nth-of-type(2) {
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 40px;
    font-weight: bold;
    margin-top: 10px;
    font-family: system-ui;
    }

@media (max-width:685px) {
    .contacts p:first-of-type {
        font-size: 18px;
    }
    .contacts p:nth-of-type(2) {
        font-size: 30px;
    }
}

@media (max-width: 414px){
.contacts p:first-of-type {
    font-size: 14px;
}
.contacts p:nth-of-type(2) {
    font-size: 23px;
}
}


.top-btn{
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    color: rgb(0, 0, 0);
    background-color: var(--third-color);
    line-height: 6rem;
    text-align: center;
    transition: .4s ease;

}

.top-btn:hover{
    box-shadow: 0 0 1rem black;
    background-color: var(--secondry-color);
}

@media (max-width : 560px) {
    .top-btn{
        bottom: 1rem;
        right: 1rem;
        width: 5rem;
        height: 5rem;
        line-height: 5rem;
    
    }

}
@media (max-width : 376px) {
    .top-btn{
        bottom: 1rem;
        right: 1rem;
        width: 4rem;
        height: 4rem;
        line-height: 4rem;
    
    }

}


