/*
Theme Name: guarderia
Theme URI: 
Author: IVAN GUEVARA 
Author URI: guevara.develop@gmail.com
Description:
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: guarderia
Tags: guarderia
*/

@font-face {
    font-family: 'Social Media Circled Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Social Media Circled Regular'), url('./fonts/Social Media Circled.woff') format('woff');
}

@font-face {
    font-family: 'Generica Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Generica Regular'), url('./fonts/Generica.woff') format('woff');
}


@font-face {
    font-family: 'Generica Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Generica Bold'), url('./fonts/Generica_Bold.woff') format('woff');
}

:root{    
    --primary-font: "Montserrat", sans-serif;
    --secondary-font:"Fredoka", sans-serif;  
    --social-media: 'Social Media Circled Regular';
    --light-green: #C2E8DE;
    --green-color:#93CDB4;
    --green-color2:#CED063;
    --gray-color:#868484;
    --orange-color:#FFA90B;
    --brown-color:#683037;
    --pink-color:#EE779B;    
}

body{
    font-family:var(--primary-font);        
    font-size: 15px;
    line-height: 24px;    
    position: relative;
    color:var(--text-color);
    letter-spacing: 2px;
    background:#F1F0E5;
}

h2{
    font-size: 64px;
    line-height: 100%;
    font-weight: 600;
}

h3{
    font-size: 40px;
    line-height: 100%;
    font-weight: 600;
}

h4{
    font-size: 24px;
    line-height: 110%;
    font-weight: 600;
}

h5{
    font-size:14px;
    line-height: 17px;
}

header{      
    background: var(--light-green);  
}

header nav {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding:15px 0px 0px 0px;
}

.menu-header{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav ul{
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

footer ul{
    padding: 0px;
    list-style-type: none;
    margin:0px;
}

nav ul li{     
    text-decoration: none;
}

footer ul li {    
    margin:15px 0px;
    text-decoration: none;
}

nav ul li a{        
    font-family: var(--secondary-font);
    font-size: 20px;
    font-weight: 400;
    line-height: 100%;
    color:var(--gray-color) !important;
    padding:3px 30px;
    transition: all .5s ease;
}

nav ul li a:hover{
    color:var(--gray-color);
}

nav ul li:first-child{    
    width:160px;
}

nav ul li:first-child a{
    color:white !important;    
    font-size:32px;
    background:var(--orange-color);
    text-transform: uppercase;    
    height:130px;
    position: absolute;
    top:0px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.uppercase{
    text-transform: uppercase;
}

.menu-header .dropdown .btn{
    background:none;
    color:#A6A9AB;
    display: flex;
    align-items: center;
    font-size:20px;
    font-weight: bold;
    outline: none;
}

.menu-header .dropdown .dropdown-menu{
    width:100%;
    min-width: 100%;
}

.menu-header .dropdown .dropdown-menu div{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size:20px;
}

.social-media-circled{
    font-family: var(--social-media);
    font-size:20px;
    font-weight: 100;
}

.social a{
    color:var(--orange-color);
    text-decoration: none;
    opacity:1;
    transition: opacity .5s ease;
}

.social a:hover{
    opacity: .8;
}

#home{    
    background:url(./images/bg-inicio.jpg) no-repeat center center / cover;
}

#home .pleca{
    padding-top:100px;    
    min-height: 80vh;
    display: flex;
    align-items: center;    
}

#home .pleca h1{
    font-family: var(--secondary-font);
    font-size:64px;
    line-height: 100%;
    font-weight: 600;
    margin-bottom: 0px;
}

#home .pleca h2{
    font-family: var(--secondary-font);
    font-size:36px;
    line-height: 100%;
    font-weight: 600;
    margin-top: 0px;
}


#home .pleca .btn{
    font-size:36px;
    line-height: 100%;
    border-radius: 72px;
}

#home .pleca p{
    font-size:24px;
    line-height: 120%;
}

#instalaciones .cont-info{
    position: relative;
    height: 190px;
    padding:0px 30px;
}

#instalaciones .cont-info .info{
    position: absolute;
    top:0px;
    left:30px;
    z-index: 2;
}

#instalaciones .cont-info .info ul li{
    display: inline-block;
    padding-left:10px;
    position: relative;
    list-style-type: none;
}

#instalaciones .cont-info .info ul li:before{
    content:'';
    position: absolute;
    left:0px;
    top:8px;
    width:7px;
    height: 7px;
    background: var(--pink-color);
    border-radius: 50%;
}

.texto-sobre-imagen{
    width:80%;    
    background:rgba(254,254,254,.8);
    color:var(--brown-color);
    font-weight: bold;
    font-size:28px;
    padding:15px;  
    text-align: center;
    position: absolute;
    z-index: 14;
    bottom: 60px;
    left: 10%;  
}


.contacto .form-group{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    margin-bottom: 20px;
}

.contacto .form-group.invalid label{
    color:red;
}

.contacto .form-group input{
    height:45px;
}

.contacto .form-group input, .contacto .form-group textarea{
    width:100%;
    outline:0;  
    border:none;  
    padding:10px;
    background:white;
}

.contacto .form-group label{
    font-family: var(--secondary-font);
    font-size:25px;
    color:white;
    line-height: 110%;
}

.contacto .form-group input[type=radio]{
    width:50px;
    border:none;
    accent-color: var(--brown-color);
}

.contacto .form-group textarea{
    height:150px;
    resize: none;   
}

.contacto input[type=submit]{    
    font-size:50px;
    font-weight: bold;
    line-height: 110%;    
    color:white;
    border-radius: 28px;
    padding:15px 30px;
    border:none;
    outline: none;

}

.contacto .form-group input[type=submit]:disabled{
    opacity:.7;
}

.contacto .form-group input[disabled]{
    background: gray !important;
}

.contacto .form-group.invalid input, .form-group.invalid textarea{
  border-color:var(--red-color);
}

.contacto .thanks{
    text-align:center;
    margin:20px auto;   
}

.contacto .thanks{ 
    width: 100%;
    text-align: center;
    margin-top: 31px;
    font-size: 18px;    
    font-weight: normal;
    visibility: hidden;
    opacity:0;
    transition:opacity 1.5s linear;
}

.contacto .thanks.thanks-visible{
    visibility: visible !important;
    opacity: 1 !important;
}

footer .social-media-circled{
    font-size:43px;
    line-height: 27px;
}

@media all and (max-width: 991px){
    div#home {
        background-position: 0px center;
    }
}

@media all and (max-width: 767px){
    h2{
        font-size:25px;
    }  

    h3{
        font-size: 16px;
    }

    h4{
        font-size:18px;
    }  

    #home .pleca {        
        min-height: 100vw;        
    }

    #home .pleca .btn{
        font-size:18px;
    }

    #home .pleca h1{
        font-size:50px;
    }

    #home .pleca h2{
        font-size:28px;
    }
    .contacto .form-group label{
        font-size: 20px;
    }

    .contacto input[type=submit] {
        font-size: 30px;
    }

    footer p{
        text-align: center;
    }
}