* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family:'Montserrat', sans-serif;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

:root {
    --tono: 186;
    --complemento: 25;

    --color-primario-suave:  hsla(var(--tono), 82%, 50%, .25);
    --color-primario-oscuro: hsla(var(--tono), 82%, 14%, .5);
    --color-complemento-suave: hsla((var(--complemento)), 96%, 50%, .25);
    --color-complemento-oscuro: hsla((var(--complemento)), 100%, 14%, 0.5);

}
.contenedor_maestro {
    width: 800px;
    height: 500px;
    overflow-y: scroll;
    padding: 2rem;
    scroll-snap-type: y mandatory;
    
}

header.portada {
    scroll-snap-align: start;
    background-image: url(../img/webb.jpg), linear-gradient(
        hsla(186, 82%, 50%, .25),
        hsla(25, 96%, 50%, .25)
    ); 
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-attachment: fixed;
    width: 100%;
    height: 800px;
    
    display: grid;
    grid-template-rows: repeat(6, minmax(50px, 1fr));
    grid-template-columns: repeat(4, minmax(50px, 1fr));  
    overflow: hidden;  
    padding: 15px;
    animation: fondoBanner 10s ease-in-out infinite;

    a {
        font-size: 32px;
        align-items: center;
        justify-content: center;
        color: aliceblue;

    }

}

div.titulo {
    grid-column: 1/5;
    grid-row: 2/3;
    color: aliceblue;
    justify-content: center;
    place-items: center;
    
}

h1.titulo__h1 {
    border: 5px;
    font-weight: bolder;
    font-size: 2.5rem;
}

p.titulo__p {
    font-size: 30px;
    font-weight: lighter;
    
}

div.rrss {
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 350px;
    right: -115px;
    transform: rotate(-90deg);    
    color: aliceblue;
}

a.cotizar {
    grid-column: 2/4;
    grid-row: 5/6;
    display: flex;
    flex-direction: column;
    
    i {
        font-size: 4rem;
        animation: flotable-flecha 2s infinite;
    }
}

p.p {
    font-size: 16px;
    width: 149px;
    height: fit-content;
}
ul.camille {
    display: flex;
    gap: .5rem;
}
@keyframes fondoBanner {

    0% {
        background-position: 10%;
    }

    50% {
        background-position: 85%;
    }

    100% {
        background-position: 10%;
    }
}

@keyframes flotable-flecha {
    
    0% {transform: translateY(.2rem);}
    50% {transform: translateY(-.6rem);}
    100% {transform: translateY(.2rem);}
}

@keyframes flotable-flecha2 {
    
    0% {transform: translateY(.01rem);}
    50% {transform: translateY(-.9rem);}
    100% {transform: translateY(.01rem);}
}

section.contacto {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    padding: 10px;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 800px;

    background-image: linear-gradient(
        hsla(186, 82%, 14%, .5),
        hsla(25, 100%, 14%, 0.5)
    ), url("../img/webb-2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0%;
    background-attachment: fixed;
    animation: fondoBanner2 10s ease-in-out infinite;
}

@keyframes fondoBanner2 {

    0% {
        background-position: 10%;

    }

    50% {
        background-position: 85%;

    }

    100% {
        background-position: 10%;

    }
}


.formulario {
    position: relative;
    width: 90%;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, .45);
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
}

div {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 1rem;
    align-content: center;
    justify-items: center;
    color: white;

    input[type="text"],
    input[type="tel"],
    input[type="mail"],
    select {
        padding: .5rem;
        border-radius: 10px;
        border: 1px;
    }

    textarea {
        width: 100%;
        min-height: 10px;
        padding: .5rem;
        border-radius: 10px;
    }

    input:focus {
        outline: 2px solid rgb(18, 136, 209)

    }

}

div.presentacionformulario {
    text-align: center;

    h1 {
        font-weight: normal;
    }
}
input[type="submit"]{
    padding-top: .5rem;
    padding-bottom: .5rem;
    width: 100%;
    font-size: 1.2rem;
    border-radius: 3rem;
    border: 0px;
    background-color: rgb(0, 0, 0);
    color: white;
    font-weight: 800;
    cursor: pointer;
    position: absolute;
    width: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(10%);
}

input[type="submit"]:hover {
    background-color: var(--color-primario-oscuro);
}

@media screen and (min-width: 1080px) {

    header.portada {
        display: grid;
        grid-template-rows: repeat(6, minmax(25px, 1fr));
        grid-template-columns: repeat(5, minmax(25px, 1fr));  
        overflow: hidden;  
        padding-top: 0%;
        animation: fondoBanner 10s ease-in-out infinite;
        height: 1100px;
    
        a {
            font-size: 32px;
            align-items: center;
            justify-content: center;
            color: aliceblue;
    
        }
    
    }
    
    div.titulo {
        grid-column: 1/4;
        grid-row: 2/4;
        color: aliceblue;
        justify-content: center;
        place-items: center;
        
    }
    
    h1.titulo__h1 {
        border: 5px;
        font-weight: bolder;
        font-size: 4rem;
    }
    
    p.titulo__p {
        font-size: 3rem;
        font-weight: lighter;
        
    }
    
    a.cotizar {
        grid-column: 3/4;
        grid-row: 5/7;
        display: flex;
        flex-direction: column;

        i {
            font-size: 4rem;
            animation: flotable-flecha2 2s infinite;
        }
    }
    
    div.rrss {
        display: flex;
        flex-direction: row;
        position: absolute;
        top: center;
        right: -115px;
        transform: rotate(-90deg);    
        color: aliceblue;
    }

    section.contacto {

        scroll-snap-align: start;
        display: flex;
        flex-direction: row;
        flex-grow: unset;
        padding: 35px;
        top: 0%;
        width: 100%;
        height: 1100px;
        gap: 35px;
    
        background-image: linear-gradient(
            hsla(186, 82%, 14%, .5),
            hsla(25, 100%, 14%, 0.5)
        ), url("../img/webb-2.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 0%;
        background-attachment: fixed;
        animation: fondoBanner2 10s ease-in-out infinite;
    }

    .formulario {
        position: relative;
        width: 50%;
        height: fit-content;
        padding: 1.5rem;
        background-color: rgba(0, 0, 0, .45);
        box-shadow: 0 0 10px rgba(0, 0, 0, .15);
        backdrop-filter: blur(20px);
        border-radius: 1rem;
    }
    
    div {
        display: flex;
        flex-direction: column;
        gap: .5rem;
        margin-bottom: 1rem;
        align-content: center;
        justify-items: center;
        color: white;
        font-size: 20px;
    
        input[type="text"],
        input[type="tel"],
        input[type="mail"],
        select {
            padding: .5rem;
            border-radius: 10px;
            border: 1px;
            font-size: 20px;
        }
        
        textarea {
            width: 100%;
            min-height: 10px;
            padding: .5rem;
            border-radius: 10px;
            font-size: 20px;
        }
}
}
