*,*::after,*::before{
    box-sizing: border-box;
}

body{
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ccc;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main{
    overflow-y: scroll;
    background-color: white;
    height: calc(100vh - 50px);
    scroll-snap-type: Y proximity;
    scrollbar-width: 0;
    box-shadow:0 0 70px rgba(0,0,0,0.3);
}
.header{
    position: relative;
    box-shadow:0 0 80px rgba(0,0,0,0.3);
}
.header__logo{
    right: 0;
    z-index: 3;
    position: absolute;
    padding: 10px;
    font-size: 1.5rem;
    text-decoration: none;
    color: rgb(219, 172, 15);
}
.header__logo span{
    color: white;
}
.secs:nth-child(even){
    background-color:   rgb(255, 255, 255); /*Cambiar color diapo*/
}
main::-webkit-scrollbar{
    display: none;
}
.secs{
    scroll-snap-align: start;
    min-height: 100%;
    font-size: 1.3em;
    text-align: justify;
}
.secs:last-child{
    display: flex;
    flex-direction: column;
}
.container{
    width: 100%;
    max-width: 1200px;
    margin:0 auto;
}
.navbar{
    height: 50px;
    background-color: rgb(110, 107, 107);
    display: flex;
    align-items: center;
}
.footer p , .footer h3{
    text-align: center;
}
.navbar ul {
    margin: 0;
    list-style-type: none;
    justify-content: center;
    transition: transform 300ms;
    transform: scaleY(0%);
    position: absolute;
    transform-origin: top;
    background-color: rgb(110, 107, 107);
    width: 100%;
    top: 50px;
    z-index: 2;

}
.navbar ul li a {
    display: block;
    padding: 15px;
    color: white;
    text-decoration: none;
    transition:background 450ms ;
}
.navbar ul li a:hover {
    background-color: rgb(219, 172, 15);
}    
.section-title{
    margin: 0;
    padding: 0;
}
.footer{
    flex-wrap: wrap;
    gap: 2rem;
    display: flex;
    padding: 10px;
    margin-top: auto;
    background-color: rgb(219, 172, 15);
    color: white;
}
.servs{
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}
.det{
    flex: 1;
    text-align: justify;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.text-center{
    text-align: center;
}
#menu + label span{
    display: block;
    width: 30px;
    height: 4px;
    background-color: white;
    position: absolute;
    transition: transform 300ms;
    border-radius:30px;
}
#menu{
    display: none;

}
#menu + label{
    margin-left: 10px;
    width:30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 25px;
    position: relative;

}
#menu:checked + label span{
    top: 50%;
}
#menu + label span:nth-child(1){
    top:0;
}
#menu + label span:nth-child(3){
    bottom:0;
}
#menu:checked + label span:nth-child(1){
    transform: rotateZ(45deg);
    top: 50%;
}
#menu:checked + label span:nth-child(3){
    transform: rotateZ(-45deg);
    top: 50%;
}
#menu:checked + label span:nth-child(2){
    transform: scaleX(0);
    
}
#menu:checked ~ ul{ 
    display: block;
    transform: scaleY(100%);
}

.section__container{
    padding: 2rem;
}
.empr{
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}
.empr img{
    height: 170px;
}
.watchman span{
    color: rgb(219, 172, 15);
} 
.group{
    display: grid;
    grid-template-columns: 1fr ;
    justify-items: center;

}
.logop{
    width:300px;
}
.formulario{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;

}
.formcontrol:last-of-type{
    grid-column: 1/3;
}
.formcontrol input,.formcontrol textarea{
    font-family: 'Montserrat', sans-serif;
    transition: border 300ms;
    border: none;
    border-bottom: 2px solid black;
    width: 100%;
    padding: 12px;
    resize: none;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    outline: 0;
}
.formcontrol input:valid,.formcontrol textarea:valid{

    border-color: rgb(39, 197, 39);

}
.formcontrol input:not(:placeholder-shown):invalid,.formcontrol textarea:not(:placeholder-shown):invalid{
    border-color: red;
}
.btn{
    text-transform:uppercase;
    font-family: 'Montserrat', sans-serif;
    font-size:1rem;
    color:white;
    margin-bottom:2rem ;
    grid-column: 1/3;
    justify-self: center;
    background-color: rgb(219, 172, 15);
    padding: 1rem 2rem;
    border-radius:5px;
    outline:none;
    border:none;
      
}
.footer section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex:1;
}
.formcontrol label{
    position: absolute;
    left: 12px;
    transition: all 300ms;
    font-size: 1rem;
    top: 12px;
}
.formcontrol{
    position: relative;
}
.formcontrol input:focus + label, .formcontrol textarea:focus + label,
.formcontrol input:not(:placeholder-shown) + label, .formcontrol textarea:not(:placeholder-shown) + label{
    font-size: 0.8rem;
    top: -8px;
}
.redrc{
    width: 80px;
    height: 80px;
    background-color: rgb(59, 228, 73);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.4);
    position: fixed;
    bottom: 2rem;
    right: 2rem;
}
.redrc img{
    width: 100%;

}
.dwl{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:1rem;
}
#carga{
    gap: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 4;
}
#carga span{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 100%;
    border: 3px solid transparent;
    border-top: 5px solid  rgb(219, 172, 15);
    border-bottom: 5px solid  rgb(219, 172, 15);
    content:"";
    animation: cargando infinite 1000ms ;
}
#carga span::after{
    content: "WM";
    background-image: linear-gradient(to right,rgb(219, 172, 15) 1.5ch, black 2ch,black 100%);
    background-clip: text;
    text-fill-color:transparent;
    position: absolute;
    font-size: 20px;
    font-weight: bold;
    animation: cargandoW infinite 1000ms;
    -webkit-background-clip: text;
    -webkit-text-fill-color:transparent;
    
}
@keyframes cargandoW{
    from{
        transform: rotateZ(0deg);
    }
    to{
        transform: rotateZ(-360deg);
    }
}
@keyframes cargando{
    from{
        transform: rotateZ(0deg);
    }
    to{
        transform: rotateZ(360deg);
    }
}
@media screen and (min-width:1027px) {
    .dwl{
        grid-row: 1/4;
        grid-column: 2/3;
    }
    .group{
        grid-template-columns: 1fr 1fr;
    }
    .header__logo{
        right: initial;
    }
    main{
        scroll-snap-type: Y mandatory;
    }
    #menu + label{
        display: none;
    }
    .navbar ul {
        display: flex;
        position: initial;
        transform: scaleY(100%);
    }
}
@media screen and (min-width:1280px) {
    main{
        scroll-snap-type: none;
    }
}