
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all .2s linear;
}
body{
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #1f272b;
}
html{
    font-size: 62.5%;
    /* overflow-x: hidden; */
    scroll-padding-top: 6rem;
    scroll-behavior: smooth;
}


/* ***************GENERAL**************** */


li{
    list-style: none;
}
a{
    text-decoration: none;
}
img{
    width: 100%;
}
.btn{
    color: #fff;
    background-color: #a12c2f;
    font-size: 1.4rem;
    text-transform: uppercase;
    padding: 1.5rem 2.7rem;
    border-radius: 3rem;
    /* margin-top: 7rem; */
}



.header .container{
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header{
    background-color: #1f272b;
    padding-top: 1rem;
    
}
.fab{
    color: #fff;
    margin-left: 2rem;
    font-size: 1.5rem;
}
.header p{
    color: #fff;
    font-size: 1.3rem;
}
.header p span{
    color: #f5a425;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1150px;
    margin: 0 auto;
    
}
nav img {
    width: 5rem;
    height: 5rem;
}
.nav{
    background: rgba(250,250,250,0.15);
    padding: 1rem 0;
    margin-top: 1rem;
}

.logos{
    width: 22rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: #fff;}
.logos h1{
    font-size: 1.5rem;    
}
.logos h1 span {
    background-color: #f5a425;
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
    padding: .4rem .6rem;
    margin-right: -.4rem;
}

nav ul{
    display: flex;
    gap: 2rem;
}
nav ul li a{
    color: #fff;
    font-size: 1.5rem;
}


/* ****************CLASSES BODY***************** */


.contain {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 10%;
    margin-top: 8rem;
    position: relative;   
}
.contain .back {
    position: fixed;
    top: 0rem;
    height: 100%;
    z-index: -1;
}
.contain .text {
    width: 80vw;
    display: flex;    
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #f5a425;
}
.contain h1 {
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.desc {
    /* width: 70vw; */
    position: relative;    
    margin: 0 auto 1.5rem;
    padding: 0 1rem;
    font-size: 1.5rem;
}
.desc::after,
.desc::before {
    content: '';
    width: 40px;
    height: 2px;
    background-color: #a12c2f;
    position: absolute;
    top: 50%;
    left: -5rem;
}
.desc::before{
    left: initial;
    right: -5rem;
}
.grid {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
    margin-top: 8rem;
}
.grid-content {
    padding: 10px;
    background-color: rgba(230, 229, 229, 0.303);
    height: 5rem;
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    transform: rotateX(30deg) rotateY(0deg) rotateZ(0deg);
    box-shadow: rgb(88, 86, 86) 0.006em 0.006em 0.007em,
    #9c9c9c 1px 1px 1px, #9c9c9c 1px 1px 2px,
    #9c9c9c 1px 1px 1px, #9c9c9c 1px 1px 1px,  
    rgba(16, 16, 16, 0.5) 1px 30px 16px,
    #1f272b 1px 35px 10px,    
    white -0.15em -0.1em 0px;
}
.grid-content:hover {
    transform: translateY(-1.1rem);
}
.contain .assets {
    position: absolute;
    width: 20rem;
    bottom: -2rem;
    left: 12rem;
    z-index: -1;
    opacity: .4;
}

/* ********COURSES******* */

.contain .text h1 {
    position: relative;
}
.slider{
    position: relative;
    display: grid;
    width: 80%;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 10rem;
}
.slider .assets2 {
    position: absolute;
    width: 20rem;
    bottom: -8rem;
    right: -10rem;
    z-index: -1;
    opacity: 1;
}
.slider .slide{
    flex : 1 1 20rem;
    background-color: #fff;
}
.slider .slide p{
    font-size: 1.7rem;
    text-align: center;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgb(214, 211, 211);
}
.slider .slide .lower{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;   
}
.slider .slide .lower .stars i{
    color: #f5a425;
    font-size: 1.3rem;    
}

/* ***********contact********** */

.contact{
    position: relative;
    margin-top: 10rem;
}
.contact .container{
    max-width: 1150px;
    margin: 10rem auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding-bottom: 10rem;
}
.form{
    background-color: #fff;
    flex: 1 1 60%;
    padding: 3rem;
    border-radius: 2rem;
}
.address{
    background-color: #a12c2f;
    flex: 1 1 20%;
}
.form form h1{
    font-size: 2.5rem;
    margin-bottom: 5rem;
    text-transform: uppercase;
    color: #1f272b;
}
.form form .input input{
    padding: .5rem 1.2rem;
    background-color: #e2dfdf;
    outline: none;
    border: none;
    width: 35%;
    height: 5rem;
    text-transform: uppercase;
    font-size: 1.3rem;
    border-radius: 4rem;
}
.form form .input{
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}
.textarea textarea{
    padding: 1rem 2rem;
    width: 100%;
    height: 17rem;
    border: none;
    resize: none;
    background-color: #e2dfdf;
    text-transform: uppercase;
    font-size: 1.5rem;
    border-radius: 2rem;
    margin-bottom: 5rem;
}

.contact .container .address{
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    border-radius: 2rem;
}

.contact .container .address .info p{
    color: #fff;
    font-size: 1.7rem;
    margin-bottom: 1rem;
}
.contact .container .address .info{
    border-bottom: 1px solid rgb(219, 213, 213);
}

.copyright{
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.5;
    padding-top: 3rem;
    padding-bottom: 5rem;
}
.copyright a {
    color: #f5a425;
}



/* *********************APPLICATION SECTION********************* */



.apply {
    width: 100%;
    padding: 2rem 4rem;
    background-color: rgba(236, 234, 234, 0.09);
    /* height: 60rem; */
    border-top-right-radius: 10rem;
    border-bottom-left-radius: 10rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.321), 0 6px 6px rgba(0, 0, 0, 0.441);
    color: #dddbdb;
    line-height: 3rem;
    height: fit-content;
}
.apply p {
    font-size: 1.75rem;
}
.apply h1 {
    margin-top: 2rem;
    color: #f5a425;
}
.apply span {
    color: #f5a425;
}
.apply .hot{
    font-size: 1.75rem;
    margin: 6rem 0;
}

.right{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));    
    gap: 1rem;
    width: 100%;
    margin: 9rem 0; 
}
.right .box{
    background-color: rgba(250,250,250,0.07);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.321), 0 6px 6px rgba(0, 0, 0, 0.441);
    padding: 3rem 3.5rem;
}
.right .box h1{
    color: #fff;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.right .box p{
    color: #fff;
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 4rem;    
}

a.btn.primary{
    background-color: #f5a425;
}

@media (max-width: 865px) {
    .padding {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact .container {
        width: 90vw;
    }
    .slider .assets2 {        
        bottom: -12rem;
        right: -5rem;
        
    }
}


@media (max-width: 465px){
    .nav ul li a{
        font-size: 1.3rem;        
    }
    .nav ul {
        padding: 0 1rem;
    }
}