@import url('https://fonts.googleapis.com/css2?family=Kanit: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&family=Playwrite+NO:wght@100..400&family=Playwrite+PL:wght@100..400&display=swap');

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 35px;
    background-color: antiquewhite;
    color: #333;
}

h1,
h4 {
    margin: 0;
    padding: 0;
}

p {
    line-height: 1.6;
}

header {
    width: 90%;
    max-width: 1400px;
    background-color: #7A1D3A;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

nav {
    width: 90%;
    max-width: 1300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.logo {
    color: rgb(218, 216, 216);
    font-size: 28px;
    font-weight: bold;
}

.logo span {
    color: #C3A056;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

nav ul li {
    margin: 15px 15px;
}

nav ul li a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #717976;
}

main {
    margin: 40px 120px;
}

.about-section {
    display: flex;
    justify-content: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    width: 90%;
    max-width: 1400px;
    margin: auto;
}

.inforedes {
    display: flex;
    align-items: center;
    gap: 5px;
}

.about-text .inforedes p {
    font-size: 25px;
}

.social-icons img {
    width: 55px;
    margin: 0 10px;
}

.about-text h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 65px;
    font-weight: bold;
    color: #064E3B;
    margin: 0;
    line-height: 1.1;
}

.about-text h4 {
    font-size: 32px;
    margin: 20px 0;
}

.about-text p {
    font-size: 20px;
}

.about-text hr {
    margin: 25px 0;
    border-top: 2px solid #555;
}

.about-photo {
    text-align: center;
}

.about-photo img {
    border: 5px double #555;
    width: 80%;
    max-width: 350px;
    border-radius: 10px;
    object-fit: cover;
}

.parte2 h3 {
    font-size: 30px;
    margin: 0;
}

.contenidoparte2 {
    display: flex;
    align-items: center;
}

.contenidoparte2 p {
    padding: 25px;
    font-size: 19px;
}

.contenidoparte2 img {
    border: 5px solid #555;
    max-width: 450px;
    width: 350px;
    height: 100%;
    border-radius: 15px;
}

section {
    padding: 10px 0;
}

footer {
    color: rgb(0, 0, 0);
    background-color: #C3A056;
}

footer .redes {
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.redes img {
    width: 55px;
    margin: 0 15px;
}

footer p {
    font-size: 25px;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 5px;
}

.copy {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    color: #BE9494;
    background-color: #7A1D3A;
}

.about-text {
    width: 120%;
}

.about-photo {
    width: 120%;
}

h3 {
    font-size: 40px;
}


@media (max-width: 992px) {

    main {
        margin: 40px 40px;
    }

    .about-grid {
        display: flex;
        gap: 20px;
        grid-template-columns: 1fr;
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-text {
        width: 100%;
    }

    .about-photo {
        width: 100%;
    }

    .contenidoparte2 {
        flex-direction: column-reverse;
        padding: 0 0;
        text-align: center;
    }
}


@media (max-width: 480px) {

    header {
        padding: 8px;
        border-radius: 10px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    nav ul li {
        margin: 5px 0;
    }

    main {
        margin: 20px 15px;
    }

    .about-text h1 {
        font-size: 40px;
    }

    .about-text h4 {
        font-size: 22px;
    }

    .about-text p {
        font-size: 17px;
    }

    .social-icons img {
        width: 40px;
        margin: 0 5px;
    }

    .about-photo img {
        width: 100%;
        max-width: 280px;
    }

    .contenidoparte2 {
        flex-direction: column-reverse;
    }

    .contenidoparte2 img {
        margin: 15px;
        width: 250px;
        max-width: 90%;
    }

    .contenidoparte2 p {
        margin: 0px;
    }

    footer p {
        font-size: 18px;
        padding: 0 10px;
        text-align: center;
    }

    .copy {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

html,
        body {
            height: 100%;
            margin: 0;
        }

        body {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        main {
            flex-grow: 1;
        }

        footer {
            margin-top: auto;
        }