@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html {
    font-size: 62.5%;
}

body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
    color: white;
}

header {
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.5));
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 3rem;
    color: blue;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover {
    transform: scale(1.1);
}

nav a {
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.activo {
    color: blue;
    border-bottom: 3px solid blue;
}

section {
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}

.contacto {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    background-color: black;
    padding-top: 5rem;
}

.contacto .contenidoContacto {
    text-align: center;
    max-width: 800px;
}


.contacto p {
    margin-top: 4rem;
    font-size: 1.6rem;
    margin-bottom: 3rem;
}

form {
    background-color: #312d2d;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: solid 2px blue;
}

.campo {
    margin-bottom: 1.5rem;
}

.campo label {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 0.5rem;
    text-align: left;
}

.campo input,
.campo textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1.6rem;
    border: 2px solid blue;
    border-radius: 8px;
    background-color: #000000;
    color: white;
}

.campo textarea {
    resize: vertical;
}

.boton {
    background-color: black;
    color: white;
    font-size: 1.6rem;
    padding: 1rem 3rem;
    border-radius: 4rem;
    border: 2px solid blue;
    cursor: pointer;
    transition: 0.3s ease;
}

.boton:hover {
    background-color: blue;
    color: black;
    box-shadow: 0 0 25px #ff4c60;
}

.iconosSociales a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 10rem;
    height: 10rem;
    background-color: transparent;
    border: 0.2rem solid blue;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: white;
}

.iconosSociales a:hover {
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: blue;
    box-shadow: 0 0 25px blue;
}

footer {
    text-align: center;
    margin-top: 5rem;
}

footer .iconosSociales {
    margin-top: 2rem;
}



@media (max-width: 995px) {
    .contacto {
        flex-direction: column;
        gap: 3rem;
    }

    .contacto p {
        margin-top: 4rem;
        font-size: 1.4rem;
    }

    .campo input,
    .campo textarea {
        font-size: 1.4rem;
    }

    .boton {
        font-size: 1.4rem;
    }
}

@media (max-width: 1024px) {
    header {
        padding: 1rem 5%;
    }

    nav a {
        font-size: 1.6rem;
        margin-left: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 1rem 5%;
        background-color: #09153f;
    }

    nav {
        margin-top: 1rem;
    }

    nav a {
        font-size: 1.4rem;
        margin-left: 1rem;
    }

    .textoTipieado span {
        font-size: 2rem;
    }

    .contacto p {
        margin-top: 12rem;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.5rem; 
    }

    nav a {
        font-size: 1.2rem;
    }
}
