/* Data to future 'Cerrajería El Oriental' Developers.

Breakpoints media-queries:
    Desktop > 992px 
    Tablet < 992px 
    Mobile < 724px
    Small edits in 560 and 370px */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

html {
    font-size: 62.5%;
}

.data {
    font-size: 4rem;
}

h2 {
    font-size: 2.2rem;
}

h3,
h4,
h5,
h6 {
    font-size: 1.8rem;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: white;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background: rgb(100, 0, 0);
    ;
}

/* Grid container */

.container {
    display: grid;
    grid-template-rows: 0px 1fr auto;
}

/* Header and navigation */

header {
    grid-row: 1;
    z-index: 9999;
    position: fixed;
    width: 100vw;
    height: 80px;
    display: flex;
    justify-content: space-between;
    background: transparent;
    align-items: center;
    padding: 100px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

header.active{
    transition: all 1s ease-in-out;
    padding: 15px;
    background: rgba(255, 255, 255, .1);
}

@media (max-width: 724px){
    header{
        padding: 50px;
    }
}

header nav ul {
    display: flex;
}

@media (max-width: 992px) {
    header nav ul {
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        height: 100vh;
        width: 100vw;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        animation: navigationMenu 0.5s 1;
    }

    @keyframes navigationMenu {
        0% {
            left: -1200px;
        }

        100% {
            left: 0;
        }
    }

    nav {
        display: none;
    }
}

header nav ul li a {
    margin: 0px 10px;
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
}

header nav ul li a.active {
    color: black;
}

header nav ul li a:hover {
    font-weight: bold;
}

header nav ul li .whatsappNav:hover,
header nav ul li .mobileNav:hover {
    font-weight: 400;
    color: white;
    border-bottom: none;
    border-right: none;
    padding: 10px;
}

@keyframes navFx {
    0% {
        border-bottom: none;
    }

    100% {
        border-bottom: solid 3px rgb(100, 0, 0);
    }
}

/* WhatsApp Contact for desktop browsers */

header nav ul li:nth-child(5) a {
    padding: 10px;
    border-radius: 5px;
    background-color: green;
    color: white;
    transition: all ease-in-out 1s;
}

header nav ul li:nth-child(5) a:hover {
    background: rgba(0, 100, 15, .8);
}

header nav ul li:nth-child(5) a i {
    margin-right: 10px;
}

/*WhatsApp Contact for mobile browsers */

header nav ul li:nth-child(4) {
    display: none;
}

/* Media querie edit for nav-menu */

@media (max-width: 992px) {
    header nav ul li {
        border-bottom: solid 1px rgba(255, 255, 255, .1);
        width: 100vw;
        padding: 20px;
        display: flex;
        align-items: center;
    }

    header nav ul li a {
        color: rgb(255, 255, 255);
        font-weight: 700;
    }

    header nav ul li:nth-child(1)::before {
        font-family: 'FontAwesome';
        content: "\f015";
        color: white;
        font-size: 1.8rem;
    }

    header nav ul li:nth-child(2)::before {
        font-family: 'FontAwesome';
        content: "\f084";
        color: white;
        font-size: 1.8rem;
    }

    header nav ul li:nth-child(3)::before {
        font-family: 'FontAwesome';
        content: "\f2c1";
        color: white;
        font-size: 1.8rem;
    }

    /* Only Mobile Contact */

    header nav ul li:nth-child(4) {
        display: block;
        background-color: red;
        border: solid 1px rgba(255, 255, 255, .5);
        box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
    }

    header nav ul li:nth-child(4)::before {
        font-family: 'FontAwesome';
        content: "\f06a";
        color: white;
        font-size: 1.8rem;
    }

    header nav ul li:nth-child(4)::after {
        content: "(comunicación telefónica 24hs)";
        color: white;
        font-size: 1.2rem;
        font-weight: bold;
    }

    @media (max-width: 370px) {
        header nav ul li:nth-child(4)::after {
            font-size: 0.9rem;
            position: relative;
            bottom: 2px;
        }
    }

    /* WhatsApp */

    header nav ul li:nth-child(5) {
        border-bottom: none;
        justify-content: center;
        margin: 20px 0px;
    }

    header nav ul li:nth-child(5) a::before {
        font-family: 'FontAwesome';
        color: white;
        font-size: 1.8rem;
        margin-right: 10px;
    }

    header nav ul li:nth-child(5) a {
        background-color: green;
        border: solid 1px rgba(255, 255, 255, .4);
        padding: 20px;
        border-radius: 5px;
    }
}

/* Responsive Navigation Menu Icon */

header input {
    display: none;
}

header label {
    display: none;
}

header label i {
    display: none;
    font-size: 3.2rem;
    color: white;
}

@media (max-width: 992px) {
    header{
        justify-content: center;
        position: relative;
    }
    #logo{
        position: relative;
        left: 10px;
    }
    #logo.active{
        transition: all .5s ease-in-out;
        left: 0;
    }
    header.active{
        transition: all .5s ease-in-out;
        justify-content: space-between;
        position: fixed;
    }
    header label {
        display: none;
    }
    header label.active{
        transition: all .5s ease-in-out;
        display: block;
    }
}

/* Set hamburger menu */

input:checked~nav {
    display: block;
}




/* Main */
/* Inicio */

main {
    grid-row: 2;
}

main section#inicio {
    color: white;
    height: 100vh;
    background: center fixed url(../../assets/imagenes/images/cards/background-keys.png);
    background-repeat: none;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

@media (max-width: 992px) {
    main section#inicio {
        height: 100vh;
    }
}

section#inicio h2 {
    font-size: 8rem;
    text-align: center;
}

@media (max-width: 992px) {
    section#inicio h2 {
        font-size: 5rem;
    }
}

@media (max-width: 772px) {
    section#inicio h2 {
        font-size: 4.5rem;
        line-height: 80px;
    }
}

section#inicio h2 span {
    background: rgb(100, 0, 0);
    padding: 10px;
}

section#inicio h5 {
    font-weight: 400;
    font-size: 2rem;
    margin: 35px 0px;
    text-align: center;
}

section#inicio .contacto {
    display: flex;
    flex-direction: row;
    align-items: center;
}

@media (max-width: 724px) {
    section#inicio .contacto {
        flex-direction: column;
    }
}

section#inicio .contacto a:nth-child(1) {
    background-color: rgba(100, 0, 0, 1);
    font-size: 3rem;
    width: 250px;
    padding: 10px 30px;
    border-radius: 5px;
    text-align: center;
    border: solid 2px white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

section#inicio .contacto a:nth-child(1):hover{
    transition: all ease .5s;
    background-color: rgba(100, 0, 0, .8);
}

section#inicio .arrowDown{
    font-size: 6rem;
    position: absolute;
    bottom: 10px;
    animation: arrowDown 2s infinite;
}

section#inicio #arrowDown.active{
    animation: none;
}

@keyframes arrowDown {
    0%{
        opacity: 0;
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}

/* Servicios */

section#servicios {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: center fixed url(../../assets/imagenes/images/cards/background-chips.png);
    background-repeat: none;
    background-size: cover;
}

section#servicios .texto {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    color: white;
    padding: 40px;
    border-bottom: solid 1px rgba(255, 255, 255, .05);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    width: 100%;
}

section#servicios .texto h4 {
    font-size: 7rem;
    font-weight: 600;
}

section#servicios .texto p {
    font-size: 1.7rem;
    width: 400px;
}

/* Edit text section#servicios */

@media (max-width: 767px) {
    section#servicios .texto {
        padding: 20px;
        width: auto;
        align-self: center;
        text-align: center;
    }

    section#servicios .texto h4 {
        font-size: 5rem;
    }

    section#servicios .texto p {
        width: auto;
    }
}

section#servicios .servicios {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
}

@media (max-width: 992px) {
    section#servicios .servicios {
        display: flex;
        flex-direction: column;
    }

}

section#servicios .servicios .card {
    width: 280px;
    height: 400px;
    margin: 25px 100px;
    border: solid 1px rgba(255, 255, 255, .15);
    border-radius: 3px;
    background: rgba(255, 255, 255, .05);
    box-shadow: rgba(0, 0, 0, 0.7) 0px 20px 25px -5px, rgba(0, 0, 0, 0.5) 0px 10px 10px -5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: .5px 1px;
}

section#servicios .servicios .card:hover {
    transition: all .5s ease-in-out;
    transform: scale(1.03);
}

section#servicios .servicios .card .imageCard{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

section#servicios .servicios .card .imageCard img{
    width: 100%;
}

section#servicios .servicios .card .imageCard h2{
    color: white;
    padding: 10px;
    border-bottom: solid 1px rgba(255, 255, 255, .2);
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border-top: none;
    width: 100%;
    text-align: center;
    font-size: 1.8rem;
    text-transform: uppercase;
}

section#servicios .servicios .card .description{
    color: white;
    font-size: 1.4rem;
    padding: 10px;
    line-height: 20px;
}

section#servicios .servicios .card .contacto{
    font-size: 3rem;
    border-top: solid 1px rgba(255, 255, 255, .2);
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    width: 100%;
    text-align: end;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

section#servicios .servicios .card .contacto a:nth-child(1){
    padding: 10px;
    display: flex;
    align-items: center;
}

section#servicios .servicios .card .contacto a:nth-child(1):hover{
    color: green;
}

section#servicios .servicios .card .contacto a:nth-child(1):hover::after{
    content: "WhatsApp";
    font-size: 1.4rem;
    padding: 5px;
    color: white;
    transition: all 1s ease-in;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    margin: 0px 5px;
}

section#servicios .servicios .card .contacto a:nth-child(2){
    padding: 10px;
    display: flex;
    align-items: center;
}

section#servicios .servicios .card .contacto a:nth-child(2):hover{
    color: rgb(100, 0, 0);
}


section#servicios .servicios .card .contacto a:nth-child(2):hover::after{
    content: "Llamanos";
    font-size: 1.4rem;
    padding: 7.5px;
    color: white;
    transition: all 1s ease-in;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    margin: 0px 5px;
    position: absolute;
    top: 73%;
    right: 0;
}

section#servicios .servicios .card .contacto a:nth-child(1):active::after{
    content: "Redirigiendo...";
    font-size: 1.4rem;
    padding: 5px;
    color: white;
    transition: all 1s ease-in;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    margin: 0px 5px;
}

section#servicios .servicios .card .contacto a:nth-child(2):active::after{
    content: "Redirigiendo...";
    font-size: 1.4rem;
    padding: 7.5px;
    color: white;
    transition: all 1s ease-in;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    margin: 0px 5px;
    position: absolute;
    top: 73%;
    right: 0;
}


@media (max-width: 1500px) {
    section#servicios .servicios .card {
        margin: 50px;
    }
}

@media (max-width: 992px) {
    section#servicios .servicios .card {
        margin: 25px;
    }
}

@media (max-width: 360px) {
    section#servicios .servicios .card {
        margin: 15px;
    }
}

/* Contacto */

section#contacto{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: center fixed url(../../assets/imagenes/images/cards/background-key-broken.png);
    background-repeat: none;
    background-size: cover;
    height: 100vh;
}

@media (max-width: 992px){
    section#contacto{
        flex-direction: column;
        justify-content: center;
    }
}

section#contacto .texto {
    color: white;
    padding: 40px;
    border-right: solid 1px rgba(255, 255, 255, .5);
    margin-right: 40px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 992px){
    section#contacto .texto{
        height: auto;
        display: block;
        margin-right: 0px;
        border-right: none;
        border-bottom: solid 1px rgba(255, 255, 255, .1);
        width: 100%;
        text-align: center;
    }
}

section#contacto .texto h4 {
    font-size: 7rem;
    font-weight: 600;
    color: white;
}

section#contacto .texto p {
    font-size: 1.7rem;
    width: 400px;
}

/* Edit text section#servicios */

@media (max-width: 767px) {
    section#contacto .texto {
        padding: 20px;
        width: auto;
        align-self: center;
        text-align: center;
    }

    section#contacto .texto h4 {
        font-size: 5rem;
        display: flex;
        flex-direction: column;
    }

    section#contacto .texto p {
        width: auto;
    }
}
section#contacto .mediosDeContacto{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 992px){
    section#contacto .mediosDeContacto{
        margin-top: 25px;
    }
}

section#contacto .mediosDeContacto a{
    width: 320px;
    height: 50px;
    font-size: 2.4rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: solid 1px white;
    margin: 5px;
    font-weight: 400;
}

section#contacto .mediosDeContacto a i{
    border-right: solid 1px rgba(255, 255, 255, .2);
    padding: 10px;
}

section#contacto .mediosDeContacto a span{
    padding: 10px;
}

/* Childs of .mediosDeContacto */

section#contacto .mediosDeContacto a:nth-child(1){
    background-color: rgb(100, 0, 0);
}

section#contacto .mediosDeContacto a:nth-child(1):hover{
    background-color: rgba(100, 0, 0, .8);
}

section#contacto .mediosDeContacto a:nth-child(2){
    background-color: rgb(0, 100, 15);
}

section#contacto .mediosDeContacto a:nth-child(2):hover{
    background-color: rgba(0, 100, 15, .8);
}

section#contacto .mediosDeContacto a:nth-child(3){
    background: #f09433; 
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
    background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}

section#contacto .mediosDeContacto a:nth-child(4){
    background: #3b5998;
}

section#contacto .mediosDeContacto a:nth-child(4):hover{
    background: rgba(59, 89, 152, .8);
}


/* Footer */

footer {
    grid-row: 3;
    z-index: 1000;
    height: auto;
    background-color: rgb(100, 0, 0);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}


@media (max-width: 724px) {
    footer {
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 724px) {
    footer .data {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 600px) {
    footer {
        padding: 20px;
    }
}

footer .data img {
    width: 150px;
    margin-bottom: 15px;
}

footer .data h6 {
    font-size: 1.2rem;
    font-weight: 300;
    width: 275px;
    color: white;
}

@media (max-width: 724px) {
    footer .data h6 {
        text-align: center;
        width: auto;
    }
}

footer .links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 724px) {
    footer .links {
        margin: 50px 0px;
    }
}


footer .links a,
footer .links span {
    text-decoration: none;
    font-size: 1.4rem;
    text-align: center;
    color: white;
}

footer .links span {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 2rem;
    color: white;
}

footer .links a:nth-child(3) {
    margin: 15px 0px;
}

footer .contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


footer .contact span {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 2rem;
    color: white;
}

footer .contact .redes .call,
footer .contact .redes .whatsapp,
footer .contact .redes .facebook,
footer .contact .redes .instagram {
    text-decoration: none;
    font-size: 1.5rem;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

@media (max-width: 724px) {

    footer .contact .redes .call,
    footer .contact .redes .whatsapp,
    footer .contact .redes .facebook,
    footer .contact .redes .instagram {
        justify-content: center;
    }
}

footer .contact .redes .whatsapp {
    margin: 15px 0px;
}

footer .contact .redes .instagram {
    margin-top: 15px;
}

footer .contact .redes i {
    margin-right: 10px;
}

footer .links a:hover,
footer .contact a:hover {
    transition: all .5s ease-in-out;
}

