@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    font-family: "Poppins", serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
header{
    background-color: #0d1c26;
    width: 100%;
    position: fixed;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px;

}

.logo{
    text-decoration: none;
    color: #c7b7a3;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;

}

.navigation a{
    color: #e4d3be;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    padding-left: 30px;
}
.navigation a:hover{
    color: #aa9c8a;

}
section{
    padding: 100px 200px;

}

.main{
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(images/background.jpg) no-repeat;
    background-size: 40%;
    background-position: 75% 100%;
    background-attachment: fixed;
    

}

.main h2{
    color: #859574;
    font-size: 1.4em;
    font-weight: 500;
}

.main h2 span{
    color: rgb(39, 0, 86);
    font-size: 2.4em;
    font-weight: 600;
    display: inline-block;
    margin-top: 1px;
}
.main h3{
    color: #859574;
    font-size: 1.5em;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 0.5px;
    margin-bottom: 30px;
}
.main-btn{

    color: bisque;
    background-color: #859574;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    display: inline-block;
    padding: 0.9375em 2.1875em;
    letter-spacing: 0.8px;
    border-radius: 20px;
    margin-bottom: 25px;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(1, -0.84, 0.58, 1);
}
.main-btn:hover{
    background-color: #6d7a5f;
    transform: scale(1.1);
}
.social-icons a{
    color: #89947e;
    font-size: 1.5em;
    padding-right: 20px;

}
.title{
    display: flex;
    justify-content: center;
    color: #6d7a5f;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 30px;
}

.content{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
}
.card{
    background-color: antiquewhite;
    width: 21.25em;
    box-shadow: 0 5px 35px rgba(1 1 1/30%);
    border-radius: 10%;
    padding: 25px;
    margin: 15px;
    transition: 0.5s 0s ease;}
.card:hover{
    transform: scale(1.135);
}
.icon{
    color:#6d7a5f;
    text-align: center;
    font-size: 7em;
}
.information{
    text-align: center;
}
.information h3{
    color: #6d7a5f;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
}

.courses{
    background: darkslategray;
}
.courses-content{
    margin-top: 30px;

}

.project-card{
    background-color: white;
    border: 1px solid antiquewhite;
    min-height: 11em;
    width: 23em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    margin-left: 15px;
    transition: 0.7s ease;
  
    
}
.project-card:hover{
    transform: scale(1.1);
}
.project-card:hover .project-img{
    opacity: 0.9;
}
.project-img img{
    width: 80%;
    max-height: 18em;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    display: flex;
    justify-content: space-evenly;
}
.project-info{
    padding: 1em;
}
.project-category{
    font-size: 0.8em;
    color: black;
     
}
.project-title{
    display: flex;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 20px;
    justify-content: space-between;
}
.more-details{
    text-decoration: none;
    color: #aa9c8a;
}
.more-details:hover{
    color: #6d7a5f;
}
.project-card span{
    font-weight: 500;
    font-size: larger;
    color: #6d7a5f;
}


.footer{
    background-color: #0d1c26;
    color: antiquewhite;
    padding: 2em;
    display: flex;
    justify-content: space-between;
}

.ftr-ttl{
    font-size: 1.3em;
    font-weight: 700;
}
.ftr-ttl>span{
    color: darkslategrey;
}

@media (max-width:1023px){
    header{
        padding: 12px 20px;
    }
   .navigation a{
            padding-left: 10px;
        }
    .title{
            font-size: 1.8em;

        }
    section{
        padding: 80px 20px;
    }
    .main-content h2{
        font-size: 1em;
    }
    .main-content h3{
        font-size: 1.5em;
    }
    .content{
        flex-direction: column;
        align-items: center ;
    }
}
@media (max-width:641px){
    body{
       font-size: 12px;

    }
.main-content h2{
    font-size: 0.8em;
}
.main-content h3{
    font-size: 1.2em;
}


}

@media (max-width:300px ){
   .content{
margin-right: 10px
   }
   body{
    font-size: 12px;
   }
}
   @media (max-width:500px){
    .main{
        background-size: 70%;
        background-position: 50% 60%;
    
    }
    .main div{
        position: absolute;
        top: 19%;

    }
    .main .social-icons{
        position: relative;
        top:20%;
        left: 5%;
    }
   }    