* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    background: url(../IMG/fondo3.jpg) #00000070;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-family: 'Exo 2', sans-serif;
}

.contenedor {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

/*----------- HEADER -----------------*/

header {
    background: url('../IMG/banner.jpg') #000;
    background-repeat: no-repeat;
    background-position: center;
    max-height: 600px;
}

header .menu {
    margin: 40px 0;
    text-align: right;
}

header .menu a {
    margin: 0 20px;
    color: #fff;
    padding-bottom: 9px;
    display: inline-block;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    font-size: 1em;
}

header .menu a:hover {
    border-bottom: 2px solid #fff;
}

header .contenedor-texto {
    display: flex;
    justify-content: center;
    align-content: center;
    margin: 190px 0;
}

header .contenedor-texto .texto {
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    display: inline-block;
    text-align: center;
    padding: 20px 20px;
    background-color: #313131c7;
}

header .contenedor-texto .texto h1,
header .contenedor-texto .texto h2 {
    color: #fff;
    font-weight: 300;
    margin: 0;
}

header .contenedor-texto .texto .nombre {
    margin-bottom: 10px;
    font-size: 50px;
    line-height: 50px;
}

header .contenedor-texto .texto .profesion {
    font-size: 25px;
    line-height: 25px;
}

/*-------------- LOGO WHATSAPP -----------*/

header .whatsapp-container {
    position: fixed;
    font-size: 20px;
    font-weight: bolder;
    right: 30px;
    bottom: 50px;
    z-index: 9999;
}

header .whatsapp-container a {
    text-decoration: none;
    color: transparent;
    text-align: justify;
    box-shadow: none;
}

.whatsapp,
.whatsapp2 {
    z-index: 1;
    background-color: transparent;
}

header .whatsapp img {
    width: 100px;
    background: transparent;
}

header .whatsapp img:hover {
    opacity: 0.7;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    cursor: pointer;
}

/*-------------LOGO TIKTOK----------------*/

header .tiktok-container {
    position: fixed;
    font-size: 20px;
    font-weight: bolder;
    right: 45px;
    bottom: 160px;
    z-index: 9999;
}

header .tiktok-container a {
    text-decoration: none;
    color: transparent;
    text-align: justify;
    box-shadow: none;
}

.tiktokk {
    z-index: 1;
    background-color: transparent;
}

header .tiktok img {
    border-radius: 40px;
    width: 70px;
    background: transparent;
    box-shadow: white 0px 0px 5px;
}

header .tiktok img:hover {
    opacity: 0.7;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    cursor: pointer;
}

/*-------------LOGO YOUTUBE----------------*/

header .youtube-container {
    position: fixed;
    font-size: 20px;
    font-weight: bolder;
    right: 45px;
    bottom: 250px;
    z-index: 9999;
}

header .youtube-container a {
    text-decoration: none;
    color: transparent;
    text-align: justify;
    box-shadow: none;
}

.youtube {
    z-index: 1;
    background-color: transparent;
}

header .youtube img {
    width: 70px;
    background: transparent;
}

header .youtube img:hover {
    opacity: 0.7;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    cursor: pointer;
}

/*-------------LOGO INSTAGRAM----------------*/

header .instagram-container {
    position: fixed;
    font-size: 20px;
    font-weight: bolder;
    right: 45px;
    bottom: 340px;
    z-index: 9999;
}

header .instagram-container a {
    text-decoration: none;
    color: transparent;
    text-align: justify;
    box-shadow: none;
}

.instagram {
    z-index: 1;
    background-color: transparent;
}

header .instagram img {
    width: 70px;
    background: transparent;
}

header .instagram img:hover {
    opacity: 0.7;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    cursor: pointer;
}

/*-----------VENTANA MODAL------------*/

#modal::backdrop {
    background-color: rgba(0, 0, 0, 0.55);
}

#modal {
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.877);
    text-align: center;
    padding: 40px;
}

header dialog h2 {
    font-size: 30px;
    font-weight: 700;
    text-decoration: underline;
}

header dialog button {
    border: none;
    font-size: 20px;
    font-weight: 100;
    border-radius: 3px;
    padding: 5px;
    margin-top: 35px;
    width: 100px;
    color: white;
    background-color: rgb(255, 67, 67);
    cursor: pointer;
}

header dialog button:hover {
    background-color: #6f0202;
}

header dialog a {
    text-decoration: none;
    font-size: 30px;
    color: rgb(22, 122, 9);
    font-weight: 700;
    margin-left: 10px;
}

header dialog i {
    font-size: 30px;
    margin: 0;
}

/*----------------MAIN----------------*/

.main .contenedor {
    overflow: visible;
}

.main .acerca-de {
    text-align: center;
}

.main .acerca-de .foto {
    margin-top: -140px;
}

.main .acerca-de .foto img {
    vertical-align: top;
    border-radius: 45%;
    border: 5px solid rgba(255, 255, 255, 0.5);
    width: 200px;
}

.main .acerca-de .texto {
    color: #5a5a5a;
    font-weight: 600;
    font-size: 1em;
    line-height: 30px;
    width: 80%;
    margin: 40px auto 60px auto;
}

.main .acerca-de .texto .titulo {
    font-size: 34px;
    line-height: 34px;
    margin-bottom: 40px;
    font-weight: 300;
    color: #dd820d;
    text-align: center;
}

.main .acerca-de .texto .bold {
    color: #3895ea;
    text-decoration: underline;
}

.main .trabajos {
    border-top: 5px solid rgba(48, 7, 7, 0.521);
    background: url(../IMG/foonde2.jpg) #0000001e;
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    border-bottom: 5px solid rgba(48, 7, 7, 0.521);
}

.main .trabajos .contenedor {
    overflow: hidden;
}

.main .trabajos .titulo {
    font-size: 40px;
    line-height: 34px;
    margin-bottom: 60px;
    font-weight: 700;
    color: #7e77e9;
    text-align: center;
}

.main .trabajos .contenedor-trabajos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.main .trabajos .contenedor-trabajos .trabajo {
    width: 23%;
    margin-bottom: 40px;
}

/* (MEJORADO) para que el hover no destruya el layout */
.main .trabajos .contenedor-trabajos .tattoo {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

.main .trabajos .contenedor-trabajos .tattoo img {
    width: 100%;
    vertical-align: top;
    border-radius: 3px;
    transition: transform .3s ease, opacity .3s ease;
    will-change: transform;
}

.main .trabajos .contenedor-trabajos .tattoo:hover img {
    transform: scale(1.08);
    opacity: 0.95;
}

.main .trabajos .contenedor-trabajos .trabajo .descripcion {
    text-align: center;
}

.main .trabajos .contenedor-trabajos .trabajo .descripcion .nombre {
    font-weight: bolder;
    color: #3895ea;
    margin-bottom: 10px;
}

.main .trabajos .contenedor-trabajos .trabajo .descripcion .categoria {
    font-size: 14px;
    color: #d1d1d1;
}

.main .contenedor .titulo {
    font-size: 34px;
    line-height: 34px;
    margin-bottom: 40px;
    font-weight: 300;
    color: #dd820d;
    text-align: center;
}

.main .mapa {
    width: 100%;
    overflow: hidden;
}

.main .mapa iframe {
    width: 100%;
    max-height: 600px;
}

/*---------------FOOTER ---------------*/

footer .contacto {
    padding: 60px 0;
}

footer .contacto .titulo {
    font-size: 40px;
    line-height: 34px;
    margin-bottom: 60px;
    font-weight: 700;
    color: #3895ea;
    text-align: center;
}

footer .contacto .formulario {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .contacto .formulario input[type="text"],
footer .contacto .formulario input[type="email"],
footer .contacto .formulario textarea {
    border: 2px solid #cecece;
    border-radius: 5px;
    padding: 15px 20px;
    font-size: 20px;
    color: #a4a4a4;
}

footer .contacto .formulario input[type="text"]:focus,
footer .contacto .formulario input[type="email"]:focus,
footer .contacto .formulario textarea:focus {
    border: 2px solid #3895ea;
}

footer .contacto .formulario input[type="text"],
footer .contacto .formulario input[type="email"] {
    width: 48%;
    margin-bottom: 15px;
}

footer .contacto .formulario textarea {
    width: 100%;
    height: 100px;
    min-width: 100%;
    max-width: 100%;
    min-height: 100px;
    max-height: 300px;
    margin-bottom: 15px;
}

footer .contacto .formulario .boton {
    margin: auto;
    background: #3895ea;
    color: #ffff;
    border: none;
    border-radius: 3px;
    padding: 15px 40px;
    cursor: pointer;
}

footer .contacto .formulario .boton:hover {
    background: #387bea;
}

footer .redes-sociales {
    background: #1e2b38;
    padding: 60px 0px;
}

footer .redes-sociales .contenedor {
    display: flex;
    justify-content: center;
}

footer .redes-sociales a {
    color: #fff;
    text-align: center;
    width: 100px;
    display: block;
    padding: 15px 0;
    border-radius: 3px;
    font-size: 30px;
    margin: 0px 20px;
}

footer .redes-sociales .twitter:hover {
    background: #1da1f2;
}

footer .redes-sociales .facebook:hover {
    background: #3b5998;
}

footer .redes-sociales .youtube:hover {
    background: #cd201f;
}

footer .redes-sociales .github:hover {
    background: #000000;
}

footer .redes-sociales .instagram:hover {
    background: #3f729b;
}

footer .redes-sociales .tiktok:hover {
    background: #000000;
}

/***************** MEDIA QUERIES ****************/

@media screen and (max-width: 800px) {
    header {
        height: 500px;
        background-size: contain;
        background-position: top;
        background-attachment: fixed;
        height: 400px;
    }

    header .menu {
        text-align: center;
    }

    header .contenedor-texto {
        margin-top: auto;
    }

    .main .trabajos .contenedor-trabajos .trabajo {
        width: 46%;
    }

    footer .copyright .texto-copyright h3 {
        font-size: 15px;
    }

    footer .copyright .texto-copyright h2 {
        font-size: 10px;
    }
}

@media screen and (max-width: 500px) {
    header .contenedor-texto .texto .nombre {
        font-size: 35px;
    }

    header .contenedor-texto .texto .profesion {
        font-size: 18px;
    }

    footer .redes-sociales .contenedor {
        flex-wrap: wrap;
        padding: 20px 0px;
    }

    footer .copyright .texto-copyright h3 {
        font-size: 10px;
    }

    footer .copyright .texto-copyright h2 {
        font-size: 6px;
    }
}

footer .copyright .texto-copyright h3 {
    color: white;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
}

footer .copyright .texto-copyright h2 {
    color: white;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
}

footer .copyright {
    margin: 0px;
    padding: 0px;
    text-align: center;
    background-position: center;
}

.menu a {
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* Estilo general para los iconos */
footer .redes-sociales a {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 5px;
}

/* Ajustes para pantallas menores a 800px */
@media screen and (max-width: 800px) {
    footer .redes-sociales a {
        width: 35px;
        height: 35px;
    }
}

/* Ajustes para pantallas menores a 500px */
@media screen and (max-width: 500px) {
    footer .redes-sociales a {
        width: 30px;
        height: 30px;
        margin: 3px;
    }
}