* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
    background-color: #f8f8f8;
    line-height: 1.6;
}

header {
    width: 80vw;
    max-width: 1200px;
    height: 15vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin: 0 auto;
}

.textLogo {
    color: #3c65ff;
    font-size: 42px;
    font-weight: 700;
}

a {
    color: rgb(76, 85, 106);
    text-decoration: none;
}

.aHeader {
    margin: 0 0.5rem;
}

.blue {
    color: #3c65ff;
}

.menu-toggle {
    display: none;
}

.hamburger-icon {
    display: none;
    font-size: 28px;
    color: #3c65ff;
    cursor: pointer;
    z-index: 20;
    padding: 5px;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.main-nav {
    display: flex;
}

.main-nav .about {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.contentInfo {
    text-align: center;
    margin-bottom: 20px;
}

.contentInfo h1 {
    font-size: 58px;
    color: rgb(40, 45, 56);
    margin-bottom: 10px;
}

.contentInfo p {
    color: rgb(76, 85, 106);
    font-size: 20px;
}

.card-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.card {
    flex: 1;
    min-width: 450px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.image-card {
    flex: 1.2;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-card img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.text-card {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 30px;
}

.text-card h2 {
    color: #333333;
    font-size: 2em;
    margin-bottom: 15px;
    line-height: 1.2;
}

.text-card p {
    color: #666666;
    font-size: 1.1em;
    line-height: 1.6;
}

.card-row:first-child .text-card h2 {
    color: #FFA500;
}

.card-row:last-child .text-card h2 {
    color: #6A5ACD;
}

footer {
    color: white;
    background-color: rgb(116, 28, 255);
    width: 100vw;
    height: auto;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.aboutF .aHeader {
    color: white;
}

.aboutF {
    margin-top: 1.5rem;
    display: flex;
    /* flex-direction: column; */
    align-items: center; 
}

.fCreated {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    width: 90%;
}

.created {
    color: rgb(208, 208, 208);
    font-size: 14px;
    margin-top: 0.5rem;
}

.Maria {
    margin-top: 1.5rem;
    text-align: center;
    width: 90vw;
    padding: 0 15px;
}

h1 {
    font-size: 58px;
    color: rgb(40, 45, 56);
}

.pAbout {
    color: rgb(76, 85, 106);
    font-size: 20px;
    margin-top: 2rem;
    line-height: 1.5;
}

img {
    width: 400px;
    margin-top: 3rem;
    border-radius: 0.5rem;
    max-width: 90%;
    height: auto;
}

.iKnow {
    width: 70vw;
    height: max-content;
    margin-top: 7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5rem;
}

h2 {
    font-size: 52px;
    color: rgb(40, 45, 56);
}

.area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin-top: 2rem;
}

.area1,
.area2,
.area3 {
    width: auto;
    border: 1px rgb(220, 220, 220) solid;
    box-shadow: 4px 5px 10px rgb(221, 221, 221);
    border-radius: 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
}

h3 {
    font-size: 22px;
    color: #282d38;
    margin: 1.5rem 0;
    font-weight: 700;
}

h4 {
    font-size: 18px;
    color: #717d99;
    font-family: sans-serif;
    font-weight: normal;
    margin-bottom: 1rem;
}

h5 {
    font-size: 18px;
    color: #741cff;
    font-family: sans-serif;
    font-weight: normal;
    margin-top: 1.5rem;
}

.bottom {
    margin-bottom: 3rem;
}

.bottom1,
.bottom2 {
    margin-top: 0.5rem;
}

.item {
    display: flex;
    height: 250px;
    width: 250px;
}

@media (max-width: 992px) {
    .container {
        padding: 15px;
    }

    .card-row {
        flex-direction: column;
        margin-bottom: 30px;
        gap: 0;
    }

    .card {
        min-width: unset;
        margin-bottom: 20px;
        padding: 15px;
    }

    .image-card {
        order: -1;
        margin-bottom: 15px;
    }

    .image-card img {
        border-radius: 10px 10px 0 0;
    }

    .text-card {
        padding: 15px;
        text-align: center;
    }

    .text-card h2 {
        font-size: 1.6em;
        margin-bottom: 10px;
    }

    .text-card p {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    header {
        width: 90vw;
    }

    .Maria {
        width: 90vw;
    }

    h1 {
        font-size: 48px;
    }

    .pAbout {
        font-size: 18px;
    }

    .iKnow {
        width: 90vw;
    }

    .area {
        grid-template-columns: 1fr;
    }

    .area1,
    .area2,
    .area3 {
        width: 90vw;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 10px;
    }

    .card {
        border-radius: 5px;
        box-shadow: none;
        margin-bottom: 15px;
    }

    .text-card h2 {
        font-size: 1.4em;
    }

    .text-card p {
        font-size: 0.95em;
    }

    .image-card img {
        border-radius: 5px 5px 0 0;
    }
}

@media (max-width: 501px) {
    header {
        height: 10vh;
        padding: 0 15px;
    }

    .textLogo {
        font-size: 36px;
    }

    .hamburger-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 10vh;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 10;
        padding: 1rem 0;
        height: calc(100vh - 10vh);
        overflow-y: auto;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.9s ease-out, opacity 0.9s ease-out, visibility 0.9s;
    }

    .menu-toggle:checked ~ .main-nav {
        max-height: 100vh;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.9s ease-in, opacity 0.9s ease-in, visibility 0.9s;
    }

    .main-nav .about {
        flex-direction: column;
        width: 100%;
        align-items: center;
        padding-top: 1rem;
    }

    .main-nav .aHeader {
        margin: 0.75rem 0;
        font-size: 18px;
    }

    .main-nav .blue {
        margin-top: 0.5rem;
    }
}

@media (max-width: 430px) {
    header {
        padding: 0 10px;
    }

    .textLogo {
        font-size: 32px;
    }
}