* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


/* CONTAINER */

body {
    background-image: url(../img/fondoweb3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Titillium Web', sans-serif;
    font-size: 15pt;
    min-width: fit-content;
    }

.container {
    height: auto;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;  
    gap: 100px;
    min-width: fit-content;

} 

/* NAVEGACIÓN */

header {
    min-height: 90px;
    height: fit-content;
    background-color: #F1EEEE;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    box-shadow: rgb(172, 172, 172) 0px 3px 15px;
    position: fixed;
    width: 100%;
    z-index: +11;
    
}

.hamb {
    display: none;
    position: absolute;
    z-index: +15;
    left: 0px;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
}

.hamb:hover {
    background-color: #99CCFF;
}

#toggle {
    display: none;
}

#toggle:checked ~ .navbar {
display: none;
} 

.logolink {
    margin-left: 9%;
    height: 40px;
    width: auto; 
    
}

/*.imglogo {
    width: 180px;   
    
}*/


.navbar {
    margin-right: 9%;
    white-space: nowrap;
    display: block;
}

.hamburger {
    margin-left: 25px;
}

.navbar ul li {
    display: inline-block;
    margin-left: 50px ;
}

ul li a {
    color: black;
    font-weight: 600;
    font-size: 0.75em;
    padding-bottom: 25px;
    transition: all 100ms ease;
    
}

ul li a:hover {
    color: #99CCFF;
    border-bottom: solid 6px #99ccff;
    
}


/* FIGURAS */

.figure1 {
    background-color: rgba(153, 204, 255, 0.7);
    height: 900px;
    width: 34%;
    position: absolute;
    top: 90px;
    z-index: -3;
    display: block;
    border-radius: 0 0 40px 0;
    
}


.figure2 {
    width: 66%;
    z-index: -2;
    position: absolute;
    top: 160px;
    left: 140px;
    border-radius: 40px;
    height: 700px;
    background-image: url(../img/beach.jpg);
    animation: slide 30s infinite;
    animation-timing-function:(0.1,1,1,0.1);
    opacity: 0.7;

}

@keyframes slide {
    25% {background: url(../img/office2.jpg);}
    50% {background: url(../img/car.jpg);}
    75% {background: url(../img/office.jpg);}
    100% {background: url(../img/beach.jpg);}
}


/* PRINCIPAL */

.main {
    width: 82%;
    margin-top: 200px;
    row-gap: 70px;
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    flex-wrap: wrap; 
    margin-bottom: 300px;
    
}

.maintext {
    width: 60%;
}

h1 {
 /* font-size: 5.5vw; */
    font-weight: 600;
    font-size: 4em;
    line-height: 1.4em;
    text-shadow: 3px 4px 5px gray;
    padding-left: 60px;
    
}

h2 {
    font-size: 3.25em;
}

h3 {
    font-weight: 600;
    font-size: 1.25em;
}

h4 {
    padding-top: 25px;
    font-size: 1em;
    font-weight: 600;
}

p {
    font-size: 0.75em;
}

.whatsapp {
    background: linear-gradient(0deg, rgba(153,204,255,1) 0%, rgba(241,238,238,1) 75%);
    width: 28%;
    min-width: 300px;
    height: auto;
    min-height: 450px;
    padding: 60px;
    align-items: center;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: center;
    box-shadow: 0px 4px 7px rgb(163, 163, 163);
    
}


.wsap {
    width: 150px;
    height: 150px;
}

.escribinos {
    width: auto;
    height: auto;
}

.btnwhatsapp {
    width: 200px;
    height: 50px;
    border-radius: 15px;
    border: none;
    box-shadow: 1px 2px 4px rgb(163, 163, 163);
    font-weight: 600;
    font-size: 0.75em;
}

/* NOSOTROS */

.nosotros {
    width: 82%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 10px;
    
}

.infoai {
    display: flex;
    flex-direction: row;
    margin-top: 45px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px;
}

.aboutus {
    width: 300px;
    height: 300px;
    margin-top: 14px;
}

.aboutus img {
    width: 300px;
    height: 300px;
    border-radius: 40px;
    box-shadow: 0px 4px 7px rgb(163, 163, 163);
}

/* SERVICIOS */

.servicios {
    width: 100%;
    height: auto;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    /* background: linear-gradient(0deg, rgba(153,204,255,1) 0%, rgba(180,215,250,1) 0%, rgba(241,238,238,1) 100%); */
    padding: 10px;
    padding-bottom: 25px;
    /* box-shadow: gray 1px 3px 10px; */
}

.servicios h2 {
    text-decoration: underline 3px;
}

 hr {
    border: 0px solid #F1EEEE;
    width: 82%;
}

.service {
    height: auto;
    width: 300px;
    text-align: left;

}

.service h3 {
    margin-top: 45px;
    text-decoration: underline;
}

.service h4 {
    margin-top: 15px;
    padding-right: 25px;
}

.service ul {
    margin-top: 60px;
    list-style: square;
}

.service ul li {
    margin-left: 25px;
    padding-bottom: 15px;
    font-size: 0.75em;
}

/* COMPAÑIAS */

.compañias {
    background-color: rgba(153, 204, 255, 0.7);
    width: 82%; 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    border-radius: 40px;
    box-shadow: 0px 4px 7px rgb(163, 163, 163);
    padding: 10px;
    
}

.companies {
    display: flex;
    flex-direction: row;
    padding-bottom: 12px;
    border-radius: 40px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px;
    padding-top: 80px;
}

.company {
    width: 300px;
    height: 300px;
    background-color: bisque;
    border-radius: 40px;
}

.complogo {
    width: 300px;
    height: 300px;
    border-radius: 20px;
}

/* CONTACTO */

.contacto {
    width: 82%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 120px;
    flex-wrap: wrap;
    padding: 10px;
}

.textform {
    margin-bottom: 50px;
} 

.contact-form {
    width: 45%;
    text-align: center;
}

.contacto input {
    background-color: #F1EEEE;
    height: 35px;
    margin-top: 15px;
    padding-left: 20px;
    width: 100%;
    border-radius: 10px;
    border: 2px solid #99CCFF;
    box-shadow: 4px 4px 7px rgb(163, 163, 163); 
    
    
}

textarea {
    background-color: #F1EEEE;
    height: 140px;
    margin-top: 15px;
    padding-left: 20px;
    padding-top: 5px;
    width: 100%;
    border-radius: 10px;
    border: 2px solid #99CCFF;
    box-shadow: 4px 4px 7px rgb(163, 163, 163);
    
}

input[id="submit"] {
    width: 50%;
    background-color: #99ccff;
    color: white;
}

iframe {
    min-width: 250px;
    border-radius: 40px;
    height: 600px;
    width: 45%;
    box-shadow: 4px 4px 7px rgb(163, 163, 163);
}

footer {
    background-color: #F1EEEE;
    font-weight: 600;
    width: 100%;
    display: flex;
    gap: 26px;
    align-items: center;
    justify-content: space-between;
    height: fit-content;
    min-height: 150px;
}

footer article {
    margin-left: 9%;
}

.social {
    margin-right: 9%;
}

.social a {
    width: auto;
    height: auto;
}

.social img {
    padding-left: 15px;
    padding-top: 15px;
}


/* JQUERYS */

@media screen and (min-width: 1800px) {
    h1 {
        font-size: 5em;
    }
  }

@media screen and (max-width: 1500px) {
   
    .contacto {
       gap: 80px;
        
    }
    
    iframe {
        width: 100%;
    }
    .contact-form {
        width: 100%;
        
    }
    #name {
        width: 70%;
        
    }
    #mail {
        width: 70%;
        
    }
    #subject {
        width: 70%;
        
    }
    #message {
        width: 70%;
        
    }
    
  }

@media screen and (max-width: 1200px) {
    h1 {
        font-size: 3.5em;
        padding-left: 25px;
    }
    .figure2 {
        position: absolute;
        top: 160px;
        left: 70px;
    }  
  }

@media screen and (max-width: 1000px) {
    .maintext {
        width: 100%;
    }
    .whatsapp {
        width: 60%;
    }
    .main {
        justify-content: center;
        margin-bottom: 0px;
    }
    .figure2 {
        width: 84%;
    } 
  }

  @media screen and (max-width: 800px) {
    h1 {
        font-size: 2.75em;
    }

    .companies {
        gap: 13px;
        padding-top: 45px;
    }

    .company {
        width: 150px;
        height: 150px;
    }
    
    .complogo {
        width: 150px;
        height: 150px;
    }
  }

  @media screen and (max-width: 768px) {
    header {
        flex-direction: column;
    }
    .hamb {
        display: inline-block;
    }

    .navbar {
        margin: 0;
        visibility: visible;
    }
    .logolink {
        margin-left: 0;
        margin-top: 20px;
        
    }
    .imglogo {
        margin-left: 0;
        margin-bottom: 0;
        
    }
    .navbar ul li {
        margin: 15px;
    }
    ul li a {
        padding-bottom: 11px;
        
    }
    footer p {
        font-size: 0.4em;
        
    }
    .legal {
       width: 150px;
        
    }
    
  }

  @media screen and (max-width: 600px) {
    h1 {
        font-size: 2.5em;
        padding-left: 40px;
    }

    .figure2 {
        position: absolute;
        top: 160px;
        left: 50px;
    }  

    iframe {
        height: 450px;
    }
    
  }

  @media screen and (max-width: 430px) {
    h1 {
        font-size: 2.2em;
    }

    .navbar ul li {
        margin-left: 6px ;
        margin-right: 6px;
    }

    .compañias {
        width: 100%;
    }

    iframe {
        height: 300px;
    }

    .social {
        margin: 0;
     }

    .social img {
        width: 25px;
        padding: 0;
     }

     footer article {
        margin-left: 4%;
    }
    
    footer {
        gap: 20px;
    }
    
  }

