@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

header {
    background-color: #a6a2be;
    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(18, 5, 79);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;

}

.navigation a {
    color: rgb(4, 17, 94);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    padding-left: 30px;
}

.navigation a:hover {
    color: rgb(67, 69, 188);
}

section {
    padding: 100px 200px;
}

.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(images/backeground.png) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.main h2 {
    color: rgb(255, 255, 255);
    font-size: 1.4em;
    font-weight: 500;
}

.main h2 span {
    display: inline-block;
    margin: 10px;
    color: rgb(67, 69, 188);
    font-size: 1.4em;
    font-weight: 600;
}

.main h3 {
    color: rgb(255, 255, 255);
    font-size: 1.4em;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.main_btn {
    color: rgb(167, 135, 211);
    background-color: #190a6f;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    display: inline-block;
    padding: 0.9375em;
    letter-spacing: 1px;
    border-radius: 15px;
    margin-bottom: 40px;
    transition: 0.7s ease;
}

.main_btn:hover {
    background-color: rgb(67, 69, 188);
    transform: scale(1.05);
}

.socials_icons a {
    color: #fdfdfd;
    font-size: 1.7em;
    padding-right: 30px;
}

.title {
    display: flex;
    justify-content: center;
    color: rgb(105, 95, 146);
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.card {
    background-color: #fdfdfd;
    width: 21.25em;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: 0.3s ease;
}

.card:hover {
    transform: scale(1.1);
}

.icon {
    color: rgb(67, 69, 188);
    font-size: 5em;
    text-align: center;
}

.info {
    text-align: center;
}

.info h3 {
    color: rgb(18, 5, 79);
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
}

.projects {
    background-color: #070222;
}

.projects .content {
    margin-top: 30px;
}

.project_card {
    background-color: #fdfdfd;
    border: 10px solid #ffffff;
    min-height: 20em;
    width: 23em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.3s ease;
}

.project_card:hover {
    transform: scale(1.1);
}

.project_card:hover .project_image {
    opacity: 0.9;
}

.project_image img {
    width: 100%;
}

.project_info {
    padding: 1em;
}

.project_category {
    font-size: 0.8em;
    color: #190a6f;
}

.project_title {
    display: flex;
    justify-content: space-between;
    text-transform: none;
    font-weight: 800;
    margin-top: 10px;
}

.more_details {
    text-decoration: none;
    color: #2f15c1;
}

.more_details:hover {
    color: #190a6f;
}

.contact .icon {
    font-size: 3.5em;
}

.contact .info h3 {
    color: #070222;
}

.contact .info p {
    font-size: 1.1em;
}

.footer {
    background-color: #070222;
    color: #fdfdfd;
    padding: 2em;
    display: flex;
    justify-content: space-between;
}

.footer_title {
    font-size: 1.3em;
    font-weight: 600;
}

.footer_title span {
    color: rgb(67, 69, 188);
}

.icon a {
    color: #fff;
    font-size: 1.7em;
    padding-right: 30px;
    transition: all 0.3s ease-in-out;
}

.icon a:hover {
    color: #aaaaff;
    transform: scale(1.2);
}






@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
    }

    .navigation {
        flex-direction: column;
        width: 100%;
        padding-top: 10px;
    }

    .navigation a {
        padding: 10px 0;
        display: block;
    }

    section {
        padding: 60px 20px;
    }

    .main {
        flex-direction: column;
        text-align: center;
        padding-top: 250px;
    }

    .main h2,
    .main h3 {
        font-size: 1.2em;
    }

    .main_btn {
        font-size: 1em;
        padding: 10px;
        display: block;
        margin: 20px auto;
    }

    .socials_icons {
        justify-content: center;
        flex-wrap: wrap;
        padding-top: 10px;
    }

    .card,
    .project_card {
        width: 100%;
        margin: 10px 0;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }