/*
 Theme Name:   Addmin
 Theme URI:    https://www.addmin.com/
 Description:  Addmin Theme
 Author:       Javier Enrique León 
 Author URI:   https://jeimage.com/
 Version:      1
*/
/* Body */

/* --------------------------------- General -------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

@font-face {
    font-family: Brandon;
    src: url(fuentes/BRANDONGROTESQUE-REGULAR.TTF) format('truetype');
}

@font-face {
    font-family: Brandon;
    src: url(fuentes/BRANDONGROTESQUE-MEDIUM.TTF) format('truetype');
    font-weight: 500;
}

:root {
    --oswald: 'Oswald', sans-serif;
    --brandon: 'Brandon';
    --lato: 'Lato', sans-serif;
    --principal: #0A2E36;
    --secundario: #111;
    --rojo: #CC2229;
}

:focus {
    outline: none !important;
    box-shadow: none !important;
}

body {
    font-family: var(--oswald);
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0.045em;
    color: var(--secundario);
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #afaeae;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: #afaeae;
}

:-ms-input-placeholder {
    /* IE 10+ */
    color: #afaeae;
}

:-moz-placeholder {
    /* Firefox 18- */
    color: #afaeae;
}

img.alignleft {
    float: left;
    margin: 0 24px 24px 0;
}

img.alignright {
    float: right;
    margin: 0 0 24px 24px;
}

img.centered,
.aligncenter {
    display: block;
    margin: 0 auto 30px;
}

h1 {
    font-family: var(--brandon);
    font-weight: 400;
    font-size: 32px;
    line-height: 102%;
}

h2 {
    font-family: var(--brandon);
    font-weight: 400;
    font-size: 36px;
    line-height: 102%;
    color: var(--principal);
}

h3 {
    font-family: var(--brandon);
    font-weight: 400;
    font-size: 26px;
    line-height: 120%;
}

h4 {
    font-family: var(--brandon);
    font-weight: 400;
    font-size: 30px;
    line-height: 120%;
    margin-bottom: 16px;
}

.boton {
    background: var(--rojo);
    text-transform: uppercase;
    color: white;
    padding: 13px 25px !important;
    border: none;
    font-family: var(--oswald);
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    letter-spacing: 0.045em;
    text-decoration: none;
    display: inline-block;
}

.boton:hover {
    background-color: rgba(204, 34, 41, .7);
    text-decoration: none;
    color: white;
}

.boton-borde {
    background: transparent;
    color: var(--rojo);
    padding: 13px 25px !important;
    font-size: 17px;
    line-height: 19px;
    text-align: center;
    letter-spacing: 0.045em;
    text-decoration: none;
    display: inline-block;
    border: solid 1px var(--rojo);
}

.boton-borde:hover {
    background-color: rgba(204, 34, 41, .7);
    text-decoration: none;
    color: white;
    border: solid 1px rgba(204, 34, 41, .7) !important;
}

.bg-principal {
    background-color: var(--principal);
}


/* Header */
.navbar {
    padding: 13px 0;
}

a.nav-link {
    padding: 13px 0 !important;
    font-size: 17px;
    font-weight: 400;
    color: black;
    line-height: 22px;
}

a.nav-link.active,
a.nav-link:hover {
    color: black;
    text-decoration: underline;
}

li.nav-item:nth-last-child(1) .nav-link {
    background: var(--rojo);
    text-transform: uppercase;
    color: white;
    padding: 13px 25px !important;
    border: none;
}

li.nav-item:nth-last-child(1) .nav-link:hover {
    background-color: rgba(204, 34, 41, .7);
    text-decoration: none;
}

/* Banner */
.banner {
    height: calc(100vh - 85px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.banner .subtitulo {
    font-family: var(--brandon);
    font-size: 27px;
    line-height: 117%;
    text-align: center;
    color: white;
}

hr.center {
    border-top: solid 5px var(--rojo);
    opacity: 1;
    width: 243px;
    margin: 16px auto;
    max-width: 90%;
}

.banner .titulo {
    font-family: var(--brandon);
    font-weight: 500;
    font-size: 36px;
    line-height: 102%;
    text-align: center;
    color: white;
}

/* Call to action */
.call {
    background-color: var(--principal);
}

.call .titulo {
    font-family: var(--oswald);
    font-weight: 600;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0.045em;
}

.call .texto {
    font-family: var(--oswald);
    font-weight: 300;
    font-size: 18px;
    letter-spacing: 0.045em;
}

/* Servicios */
.servicio h3 {
    font-size: 24px;
}

.servicio>img {
    width: 100%;
    height: auto;
}

.servicio .overlay {
    position: absolute;
    bottom: 0;
    left: 12px;
    height: 45%;
    background-color: rgba(0, 0, 0, .71);
    width: calc(100% - 24px);
    color: white;
    padding: 24px 12px;
    transition: all .3s;
}

.servicio:hover .overlay {
    height: 100%;
}

.servicio .vm {
    opacity: 0;
    overflow: hidden;
    height: 0;
    transition: all .5s;
    padding: 30px 0;
    font-family: var(--oswald);
    font-weight: 400;
    font-size: 25px;
    line-height: 120%;
    letter-spacing: 0.04em;
}

.servicio:hover .vm {
    opacity: 1;
    height: auto;
}

/* Título */
.titulo>div {
    top: 0;
    left: 0;
}

.titulo hr {
    background-color: var(--rojo);
    width: 243px;
    margin: 10px auto 0;
    height: 5px;
    opacity: 1;
    border: none;
    max-width: 90%;
}

/* Nosotros */
.sub-titulo hr {
    background-color: var(--rojo);
    width: 158px;
    margin: 10px 0 0;
    height: 5px;
    opacity: 1;
    border: none;
    max-width: 90%;
}

.nombre {
    color: var(--rojo);
    font-weight: 500;
}

.nombre b {
    font-weight: 500;
    color: var(--secundario);
}

/* Perfil */
.caption {
    font-size: 13px;
    padding-top: 5px;
    line-height: 18px;
}

/* Proyectos */
.vm-2 {
    font-weight: 500;
    font-size: 24px;
    color: var(--secundario);
    text-decoration: none;
}

.vm-2:hover {
    color: var(--rojo);
}

/* Contáctenos */
.lateral {
    width: 100%;
    max-width: 636px;
}

.contacto-img {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
    width: calc(100% - 12px);
    height: 40px;
    border: 1px solid #D0D0D0;
}

textarea {
    width: calc(100% - 12px);
    height: 214px;
    border: 1px solid #D0D0D0;
}

/* Footer */
footer {
    background-color: var(--principal);
    font-family: var(--lato);
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
}

.footer-menu a {
    font-family: var(--oswald);
    font-weight: 400;
    font-size: 17px;
    line-height: 25px;
    color: white;
    text-decoration: none;
}

.footer-menu a:hover {
    text-decoration: underline;
}

footer .linea {
    background: white;
    height: 1px;
    margin-bottom: 16px;
}

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

footer a:hover {
    text-decoration: underline;
    color: white;
}

footer .dato img:hover {
    opacity: .5;
}

/* Queries */
@media (max-width: 1440px) {
    .lateral {
        max-width: 546px !important;
    }
}

@media (max-width: 1200px) {
    .lateral {
        max-width: 456px !important;
    }
}

@media (max-width: 992px) {
    .lateral {
        max-width: 336px !important;
    }
}

@media (min-width: 991px) {
    a.nav-link {
        margin-left: 85px;
    }

    .banner .subtitulo {
        font-size: 37px;
    }

    .banner .titulo {
        font-size: 46px;
    }

    h1 {
        font-size: 46px;
    }

    .titulo hr {
        margin: 19px auto 0;
    }

    .sub-titulo hr {
        margin: 11px 0 0;
    }
}

@media (max-width: 991px) {
    h3 {
        font-size: 16px;
        line-height: 120%;
    }

    h4 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .lateral {
        max-width: 470px !important;
    }

    input[type="text"],
    input[type="tel"],
    input[type="email"] textarea {
        width: 100%;
    }
}