* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #05353e;
    color: #05353e;
    font-family: 'Open Sans', sans-serif;
}

.logoymenu {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menuicon {
    box-shadow: none;
    border: none;
    cursor: pointer;
    display: none;
    text-align: center;
    justify-content: center;
    padding: 18px;
    border-radius: 50px;
    background-color: #ffffff;
}

.menuicon:hover {
    background-color: #c2c2c2;
}

.menuicon img {
    width: 44px;
    height: 44px;
}

#navbar {
    background-color: #05353e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10%;
    transition: all 0.3s ease;
}

#navbar li {
    display: inline-block;
    padding: 0 42px;
    list-style: none;
}

#navbar li button {
    cursor: pointer;
    font-size: 18px;
    letter-spacing: 0.04em;
    color: #ffffff;
    background-color: transparent;
    border: 0;
    transition: color 0.2s ease;
}

#navbar li button a {
    padding: 12px;
    text-decoration: none;
    color: inherit;
}

#navbar li button:hover {
    color: #a5ff56;
}

.logo {
    cursor: pointer;
}

.logo a {
    display: block;
}

.logo img {
    width: 160px;
    height: auto;
}

@media screen and (max-width: 980px) {
    .menuicon {
        display: flex;
    }

    #navbar {
        display: block;
    }

    #navbarelements {
        display: none;
        justify-content: center;
        text-align: center;
        margin: 36px 0 48px;
    }

    #navbar li {
        display: block;
        padding: 18px;
    }
}

@media screen and (max-width: 420px) {
    .logoymenu {
        padding: 12px;
    }

    .menuicon img {
        width: 32px;
        height: 32px;
    }

    .logo img {
        width: 104px;
    }
}

.mainbody {
    position: relative;
    text-align: center;
    background-color: #c1dddd;
}

.textosuperpuesto {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8vw 2rem;
    background-color: rgba(5, 53, 62, 0.82);
}

.textosuperpuesto h1 {
    font-family: 'Antonio', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    color: #a5ff56;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.backgroundimage {
    width: 100%;
    display: block;
}

main.legal {
    background-color: #cce9e8;
    padding: clamp(56px, 8vw, 96px) clamp(24px, 10vw, 160px);
    color: #05353e;
}

.legal-header {
    max-width: 960px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.legal-header strong,
.legal-header span {
    display: block;
}

.legal-section {
    max-width: 960px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.legal-section h2 {
    font-family: 'Antonio', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    color: #05353e;
    text-transform: uppercase;
}

.legal-section p {
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.legal-section ul {
    margin: 12px 0 24px 24px;
    padding-left: 16px;
}

.legal-section ul li {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.legal-notice {
    max-width: 960px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #0f5964;
}

main.legal a {
    color: #0f5964;
    text-decoration: underline;
    font-weight: 600;
}

#contacto {
    padding: 72px 10%;
    background: linear-gradient(#05353e, #c1ddd5);
    color: #a5ff56;
    font-family: 'Antonio', 'Open Sans', sans-serif;
}

.contactoelements {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.contacto_container {
    max-width: 420px;
}

.contacto_container h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    text-align: center;
    margin-bottom: 36px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.contact-item img {
    width: 44px;
    height: 44px;
}

.contact-item span {
    font-size: 1.35rem;
    font-weight: 600;
    color: #05353e;
}

.phoneimage {
    width: min(420px, 32vw);
}

@media screen and (max-width: 920px) {
    main.legal {
        padding: 56px 32px;
    }
}

@media screen and (max-width: 620px) {
    #contacto {
        padding: 48px 24px;
    }

    .contact-item span {
        font-size: 1.1rem;
    }

    .phoneimage {
        display: none;
    }
}

footer {
    background-color: #05353e;
    text-align: center;
    padding: 36px 10%;
}

footer ul {
    list-style: none;
    display: inline-flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

footer li {
    color: #a8c2c8;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

footer a {
    color: inherit;
    text-decoration: none;
}

.section2 li {
    color: #a5ff56;
}

.section2 li img {
    width: 28px;
    height: 28px;
}

.section3 li {
    color: #28beda;
}
