@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

* {
    font-family: "Lato", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

header {
    position: fixed;
    ;
    width: 100%;
    height: 60px;
    background-color: #bbb6b6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 200px;
    z-index: 999;
}

.logo {
    text-decoration: none;
    color: #0c66e3f0;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;

}

.navigation a {
    text-decoration: none;
    color: #0c66e3f0;
    font-size: 1.3em;
    font-weight: 500;
    padding-left: 30px;

}

.navigation a:hover {
    color: #601cfc;
}

section {
    padding: 100px 200px;
}

.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;

    /* Retina-ready background */
    background-image: image-set(
        url('images/background.jpg') 1x,
        url('images/background@2x.jpg') 2x,
        url('images/background@3x.jpg') 3x
    );
    background-image: url('images/background.jpg'); /* fallback */
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; /* important: no fixed on mobile */
}

.main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3); /* optional overlay to hide artifacts */
    z-index: 0;
}

.main > div {
    position: relative;
    z-index: 1;
}

/* Mobile version */


.main h2 {
    font-size: 1.5em;
    color: #fff;
    font-weight: 500;
}

.main h2 span {
    display: inline-block;
    margin-top: 10px;
    color: #4e9eff;
    font-size: 3em;
    font-weight: 600;
}

.main h3 {
    font-size: 2em;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.main-btn {
    display: inline-block;
    padding: 0.9375em 2.1875em;
    background-color: #0c66e3f0;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 15px;
    font-size: 0.8em;
    letter-spacing: 1px;
    margin-bottom: 30px;
    margin-top: 20px;
    transition: 0.3s ease;
}

.main-btn:hover {
    background-color: #601cfc;
    transform: scale(1.1);
}

.social-icons a {
    color: #fff;
    font-size: 1.5em;
    padding-right: 50px;
}

.title {
    display: flex;
    justify-content: center;
    font-size: 2.2em;
    color: #0c66e3f0;
    font-weight: 800;
    margin-bottom: 30px;
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;

}

.card {
    transition: 0.7s ease;
    width: 21.25em;
    background-color: #fff;
    box-shadow: 0 5px 25px rgba(1 1 1/ 15%);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
}

.card:hover {
    transform: scale(1.05);
}

.icon {
    font-size: 2.5em;
    color: #0c66e3f0;
    text-align: center;
}

.info {
    text-align: center;
}

.info h3 {
    color: #0c66e3f0;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;

}

.projects {
    background-color: #000016;
}

.projects .content {
    margin-top: 30px;

}

.project-card {
    background-color: #fff;
    border: 3px solid #fff;
    min-height: 14em;
    width: 20em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.7s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: scale(1.1);
}

.project-card:hover .project-img {
    opacity: 0.9;
}

.project-card img {
    width: 100%;
    height: 20em;
}

.project-info {
    padding: 1em;
}

.prject-category {
    font-size: 0.8em;
    color: #000;

}

.project-title {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: auto;
    text-decoration: none;

}

.more-details {
    text-decoration: none;
    color: #0c66e3f0;
}

.more-details:hover {
    color: #601cfc;
}

.contact .icon {
    font-size: 4.5;
}

.contact .info h3 {
    color: #000;

}

.contact .info p {
    font-size: 1.5em;
}
.contact .content .card{
    width: 23em;
}

.footer {
    background-color: #2f2f31;
    color: #fff;
    padding: 2em;
    display: flex;
    justify-content: space-between;
}

.footer-title {
    font-size: 1.3em;
    font-weight: 600;
}       

.footer-title span {
    color: #0c66e3f0;
}

.footer .social-icons a {
    font-size: 2em;
    padding-right: 40px;
}

@media (max-width:1023px) {
    header {
        padding: 10px 35px;
    }
    .main {
        background-image: image-set(
            url('images/background.jpg') 1x,
            url('images/background@2x.jpg') 2x
        );
        background-image: url('images/background.jpg'); /* fallback */
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }
    

    .navigation a {
        padding-left: 10px;
    }

    .title {
        font-size: 1.8em;
    }

    section {
        padding: 80px 20px;
    }

    .main-content h3 {
        font-size: 1.6em;
    }

    .content {
        flex-direction: column;
        align-items: center;
    }
    
}

@media (max-width:641px ) {
    body {
        font-size: 10px;
    }

    .main-conten h2 {
        font-size: 0.8em;
    }

    .main-conten h3 {
        font-size: 1.4em;
    }
}

@media (max-width:300px) {
    body {
        font-size: 10px;
    }
}