@import url(fonts.css);

:root {
    --primary-color  : rgba(51, 51, 51, 1);
    --secondary-color: #060606;
    --third-color    : black;
    --main-font      : 'hind', system-ui, Arial, sans-serif
}


* {
    margin         : 0;
    padding        : 0;
    box-sizing     : border-box;
    scroll-behavior: smooth;
    scroll-margin  : -50px;
}

body {
    font-family: var(--main-font);
    color      : #333;
    text-align : justify;
    font-size  : 18px;
    font-weight: 333;
}

header .lenguaje {
    background-color: var(--secondary-color);
    color           : white;
}

header .lenguaje .contenido {
    text-align: right;
    margin    : 0 auto;
    padding   : 5px 14px;
}

header {
    position        : sticky;
    top             : 0;
    background-color: var(--primary-color);
    z-index         : 99;
}

header>.contenido {
    margin : 0 auto;
    padding: 14px;
}

header nav {
    display       : flex;
    align-items   : center;
    gap           : 40px;
    text-transform: uppercase;
    color         : white;
}

header nav a:first-child {
    margin-right: auto;
}

header nav .activo {
    font-weight: bold;
}


h1,
h2,
h3,
#contact .frase,
#contact .arroba,
#contact .email {
    font-family: 'futura', system-ui, Arial, sans-serif;
}

h1 {
    font-size     : 40px;
    font-size     : clamp(3em, 15vw, 10em);
    text-align    : center;
    line-height   : 0.87em;
    color         : var(--primary-color);
    margin        : 50px 0;
    text-transform: uppercase;
}

h2 {
    font-size     : 2em;
    letter-spacing: -1px;
    font-weight   : bold;
    margin        : 20px 0;
    text-transform: capitalize;
}

h3 {
    margin-top   : 0;
    margin-bottom: 30px;
    font-size    : 1.2em;
    text-align   : left;
}

table {
    border-spacing: 0;
}

th,
td {
    padding        : 0px;
    border-collapse: collapse;
}

hr {
    border: #333 solid .5px;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
}

section:not(:first-of-type) {
    padding: 30px 0;
}

ul {
    list-style-type: none
}

footer p {
    font-size: 15px;
}

footer .contenido {
    padding: 50px 14px;
    margin : 10px auto 0;
}

footer .contenido>div:first-child {
    margin-top: 20px;
}


footer strong {
    text-transform: uppercase;
}

input[type="submit"] {
    cursor: pointer;
}

strong {
    font-weight: 500;
}

.btn {
    color      : var(--secondary-color);
    display    : block;
    cursor     : pointer;
    font-weight: bold;
    padding    : 8px 20px;
    margin-top : 30px;
    width      : 100%;
}

.msj-error {
    color      : #ff4040;
    font-weight: bold;
    margin-top : -21px;
    font-size  : 14px;
}

.aviso {
    font-weight: bold;
    text-align : center;
    margin     : auto
}

.cuerpo {
    margin    : auto;
    min-height: 300px;
}

.contenido {
    max-width: 1000px;
    margin   : 10px auto;
    padding  : 0 14px
}

footer .contenido,
header .contenido {
    max-width: 1200px;
}

.logo {
    width: 100px;
}

.img-fondo {
    background-repeat  : no-repeat;
    background-size    : cover;
    background-position: center;
    background-image   : url('../assets/default-img.png');
    height             : 850px;
    position           : relative;
}

.img-fondo span {
    position: absolute;
    bottom  : -35px;
    right   : 0;
}

.w3-input {
    margin: 10px 0 25px;
    border: none;
}

.box-content {
    display              : grid;
    grid-template-columns: repeat(2, 1fr);
    gap                  : 70px;
}

.w3-modal {
    z-index: 99;
}

.w3-modal h3,
.w3-modal p {
    color: black;
}

.w3-modal h3 {
    margin-bottom: 10px;
}

.w3-modal {
    padding: 15px;
}

.w3-modal .w3-modal-content {
    max-width: 450px;
}

.w3-modal .w3-container {
    padding: 0.01em 16px 23px;
}

.w3-modal .w3-modal-content {
    background-color: white;
    margin          : auto;
    padding         : 20px;
}

.w3-modal .w3-animate-top {
    animation: animatetop 0.5s;
}

#error {
    height         : 100vh;
    display        : flex;
    flex-direction : column;
    justify-content: space-between;
}

#error #error-404,
#error #error-500,
#error #error-502,
#error #error-504 {
    height  : 100%;
    position: relative;
}


#about #banner-principal .contenido .img-fondo {
    background-image: url('../assets/default-img.png');
}

#about #banner-principal .contenido .img-fondo span strong {
    font-weight: bold;
}

#about .frase {
    display       : flex;
    flex-direction: column;
    margin        : auto;
    font-size     : 1.5em;
    line-height   : 1.2;
    font-style    : italic;
}

#mural #banner-principal .contenido .img-fondo {
    background-image: url('../assets/default-img.png');
}

#mural #presentacion img {
    margin-top: 35px;
}

img+span {
    margin   : 15px 0 30px;
    font-size: 16px;
}

img+span strong {
    font-weight: bold;
}

#digital #imagenes img:not(:last-child) {
    margin-bottom: 100px;
}

#work .box-content {
    grid-template-columns: repeat(3, 1fr);
}

#contact {
    background-color: var(--secondary-color);
    color           : white;
}

#contact section {
    padding: 30px 0 50px;
}

#contact .lets-work-together img {
    width: 500px;
}

#contact footer {
    color: #aeacab;
}

#contact footer .email {
    color      : #9e9689;
    font-size  : clamp(1.7rem, 5vw, 3rem);
    font-weight: bold;
    font-style : italic;
}

#contact footer .info-wrapper {
    display        : flex;
    gap            : 15px;
    align-items    : center;
    justify-content: space-between;
}

#contact footer .info-wrapper .arroba {
    font-size: 2em;
}

#contact footer img {
    width: 80px;
}

#contact .redes-wrapper {
    display              : grid;
    grid-template-columns: repeat(3, 1fr);
    place-items          : center;
    max-width            : 400px;
    margin               : auto;
}

#contact .redes-wrapper img {
    filter: invert(1);
    width : 40px;
}

#contact .click {
    margin: 50px 0;
    width : 180px;
}

#collapsing-menu {
    padding-top: 20px;
}

.imgmax {
    max-width: 100%;
    margin   : auto
}

@media only screen and (min-width:601px) {
    .cflex {
        display    : -webkit-flex;
        /* Safari */
        display    : flex;
        align-items: center;
    }
}

@media only screen and (max-width:600px) {
    .centrar-small {
        text-align: center !important
    }

    .icon-menu {
        line-height: 0;
        font-size  : 2em;
        padding    : 10px;
        padding-top: 0;
    }

    .box-content {
        grid-template-columns: repeat(1, 1fr);
    }

    #about .frase {
        margin-top: 100px;
    }

    #contact footer .info-wrapper {
        flex-direction: column;
    }

    #work .box-content {
        grid-template-columns: repeat(2, 1fr);
        gap                  : 30px;
    }

    #contact .lets-work-together img {
        margin-top: 50px;
    }

    #contact .redes-wrapper img {
        width: 40px;
    }
}


.fadein.elemvisible {
    animation: fdin 1.5s
}

.slideizq.elemvisible {
    animation-name    : slideizq;
    animation-duration: 1.5s;
}

.slideder.elemvisible {
    animation-name    : slideder;
    animation-duration: 1.5s;
}

.slidetop.elemvisible {
    animation-name    : slidetop;
    animation-duration: 1.5s;
}

@keyframes fdin {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes slideizq {
    0% {
        opacity    : 0.0;
        margin-left: -207px
    }

    100% {
        opacity    : 1.0;
        margin-left: 0
    }
}

@keyframes slideder {
    0% {
        opacity    : 0.0;
        margin-left: 100%;
    }

    100% {
        opacity     : 1.0;
        margin-right: 0
    }
}

@keyframes slidetop {
    0% {
        opacity   : 0.0;
        margin-top: -100%;
    }

    100% {
        opacity   : 1.0;
        margin-top: 0
    }
}