/* Common */
body, html {
    height: 100%;
    font-family: 'Alegreya Sans', sans-serif;
}


@media (max-width: 768px) {

    .navbar .logo {
        float: right;
        margin-left: 80%;
       }

    .navbar .logo img {
        height: 64px;
        width: 64px;
       }  

    #header {
        text-align: center;
    }

    #social {
        text-align: center;
    }

    #social hr, #about hr, #branches hr, #preschool hr, #kidsclub hr {
        margin: 8% auto;
    }

    #about {
        text-align:center;
    }
    #about .company {
        margin-top:5%;
        text-align: justify;
    }

    #why,#branches,#preschool,#kidsclub {
        text-align: center;
    }

    #why h3 {
        font-size:large;
    }

    #footer {
        text-align:center;
    }
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
  }

/* Navigation */
.navbar {
    background-color:#fff;
    border-bottom: 1px solid #A0A0A0;
    font-family: 'Alegreya Sans', sans-serif;
    font-weight: bold;
}

.navbar .call {
    text-decoration: none;
}

.navbar .navbar-nav .nav-link, .navbar .call {
    color: #dedede;
}

.navbar .navbar-nav .nav-link:hover {
    color: #00b1c1;
}

.navbar-toggler-icon {
    color: #00b1c1;
}

.navbar .logo {
    position: absolute;
    width: 96px;
    top: 1em;
    left: 1em;
    display: inline;
   }

#overlay {
    background-color:transparent;
    position: fixed;
    z-index: 9999;
}

.centered {
  position: fixed; /* or absolute */
  top: 50%;
  left: 50%;
}

.cursive {
    font-family: 'Handlee', cursive;
    font-weight: bold;
    font-size: 2rem;
    color: orangered;
}

.leadtag1 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
}

.leadtag2 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
}

#header {
    padding: 8rem 0 0 0;
}

/* Social */

#social {
    padding: 5rem 0;
}

#social .fab {
    font-size: 2em;
    color: #00b1c1;
    border: 2px solid;
    width: 60px;
    height: 60px;
    border-radius: 30%;
    text-align: center;
    padding: 20% 0;
    margin-top: 10px;
    transition: all 0.5s ease-in-out;
}

#social .fab:hover {
    color: #fff;
    background: #00b1c1;
}

/* About */
#about {
    padding:3rem 0;
    background-color: white;
    /*background-color:#f9fcfc;*/
    /*background-color: #FFDEE9;
    background-image: linear-gradient(0deg, #FFDEE9 0%, #B5FFFC 100%);    */
}

#about .company {
    text-align: justify;
}

#about .btn-who {
    background-color:#00b1c1;
    color:#fff;
    width:50%;
}

#about .btn-who:hover {
    background-color:transparent;
    border:1px solid #00b1c1;
    color:#00b1c1;
}

#about .img-fluid, #branches .img-fluid, #preschool .img-fluid, #kidsclub .img-fluid {
    border-radius: 1rem;
}

#about ul {
    padding: 1em 0;
}

#about .fas, .far {
    color: blueviolet;
}

/* Classes */
#work {
    padding:5rem 0;
}

#work .work-img {
    position:relative;
}

#work .work-img .img-overlay {
    position:absolute;
    top:0;
    left:0;
    background-color:rgba(0,0,0,0.5);
    width:100%;
    height:100%;
    background-image: url('../images/eye.png');
    background-position:center center;
    background-repeat:no-repeat;
    opacity:0;
    z-index:0;
    transition:all 0.3s ease-in-out;
}

#work .work-img .img-overlay:hover {
    opacity:1;
    z-index:1;
}

#work .card-img-top {
    margin-top: 1rem;
    height: 10rem;
    width: 10rem;
}

#work .fas {
    padding:0 5px;
    color: #9a56ba;
}

/* Why */
#why {
    background-color: whitesmoke;
}
#why, #team, #branches, #preschool, #kidsclub {
    padding: 5rem 0;
    /*background-color: #f8f8f8;*/
}
#why,  #contact h2 {
    color: #00b1c1;
}

.red-color {
    color: #e63c3c;
}

.purple-color {
    color: #9a56ba;
}

.green-color {
    color: #79b846;
}

.grey-color {
    color: #A0A0A0;
}

.blue-color {
    color: #00b1c1;
}

.rose-color {
    color: #fec6c7;
}

.yellow-color {
    color: #ffde62;
}

.white-color {
    color: #fff;
}

.double-line {
    background-color: #fec6c7;
    background-image: linear-gradient(180deg, #fec6c7 35%, #ffde62 100%);
    height: 3px;

}

#team h5.feature {
    padding: 0.5rem 0 0 0;
}

#why p.feature, #team p.feature {
    
    padding: 0 1rem;
    color: #4d4646;
}

#why h4.feature {
    padding-bottom: 2rem;
}

#why .lastrow {
    padding-top: -5rem;
}

/*Customers*/

#customers {
    color: #f0f0f0;
}

#customers h2 {
    margin-top: 5%;
    color: #00b1c1;
}


.parallax-customers {
    background: 000;
    background: linear-gradient(
        rgba(0,0,0,0.1),
        rgba(0,0,0,0.2)
    ),
    url(../images/inkypalms_daycare.jpg);
    background-attachment:fixed;
    background-position:center;
    background-repeat: no-repeat;
    height: 480px;   
}


#customers .carousel-indicators li {
    background-color:#00b1c1;
}

#customers .carousel-indicators li.active {
    background-color:#ffde62;
}

#customers .carousel-inner {
    margin-bottom:50px;
}

#customers .carousel-indicators {
    margin-bottom:-50px;
}

/*Contact*/
#contact {
    padding: 5rem 0;
    background: #f6f6f6;
}
#contact .form-layout {
    padding: 0.5rem 0;
}

/*FOOTER*/

#footer {
    padding:2rem 0;
    background-color:#484848;
    color:white;
}

#footer a {
    color:white;
    text-decoration: none;
}

footer a:hover {
    color:#00b1c1;
}

#footer .fab {
    padding:0 5px;
}

#footer .fab:hover {
    color: #00b1c1;
    transition: all 0.2s ease-in-out;
    transform:scale(1.5);
}

#footer p a:hover {
    color: #00b1c1;
    transition: all 0.2s ease-in-out;
}

#footer .list-unstyled a:hover {
    color: #00b1c1;
    transition: all 0.2s ease-in-out;
}