/* =============================================
==              FUENTES IMPORTADAS           ==
============================================= */
@font-face {
    font-family: "Trebuchet";
    src: url('fonts/TrebuchetMS.ttf') format('TrueType');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "BebasNeue";
    src: url('fonts/BebasNeue.otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "WebSymbolsRegular";
    src: url('fonts/websymbols-regular-webfont.eot');
    src: url('fonts/websymbols-regular-webfont.eot?#iefix') format("embbeded-opentype"),
        url('fonts/websymbols-regular-webfont.woff') format('woff'),
        url('fonts/websymbols-regular-webfont.ttf') format('truetype'),
        url('fonts/websymbols-regular-webfont.svg#WebSymbolsRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* =============================================
==              ESTILOS DEL SITIO             ==
============================================= */

/* =============================================
==              Estilos Generales             ==
============================================= */
* {
    margin: 0;
    padding: 0;
    outline: none;
}

html {
    font-family: "Trebuchet";
    font-size: 10px;
}

body {
    background: url('../imgs/pattern.png');
    margin: 0;
    padding: 0;
}

p {
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 2.5rem;
    text-align: justify;
}

.t-2 {
    font-size: 2.2rem;
}

.wrap {
    width: 80%;
    margin: 0 auto;
}

.ws-r {
    font-family: "WebSymbolsRegular";
}

.icon-img {
    height: 60px;
}

.encabezado {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.content {
    width: 100%;
    padding: 20px;
    margin: 50px auto;
    text-shadow: 5px solid #2ca0ca;
    border-radius: 15px;
    background-color: transparent;
    color: black;
}

.content__black {
    width: 100%;
    padding: 20px;
    margin: 50px auto;
    border: 5px solid #2ca0ca;
    border-radius: 15px;
    background-color: #333;
    color: white;

}

.content__title {
    display: block;
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 2rem;
    text-align: center;
    /* color: #0181d7; */
    text-shadow: 0 1px 3px #0181d7;
}

.content__black .content__title {
    color: #37BCF9;
    text-shadow: 0 0 5px #000000;
}

.content__subtitle {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.clearfix {
    float: none;
    clear: both;
}

/* =============================================
CABECERA
============================================= */

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #000;
    color: #fff;
    width: 100%;
    height: 170px;
    /* padding: 10px 100px 0 100px; */
    font-family: "Trebuchet";
}

.header__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: space-between;
    width: 80%;
}

/* =============================================
LOGOTIPO
============================================= */


#logo {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: left;
    width: 55%;
    cursor: pointer;
    overflow: hidden;

}

.logo__img {
    width: 180px;
}

.logo__h1 {
    display: block;
    line-height: 100px;
    font-size: 5rem;
    margin-left: 2rem;
}

#logo:hover {}

/* =============================================
MENÚ DE NAVEGACIÓN
============================================= */
#menu {
    font-family: 'BebasNeue';
    display: flex;
    justify-content: end;
    width: 45%;
    /* float: right; */
    background-color: transparent;
    /* height: 100px; */
    /* margin-left: 0%; */
}

#menu ul li {
    font-size: 24px;
    display: inline-block;
    margin: 0 20px;
    letter-spacing: 1px;
    line-height: 70px;

}

#menu ul li a {
    display: block;
    color: white;
    text-decoration: none;
    transition: all 200ms;
}

#menu ul li a:hover {
    color: #37BCF9;
    transform: scale(1.2, 1.2);
}

/* =============================================
SECCIÓN DE INFORMACIÓN
============================================= */
.bio__graphy {
    display: flex;
    flex-direction: row;
    gap: 25px;
    width: 100%;
}

.bio__graphy b {
    color: #ffa200;
}

.bio__graphy u {
    text-decoration: none;
    border-bottom: 1px solid #ffa200;
}

.biography__left {
    display: inline-block;
    width: 25%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: space-around;
}

.bio__caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 99%;
    margin-top: 25px;
    text-align: center;
}

.biography__left img {
    width: 80%;
    border-radius: 50%;

}

.biography__right {
    display: inline-block;
    width: 73%;
}

.biography__right .content__title {
    text-align: left;
}

.biography__right p {
    text-align: left;
}

/* =============================================
ENCABEZADO O BANNER
============================================= */
#banner {
    width: 95.6%;
    height: 100px;
    border: 10px solid white;
    box-shadow: 0 0 2px gray;
    background: url('../imgs/bakbaner.png');
    background-position: -250px -200px;
    margin: 20px auto;
    color: white;
    line-height: 32px;
    overflow: hidden;
    animation: backBanner 10s linear;
}

@keyframes backBanner {
    0% {
        background-position: 0px 0px;
    }

    100% {
        background-position: -200 -200px;
    }
}

#banner h1 {
    display: block;
    width: 850px;
    font-family: "BebasNeue";
    font-size: 2.8125rem;
    font-weight: normal;
    text-shadow: 2px 2px 1px black;
    letter-spacing: 3px;
    text-align: center;
    margin: 37px auto;
    animation: showText 13s linear;
}

@keyframes showText {
    0% {
        transform: translateX(400%) scale(5, 5);
        opacity: 1;
    }

    50% {
        transform: translateX(-400%) scale(5, 5);
        opacity: 1;
    }

    75% {
        transform: translateX(400%) scale(5, 5);
        text-shadow: none;
        color: transparent;
        opacity: 1;
    }

    100% {
        transform: translateX(0%) scale(1, 1);
        text-shadow: 2px 2px 1px black;
        color: white;
        opacity: 1;
    }
}

/* =============================================
TARJETAS
============================================= */
#cards {
    text-align: center;
}

.card {
    /* float: left; */
    display: inline-block;
    width: 25%;
    height: 450px;
    border: 1px solid gray;
    border-radius: 15px;
    box-shadow: 1px 1px 2px #999;
    overflow: hidden;
    margin: 20px;
    /* margin-top: 40px; */
    background-color: #fff;
    padding: 5px;
    box-shadow: 0 0 5px #006fb9;
    transition: all 300ms;
}

.card:hover {
    background-color: #0e1012;
    box-shadow: 0 0 15px #001c2d;
}

#cards .card span.ws-r {
    display: block;
    width: 100%;
    height: 130px;
    font-size: 50px;
    line-height: 130px;
    text-align: center;
    margin: 0 auto;
    text-shadow: 2px 2px 2px rgb(180, 180, 180);
}

.btnCard {
    position: relative;
    background-color: #dce449;
    border-radius: 10rem;
    color: white;
    width: 22rem;
    height: 7rem;
    cursor: pointer;
    font-size: 2rem;
    font-weight: 600;
    border: none;
    outline: none;
    z-index: 0;
}

/*=> EFECTO BOTÓN CARD */
.btnCard::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ff7700;
    border-radius: 10rem;
    z-index: -1;
    transition: all 1s ease-in-out;
}

.btnCard:hover {
    color: black;
}

.btnCard:hover::before {
    transform: scale(1.2);
    opacity: 0;
}

/*=> ******* FIN *************/

#cards .card:hover span.ws-r {
    font-size: 70px;
    color: #00538c;
    animation: showIcon 500ms linear;
}

@keyframes showIcon {
    from {
        transform: translateY(-200%);
    }

    to {
        transform: translateY(0%);
    }
}

#cards .card h2.category {
    width: 100%;
    height: 50px;
    font-family: "Trebuchet";
    font-size: 2.5rem;
    font-weight: bold;
    color: #00538C;
    text-align: center;
    transition: all 300ms;
}

#cards .card:hover h2.category {
    color: white;
    animation: showCategory 850ms linear;
}

@keyframes showCategory {
    from {
        transform: translateY(-900%);
        color: black;
    }

    to {
        transform: translateY(0%);
        color: white;
    }
}

.card .description {
    font-family: "Trebuchet";
    font-size: 1.6rem;
    font-weight: bold;
    color: #006fb9;
    text-align: center;
}

.card:hover .description {
    color: #2ca0ca;
    animation: showDescription 1s linear;
}

@keyframes showDescription {
    from {
        transform: translateX(0%);
        color: #000;
    }

    to {
        transform: translateX(0%);
        color: #2ca0ca;
    }
}



/* =============================================
PORTAFOLIO
============================================= */
#portafolio {
    padding: 0px 30px;
}

#proyectos {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: space-around;
    padding: 0 0 75px 0;
}

.proyecto__fila {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    /* width: 100%; */
    margin-bottom: 20px;
}

.proyecto__caja {
    position: relative;
    width: 370px;
    height: 370px;
    padding: 0 10px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 0.5rem;
}

.proyecto__img {
    position: absolute;
    width: 100%;
    display: block;
}

.proyecto__imgOverlay {
    position: absolute;
    top: 0;
    width: 85%;
    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: normal;
    text-align: left;
    padding: 1rem 3rem;
    color: white;
    margin-top: 0;
    transform: translateY(370px);
    transition: all 600ms linear;
    background-color: #b45d11;
}

.proyecto__item {
    font-size: 1.7rem;
    font-weight: 600;
    color: black;
}

.proyecto__imgTitulo {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.proyecto__imgDescripcion {
    /* font-weight: 600; */
    font-size: 1.5rem;
}

.proyecto__caja:hover>.proyecto__imgOverlay {
    transform: translateY(185px);
    opacity: 0.80;
}

/* =============================================
==              PIE DE PAGINA                 ==
============================================= */
#footer {
    /* display: block; */
    width: 100%;
    height: 470px;
    /* text-align: center; */
    color: white;
    background-color: black;
    overflow: hidden;
}

#footer .wrap>div {
    float: left;
    width: 30%;
    height: 370px;
    margin: 20px;
    text-align: center;
    color: white;
    font-family: 'Trebuchet';
}

#footer a {
    text-decoration: none;
    color: #37BCF9;
    transition: all 300ms;
}

#footer h5 {
    display: block;
    background-color: #00538c;
    color: white;
    letter-spacing: 4px;
    height: 60px;
    line-height: 60px;
    font-size: 2rem;
    text-align: center;
    font-family: 'BebasNeue';
    border-radius: 8px;
    margin-bottom: 15px;
}

#footer ul {
    text-align: left;
    margin: 20px;
    font-size: 1.6rem;
}

#footer ul li {
    margin-top: 10px;
    padding: 5px;
    border-bottom: 1px solid #ccc;
}

#footer ul li a {
    text-decoration: none;
    display: block;
    height: 40px;
    transition: all 300ms;
}

#footer ul li:hover a {
    padding-left: 40px;
    color: white;
}

#footer iframe {
    width: 100%;
    height: 300px;
    margin-top: 10px;
    border-radius: 8px;
    border: 1px solid white;
    box-shadow: 0 0 5px gray;
    background-color: #fff;
}

#footer img {
    margin-bottom: 15px;
}

#footer #browsers img {
    width: 45px;
}