* {
    /* outline: 1px solid red; */
}

:root {
    --padding-container: 4rem 0;
    --font-body: 'Open Sans', sans-serif;
    --font-headings: 'Inter', sans-serif;
    --color-unico: rgb(12 122 91);
    --color-textos-fondo-negro: #d9d9d9;
}

body {
    margin: 0;
    font-family: var(--font-headings);
    background-color: #d9d9d9;
}


html {
    scroll-behavior: smooth;
}

.mosca__desplazamiento {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 0;
    position: fixed;
    background-color: rgb(1, 53, 38);
    right: 6px;
    bottom: 2rem;
    cursor: pointer;
    z-index: 99;
    transition: 1s ease;
}

.mosca__desplazamiento:hover {
    background-color: var(--color-unico);
    color: white;
}

.flecha__arriba {
    width: 2rem;
    height: 2rem;
}

.header__main {
    background-color: black;
}

.logo__img {
    width: 6rem;
    top: 8px;
    position: relative;
}

.header__titulo {
    color: #d9d9d9;
    font-size: 26px;
    margin-left: 2rem;
}

.header__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 4rem 2rem 4rem;
    z-index: 1500;
    position: relative;
}

.header__main__contenedorLogo {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
}

.nav__menu {
    padding: 1rem;
    gap: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.nav__menu_item {
    text-decoration: none;
    color: #d9d9d9;
    font-size: 18px;
}

.nav__menu_item.active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav__menu_item:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/*menu fijo */
.header__main__fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: black;
    transition: opacity 0.3s ease;
    z-index: 1000;
    visibility: hidden;
}

.header__main__fixed.visible {
    visibility: visible;
    opacity: 1;
}

.menu__toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-textos-fondo-negro);
    border: 2px solid var(--color-textos-fondo-negro);
}

.nav__menu__fixed {
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.custom__fixed__header__nav {
    height: 5rem;
}

/*menu fijo */
.nav__icono_bandera {
    width: 26px;
    height: 22px;
    border: 1px #d9d9d9 solid;
}

.contenedor_flex {
    display: flex;
    flex-direction: column;
}

.mainFirst {
    padding: 0 0 7rem 0;
    background-color: black;
    text-align: center;
    color: white;
}

.mainFirst__Titulo {
    font-size: 4rem;
    font-weight: 100;
    margin: 0 0 0;
}

.mainFirst__Titulo__multi {
    color: var(--color-unico);
    font-size: 4rem;
    font-weight: 300;
    margin: 0;
}

.mainFirst__Titulo__igual {
    color: var(--color-unico);
    font-size: 5rem;
    font-weight: 300;
    margin: 0;
}

.mainFirst__subtitleSobreMi {
    font-style: italic;
}

.mainTercero__tittle {
    font-size: 30px;
    color: black;

}

.mainTercero__parrafoPrimero {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.mainTercero {
    padding-left: 3rem;
    min-height: 300px;
    padding-top: 1rem;
    padding-right: 3rem;
}

.style1 {
    position: relative;
    text-align: center;
}

.style1::before {
    content: '';
}

.style1 h2 {
    z-index: 2;
    position: relative;
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 300;
    margin: 0 0 .5rem 0;
    padding: 0 0 1rem 0;
    letter-spacing: .25rem;
    margin-bottom: 3rem;
}

.style1 h2::after {
    content: '';
    position: absolute;
    margin: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.432);
}
.style2 {
    position: relative;
    text-align: center;
}

.style2::before {
    content: '';
}

.style2 h2 {
    z-index: 2;
    position: relative;
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 300;
    margin: 0 0 .5rem 0;
    padding: 0 0 1rem 0;
    letter-spacing: .25rem;
    margin-bottom: 3rem;
}

.style2 h2::after {
    content: '';
    position: absolute;
    margin: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 86%;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.432);
}


.footer_safecreative {
    text-align: center;
    width: 5rem;
    height: 22px;
    border: 1px #d9d9d9 solid;
}

.mainTercero__contenedorCards {
    display: flex;
    gap: 2rem;
    justify-content: space-around;
    margin: 2rem 0 4rem 0;
    color: var(--color-textos-fondo-negro) #d9d9d9;
    flex-wrap: wrap;
    background-color: white;
    border-radius: 44px;
    padding: 2rem;
    align-items: center;
    box-shadow: 4px 5px 5px rgb(0 0 0 / 22%);
}
.mainTercero__parrafo__donaciones {
    color: black;
    width: 32rem;
    background-color: white;
    border-radius: 40px;
    padding: 2rem;
    margin: 2rem 0 1rem 0;
    box-shadow: 4px 5px 5px rgb(0 0 0 / 22%);
}

.mainTercero__parrafo__donaciones2 {
    color: black;
    width: 32rem;
    background-color: white;
    border-radius: 40px;
    padding: 2rem;
    margin: 2rem 0 2rem 0;
    height: 44rem;
    box-shadow: 4px 5px 5px rgb(0 0 0 / 22%);
}

.tooltip {
    position: relative;
    cursor: help;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 220px;
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 8px;
    border-radius: 5px;
    position: absolute;
    z-index: 10;
    bottom: 103%;
    left: 118px;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;

    font-size: 14px;
}

.tooltip:hover .tooltip-text,
.tooltip:focus-within .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.text__formu__donaciones {
    font-size: 18px;

}

.input__formu__donaciones {
    height: 24px;
    width: 100%;
}

select.select__formu__donaciones {
    height: 30px;
    width: 102%;
    font-size: 14px;
}

.caja__botones__form_donaciones {
    margin-top: 1rem;
    display: flex;
    justify-content: space-evenly;
}

.number__formu__donaciones {
    height: 24px;
    font-size: 16px;
    width: 100%;
}

.boton__pago__donaciones {
    font-size: 20px;
    width: 8rem;
    height: 3rem;
    border-radius: 40px;
    border: 0;
    box-shadow: 4px 5px 5px rgb(0 0 0 / 22%);
    background-color: rgb(1, 53, 38);
    color: white;
    cursor: pointer;
    transition: all 0.4s ease;
    transform: scale(1);
}

.boton__pago__donaciones:hover {
    background-color: var(--color-unico);
}

.boton__pago__donaciones:active {
    transform: scale(0.80);
    box-shadow: 2px 3px 3px rgb(0 0 0 / 30%);
}

.boton__limpiar__formu__donaciones {
    font-size: 20px;
    width: 12rem;
    height: 3rem;
    border-radius: 40px;
    border: 0;
    box-shadow: 4px 5px 5px rgb(0 0 0 / 22%);
    background-color: rgb(1, 53, 38);
    color: white;
    cursor: pointer;
    transition: all 0.4s ease;
    transform: scale(1);
}

.boton__limpiar__formu__donaciones:hover {
    background-color: var(--color-unico);
}

.boton__limpiar__formu__donaciones:active {
    transform: scale(0.80);
    box-shadow: 2px 3px 3px rgb(0 0 0 / 30%);
}

.mainTercero__parrafo__donaciones {
    color: black;
    width: 36rem;
}

.profile-card {
    width: 25rem;
    height: 14rem;
    border-radius: 15px;
    box-shadow: 0 5px 5px rgb(0 0 0 / 22%);
    overflow: visible;
    background-color: #8d8d8d42;
    text-align: center;
    position: relative;
    margin-bottom: 2rem;
}

.profile-img {
    width: 16rem;
    height: 110px;
}

.profile-body {
    position: absolute;
    width: 100%;
    background-color: var(--color-unico);
    border-radius: 0 0 14px 14px;
    padding: 20px;
    color: white;
    height: 50%;
    box-sizing: border-box;
    z-index: 10;
    box-shadow: 0 5px 5px rgb(0 0 0 / 22%);
}

.profile-body h3 {
    margin: 0 0 14px;
    font-size: 18px;
    color: white;
    bottom: 10px;
    position: relative;
}

.profile-body p {
    font-size: 13px;
    color: #666;
    margin: 0 0 15px;
    color: white;
}

footer {
    background-color: black;
    color: #ccc;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    display: grid;
    min-height: 5dvh;
    grid-template-rows: auto 1fr auto;
    margin-top: 3rem;
}

.footer_banderaEspaña {
    text-align: center;
    width: 26px;
    height: 22px;
    border: 1px #d9d9d9 solid;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer .nav__footer_item {
    font-size: 0.9rem;
}

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

@media (max-width:827px) {
    .header__nav {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .nav__menu {
        margin-left: inherit;
    }

    .logo__img {
        width: 5rem;
        top: 0;

    }
}



@media (max-width:550px) {

    .mainTercero {
        padding-left: 2rem;
        padding-top: 1rem;
        padding-right: 2rem;
    }

}

/*menu fijo */
@media (max-width: 768px) {
    .menu__toggle {
        display: block;
        margin-left: 9rem;

    }

    .nav__menu__fixed {
        display: none;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
    }

    .nav__menu__fixed.show {
        display: flex;
        text-align: center;
        align-items: center;
    }

    .item__fixed {
        padding: 0.5rem 0;
        font-size: 1.2rem;
    }
}

@media (max-width:827px) {
    .custom__fixed__header__nav {
        height: auto;
    }
}

@media (max-width: 768px) {
.style2 h2::after {

    width: 56%;

}
}