/*!
 * Start Bootstrap - Grayscale v5.0.9 (https://startbootstrap.com/template-overviews/grayscale)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-grayscale/blob/master/LICENSE)
 */

 #mainNav {
    min-height: 56px;
    background-color: #fff;
}
#mainNav .navbar-toggler {
    font-size: 80%;
    padding: 0.75rem;
    color: #0070a4;
    border: 1px solid #0070a4;
}
#mainNav .navbar-toggler:focus {
    outline: 0;
}
#mainNav .navbar-brand {
    color: #161616;
    font-weight: 700;
    padding: 0.9rem 0;
}
#mainNav .navbar-nav .nav-item:hover {
    color: fade(white, 80%);
    outline: 0;
    background-color: transparent;
}
#mainNav .navbar-nav .nav-item:active,
#mainNav .navbar-nav .nav-item:focus {
    outline: 0;
    background-color: transparent;
}
@media (min-width: 992px) {
    #mainNav {
        padding-top: 0;
        padding-bottom: 0;
        border-bottom: none;
        background-color: transparent;
        transition: background-color 0.3s ease-in-out;
    }
    #mainNav .navbar-brand {
        padding: 0.5rem 0;
        color: rgba(255, 255, 255, 0.5);
    }
    #mainNav .nav-link {
        transition: none;
        padding: 2rem 1.5rem;
        color: rgb(255 255 255);
    }
    #mainNav .nav-link:hover {
        color: rgba(255, 255, 255, 0.75);
    }
    #mainNav .nav-link:active {
        color: #fff;
    }
    #mainNav.navbar-shrink {
        background-color: #fff;
    }
    #mainNav.navbar-shrink .navbar-brand {
        color: #161616;
    }
    #mainNav.navbar-shrink .nav-link {
        color: #161616;
        padding: 1.5rem 1.5rem 1.25rem;
        border-bottom: 0.25rem solid transparent;
    }
    #mainNav.navbar-shrink .nav-link:hover {
        color: #0070a4;
    }
    #mainNav.navbar-shrink .nav-link:active {
        color: #467370;
    }
    #mainNav.navbar-shrink .nav-link.active {
        color: #0070a4;
        outline: 0;
        border-bottom: 0.25rem solid #0070a4;
    }
}
.masthead {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 35rem;
    padding: 15rem 0;
}
.masthead h1 {
    font-family: "Varela Round";
    font-size: 2.5rem;
    line-height: 2.5rem;
    letter-spacing: 0.8rem;
    background: -webkit-linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}
.masthead h2 {
    max-width: 20rem;
    font-size: 1rem;
}
@media (min-width: 768px) {
    .masthead h1 {
        font-size: 4rem;
        line-height: 4rem;
    }
}
@media (min-width: 992px) {
    .masthead {
        height: 100vh;
        padding: 0;
    }
    .masthead h1 {
        font-size: 6.5rem;
        line-height: 6.5rem;
        letter-spacing: 0.8rem;
    }
    .masthead h2 {
        max-width: 30rem;
        font-size: 1.25rem;
    }
}
.btn {
    box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
    padding: 1.25rem 2rem;
    font-family: "Varela Round";
    font-size: 80%;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    border: 0;
}
.btn-primary {
    background-color: #0070a4;
    margin: 15px 0px;
}
.btn-primary:hover {
    background-color: #f2d719;
}
.btn-primary:focus {
    background-color: #4f837f;
    color: #fff;
}
.btn-primary:active {
    background-color: #467370 !important;
}
.about-section {
    padding-top: 10rem;
    background: linear-gradient(to bottom, #161616 0, rgba(22, 22, 22, 0.9) 75%, rgba(22, 22, 22, 0.8) 100%) , url(../img/revisaperu-background.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}
.about-section p {
    margin-bottom: 5rem;
}
.projects-section {
    padding: 10rem 0;
}
.projects-section .featured-text {
    padding: 2rem;
}
@media (min-width: 992px) {
    .projects-section .featured-text {
        padding: 0 0 0 2rem;
        border-left: 0.5rem solid #0070a4;
    }
}
.projects-section .project-text {
    padding: 3rem;
    font-size: 90%;
}
@media (min-width: 992px) {
    .projects-section .project-text {
        padding: 5rem;
    }
    .projects-section .project-text hr {
        border-color: #0070a4;
        border-width: 0.25rem;
        width: 30%;
    }
}
.signup-section {
    padding: 10rem 0;
    background: linear-gradient(to bottom, rgba(22, 22, 22, 0.1) 0, rgba(22, 22, 22, 0.5) 75%, #161616 100%), url(../img/auto-slider01.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}
.signup-section .form-inline input {
    box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
    padding: 1.25rem 2rem;
    height: auto;
    font-family: "Varela Round";
    font-size: 80%;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    border: 0;
}
.contact-section {
    padding: 5rem 0 0;
}
.contact-section .card {
    border: 0;
    border-bottom: 0.25rem solid #0070a4;
}
.contact-section .card h4 {
    font-size: 0.8rem;
    font-family: "Varela Round";
    text-transform: uppercase;
    letter-spacing: 0.15rem;
}
.contact-section .card hr {
    border-color: #0070a4;
    border-width: 0.25rem;
    width: 3rem;
}
.contact-section .social {
    margin-top: 5rem;
}
.contact-section .social a {
    text-align: center;
    height: 3rem;
    width: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100%;
    line-height: 3rem;
    color: rgba(255, 255, 255, 0.3);
}
.contact-section .social a:hover {
    color: rgba(255, 255, 255, 0.5);
}
.contact-section .social a:active {
    color: #fff;
}
body {
    font-family: Nunito;
    letter-spacing: 0.0625em;
}
a {
    color: #0070a4;
}
a:focus,
a:hover {
    text-decoration: none;
    color: #3c6360;
}
.bg-black {
    background-color: #161616 !important;
}
.bg-primary {
    background-color: #0070a4 !important;
}
.text-primary {
    color: #0070a4 !important;
}
footer {
    padding: 5rem 0;
}
.logo-revisa {
    max-height: 55px;
}
.card-title {
    text-transform : uppercase;
}
.bg-home {
    background: linear-gradient(to bottom, rgba(2, 2, 2, 0.83) 0, rgba(22, 22, 22, 0.7) 75%, #161616 100%), url(../img/bg-maicelo-2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}
.bg-gambeta {
    background: linear-gradient(to bottom, rgba(2, 2, 2, 0.83) 0, rgba(22, 22, 22, 0.7) 75%, #161616 100%), url(../img/bg-gambeta.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}
.bg-lurin {
    background: linear-gradient(to bottom, rgba(2, 2, 2, 0.83) 0, rgba(22, 22, 22, 0.7) 75%, #161616 100%), url(../img/lurin_bg_web.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}
.bg-villa {
    background: linear-gradient(to bottom, rgba(2, 2, 2, 0.83) 0, rgba(22, 22, 22, 0.7) 75%, #161616 100%), url(../img/thumb_villa.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}
.bg-trujillo {
    background: linear-gradient(to bottom, rgba(2, 2, 2, 0.83) 0, rgba(22, 22, 22, 0.7) 75%, #161616 100%), url(../img/trujillo4.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}
@media only screen and (max-width: 500px) {
    .logo-revisa {
        max-height: 55px;
    }
    .bg-home {
        background: linear-gradient(to bottom, rgba(2, 2, 2, 0.83) 0, rgba(22, 22, 22, 0.7) 75%, #161616 100%), url(../img/bg-maicelo-movil-2.jpg);
        background-position: bottom;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }
}
.modal-pop {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    animation: modal 2s 3s forwards;
    visibility: hidden;
    opacity: 0;
    z-index: 1040;
}
.contenido {
    margin: auto;
    background: white;
    border-radius: 10px;

}
#cerrar {
    display:none;
}
#cerrar + label {
    position: fixed;
    color: #fff;
    font-size: 25px;
    z-index: 1050;
    background: darkblue;
    height: 50px;
    width: 50px;
    line-height: 50px;
    border-radius: 50%;
    right: 5%;
    cursor: pointer;
    animation: modal 2s 3s forwards;
    visibility: hidden;
    opacity: 0;
    top: 5%;
    margin: auto;
    text-align: center;
}
#cerrar:checked + label, 
#cerrar:checked ~ .modal-pop {
    display: none;
}
@keyframes modal {
    100% {
        visibility: visible;
        opacity: 1;
    }
}