@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');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: 'Poppins', 'sans-serif';
}

header {
    background-color: #f0f0f0;
    padding: 10px 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 999;
    width: 100%;
}

header a {
    text-decoration: none;
}

.header-logo {
    text-transform: uppercase;
    font-size: 1.8em;
    font-weight: 700;
    color: #3a6cf4;
}

header nav a {
    font-size: 1.1em;
    text-transform: capitalize;
    font-weight: 500;
    padding-left: 30px;
    color: #3a6cf4;
}

header nav a:hover {
    color: #601cfc;
}

section {
    padding: 100px 200px;
}

section.main {
    background: url('../images/background.jpeg') no-repeat;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

section.main h2 {
    color: #fff;
    font-size: 1.4em;
    font-weight: 500;
}

section.main h2 span {
    display: inline-block;
    color: #4e9eff;
    margin-top: 10px;
    font-size: 3em;
    font-weight: 600
}

section.main h3 {
    color: #FFF;
    font-size: 2em;
    margin-top: 10px;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 1px;
}

section.main a.main-btn {
    background-color: #3a6cf4;
    color: #FFF;
    margin-bottom: 40px;
    text-decoration: none;
    display: inline-block;
    border-radius: 15px;
    letter-spacing: 1px;
    transition: .7s ease;
    padding: 0.9375em 2.1875em;
    font-size: 1.1em;
    font-weight: 600;
}

section.main a.main-btn:hover {
    background-color: #0a49f6;
    transform: scale(1.1);
}

.social-icons a {
    color: #FFF;
    padding-right: 30px;
    font-size: 1.7em;
}

section.cards .title {
    display: flex;
    justify-content: center;
    color: #3a6cf4;
    font-size: 2.2em;
    margin-bottom: 30px;
    font-weight: 800;
}

section.cards .content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap
}

section.cards .content .card {
    background-color: #FFF;
    width: 21.25em;
    box-shadow: 0 5px 25px rgb(1 1 1 / 15%);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: .7s ease;
}

section.cards .content .card:hover {
    transform: scale(1.1);
}

.card .icon {
    text-align: center;
    font-size: 8em;
    color: #3a6cf4;
}

.card .info {
    text-align: center;
}

.card .info h3 {
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
    color: #3a6cf4;
}

section.cards#projects {
    background-color: #000016;
}

section .content .project-card {
    background-color: #fff;
    border: 1px solid #fff;
    min-height: 14em;
    width: 23em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: .7s ease;
}

section .content .project-card:hover {
    transform: scale(1.1);
}

section .project-card:hover .project-image {
    opacity: 0.9;
}
section .project-card .project-image img {
    width: 100%;

}

section .project-card .project-info {
    padding: 1em;
}

section .project-card .project-info .project-category {
    color: #000;
    font-size: .8em;
}

section .project-info .project-title {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 10px;
}

section .project-info .more-details {
    text-decoration: none;
    color: #3a6cf4;
}

section .project-info .more-details:hover {
    color: #601cfc;
}

section.cards#contact .icon {
    font-size: 4.5em;
}

section.cards#contact .info h3 {
    color: #000;
}

section.cards#contact .info p {
    font-size: 1.1em;
}

footer {
    background-color: #000016;
    color: #FFF;
    padding: 2em;
    display: flex;
    justify-content: space-between;
}

.footer-title {
    font-size: 1.3em;
    font-weight: 600;
}

.footer-title a {
    color: #3a6cf4;
    text-decoration: none;
}

footer .social-icons a {
    font-size: 1.3em;
    padding: 0 12px 0 0;
}



@media (max-width:1023px){
    header {
        padding: 12px 20px;
    }

    header nav a {
        padding-left: 10px;
    }

    .main h2{
        font-size: 1em;
    }

    .main h3{
        font-size: 1.6em;
    }

    section {
        padding: 80px 20px;
    }

    section.cards .title {
        font-size: 1.8em;
    }

    section.cards .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.4em;
    }
}

@media (max-width:300px){
    body{
        font-size: 10px;
     
    }
}