@font-face {
    font-family: 'poppins';
    src: url(../Poppins/Poppins-Medium.ttf);
}

@font-face {
    font-family: 'poppins-b';
    src: url(/Poppins/Poppins-Bold.ttf);
}

@font-face {
    font-family: 'poppins-e_b';
    src: url(/Poppins/Poppins-ExtraBold.ttf);
}

:root {
    --primary: #1f1e2c;
    --medium: #343343;
    --white: #ebebeb;
    --bg-gradient: linear-gradient(to bottom, #1f1e2c, #8e2579);
    --bg-gradient-o: linear-gradient(to bottom, #1f1e2cdb, #8e2579be);

    --default-color: #8e2579 !important;
}

*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    background: var(--primary);
    font-family: 'poppins';
}

.hr {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--medium);
}

.m-1 {
    margin-bottom: 10px;
}

.container {
    width: 94%;
    max-width: 400px;
    margin: auto;
}

.cabecera {
    width: 100%;
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.bg-img::before {
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient-o);
    position: absolute;
    top: 0;
    left: 0;
}

.bg-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.box-perfil {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    overflow: hidden;
    z-index: 1;
    outline: 5px solid var(--primary);
}

.box-perfil img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: fit-content;
}

.wave svg {
    vertical-align: bottom;
}

.wave svg path {
    fill: var(--primary);
}

.datos {
    /* background: red; */
    width: 100%;
    /* height: 200px; */
    text-align: center;
}

.title {
    font-family: 'poppins-b';
    font-size: 40px;
    font-weight: 800;
}

.txt-gradient {
    background: linear-gradient(to right, #ebebeb, #ebebeb, #1f1e2c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.oficio {
    color: var(--white);
    border: 2px solid var(--medium);
    padding: 10px 30px;
    margin-top: 5px;
    display: inline-block;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

.divisor-seccion {
    position: relative;
    color: var(--white);
    text-align: center;
    margin-top: 30px;
    opacity: 0.7;
}

.divisor-seccion::before {
    content: '';
    display: inline-block;
    width: 100%;
    height: 2px;
    background: var(--medium);
    position: absolute;
    top: 50%;
    left: 0;
}

.divisor-seccion span {
    background: var(--primary);
    color: var(--white);
    position: relative;
    padding: 0 10px;
}

.redes {
    /* background: red; */
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 10px auto;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    color: var(--white);
    border: 2px solid var(--medium);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.contactos {
    margin-top: 10px;
}

.enlace-social {
    background: var(--medium);
    color: var(--white);
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    margin-bottom: 6px;
}

.media-img{
    width: 100%;
    height: 47px;
    display: flex;
    align-items: center;
    color: rgb(94, 94, 94);
}

.enlace-social i{
    margin-right: 10px;
}

.enlace-social img{
    object-fit: contain;
    width: 100%;
    height: 80%;
}

.ads {
    position: relative;
    width: 100%;
    margin-top: 50px;
}

.head-ads {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    overflow: hidden;
}

.head-ads img {
    vertical-align: bottom;
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.footer-ads {
    padding-right: 5px;
    margin-top: 5px;
    text-align: end;
}

.footer-ads p {
    font-size: 12px;
    color: var(--white);
    opacity: 0.8;
}

.footer-ads .txt-anuncio-ads {
    font-weight: 600;
}

.footer-ads .name-ads {
    font-size: 12px;
    font-weight: 700;
}

footer {
    /* background: red; */
    padding: 80px 0 50px 0;
    text-align: center;
    color: var(--white);
    opacity: 0.6;
}

@media screen and (max-width: 450px) {

    .cabecera {
        height: 300px;
        display: flex;
        align-items: flex-end;
    }

    .box-perfil {
        margin-bottom: -50px;
    }

    .datos {
        margin-top: 80px;
    }
}

@media screen and (max-width: 313px){

    .cabecera {
        height: 250px;
    }
    .box-perfil {
        width: 200px;
        height: 200px;
    }
    .title {
        font-family: 'poppins-b';
        font-size: 30px;
        font-weight: 800;
    }

    .oficio {
        padding: 6px 20px;
        font-size: 14px;
    }

    .redes {
        gap: 10px;
    }
}