
@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", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}


#darkmode-icon {
    cursor: pointer; 
    position: relative; 
    z-index: 1000; 
    color: grey;
}
header{
    background-color: rgb(236, 221, 221);
    width:100%;
    position:fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px;
    
}
.logo{
    text-decoration: none;
   color: rgb(51, 32, 113);  
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;
}
body.DarkMode .navigation a{
    color: rgb(255, 255, 255);
}
.navigation a{
      display: inline-block;
    margin-left: 20px;
    text-decoration: none;
   font-weight: 700;
    font-size: 16px;
    color: rgb(51, 32, 113);
    border-radius: 20px;
    padding: 10px 20px;
    transition: 0.7s ease;
}
   .navigation a:hover,.navigation a.home{
    color: rgb(255, 255, 255);
    background-color: rgb(143, 124, 183);
    
}


section{
    padding: 100px 200px; 
}
.main{
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(images/background.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
body.DarkMode .main{
    filter: brightness(0.6)
    contrast(1.2) saturate(0.8);
    background: url(images/background.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
.main h2{
    font-size: 2em;
    color: rgb(255, 255, 255);
    font-weight: 500;
}
.main h3{
    font-size: 2.5em;
    color:  rgb(255, 255, 255); 
    font-weight: 500;
}
.btns{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.main h3 span{
    color:  rgb(255, 255, 255); 
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 20px;
    font-weight: 800;
}
.first-btn{
    text-decoration: none;
    color: rgb(255, 255, 255);
    background-color: rgb(23, 23, 102);  
    font-size: 1.1em;
    font-weight: 600;
    display: inline-block;
    padding: 0.9375em 2.1875em;
    /* 16*em to get px and this will be better in responsive design */
    border-radius: 15px;
    letter-spacing: 1px;
    margin-bottom: 40px;
        transition:  0.7s ease;
}
.first-btn:hover{
    background-color: rgb(33, 22, 75);
    transform: scale(1.1);
}
.tittle{
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(23, 23, 102);
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px ;
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

.card {
    background-color: #fff;
    width: 21.25em;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: 0.7s ease;
}

.card:hover {
    transform: scale(1.1);
}

.card .icon {
     color: rgb(23, 23, 102);
    font-size: 5em;
    text-align: center;
}

.info {
    text-align: center;
}

.info h3{
     color: rgb(23, 23, 102);
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
}
.info a{
    display: inline-block;
    text-decoration: none;
    color:black;
    border-radius: 10px;

}
body.DarkMode .info a{
    color: #fff;
    background-color:  rgb(52, 50, 56);
padding: 10px;

}


.footer{
  
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(143, 124, 183);
    
}
.footer h2{
    color:rgb(255, 255, 255);
    font-size: 1.5em;
    font-weight: 900;
    padding-left: 20px;
}

.social a{
    text-decoration: none;
    display: inline-block;
   font-size: 1.5em;
   font-weight: bold;
   border-radius: 20px;
 align-items: center;
    justify-content: space-between;
    padding: 10px;
   border-color: #fff;
   color: #fff;
    transition: 0.7s ease;
}
.social a:hover{
    background-color: rgb(23, 23, 102);
    color: white;
    transform: scale(1.1);
}
@media(max-width: 1023px){
    header{
        padding: 12px 20px;
    }
    section{
        padding: 80px 20px; 
    }
    .navigation a{
        padding-left: 10px;
    }
    .tittle{
        font-size: 1.8em;
    }
.main-content h2{
        font-size: 1em;
    }

    .main-content h3{
        font-size: 1.6em;
    }

    .content{
        flex-direction: column;
        align-items: center;
    }
}
body.DarkMode,body.DarkMode section{
    transition:background-color 0.7s ease,color 0.7s ease;
    background-color: #0f172a;
    color: rgb(255, 255, 255);
}
body.DarkMode .info p{
    background-color: rgb(52, 50, 56);
    border-radius: 10px;
    padding: 10px;
}

body.DarkMode .card{
    background-color: #e2e8f0;  
}
body.DarkMode .icon{
    color: rgb(0, 0, 0);
}
body.DarkMode .info h3{
    color: rgb(109, 89, 89);
    padding: 10px;
}
body.DarkMode footer{
    background-color: rgb(63, 18, 59);
}
@media (max-width:641px){
    body{
        font-size: 12px;
    }

    .main-content h2{
        font-size: 0.8em;
    }

    .main-content h3{
        font-size: 1.4em;
    }
}

@media (max-width:300px){
    body{
        font-size: 10px;
     
    }
}