@import url('./globalStyles.css');

/* Resetear estilos por default de los navegadores */
* {
    /* box-sizing: border-box; */
    box-sizing: border-box;
    color: var(--c-white);
    font-family: var(--f-family);
    font-size: var(--font-12);
    font-weight: 300;
    margin: var(--m-0);
    padding: var(--p-0);
}

/* Estilos para el body */
body {
    background-image: radial-gradient(circle at 50% -28%,
            #8b91e6f6 10%,
            #15183af6 25%,
            #080a18f6 40%,
            #020518f6 100%);
    min-height: var(--vh-100);
}

/* Section header / nav */
.headerMain {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: var(--font-12);
    position: sticky;
    top: 0%;
    width: 100%;

    /* Animación */
    animation: header-animations 1s linear both;
    /* Activar la animación */
    animation-timeline: scroll();
    /* Asignar rango de la animación (hasta donde termina de ejecutar la acción al 100% */
    animation-range: 0 100px;
    /* Superposicionamiento */
    z-index: 1;
}

@keyframes header-animations {
    /* Destino de la animación */
    to {
        background-color: var(--bg-white-opacity-50);
        backdrop-filter: blur(3px);
        border-radius: 0px 0px 18px 18px;
    }
}

.headerImg {
    border-color: none;
    border-radius: 100%;
    height: 36px;
    width: 36px;
}

.hederButtonMenu {
    cursor: pointer;
}

.headerIconMenu {
    height: 24px;
}

#headerShowMenu {
    display: none;
}

.headerCheckShowMenu:checked+nav {
    display: flex;
}

nav {
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100vw;
}

nav a {
    background-color: var(--bg-white-opacity-25);
    border-radius: var(--font-12);
    font-size: var(--font-12);
    margin: 0px 4px 4px 0px;
    padding: 3px 12px;
    text-align: center;
    text-decoration: none;

    animation: a-nav 1s linear both;
    animation-timeline: scroll();
    animation-range: 0 400px;
}

@keyframes a-nav {
    to {
        background-color: var(--bg-primary);
    }
}


/* Section main */
main {
    margin: 30px 12px;
}


/* Styles section Profile */
.profile {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 5rem;
}

.profile_img {
    /* Animation image profile */
    animation: fade-in 1s ease-in-out;
    border-radius: 50%;
    margin: 0 0 3rem 0;
    width: 200px;
}

/* Animaciones de la imágen profile */
@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.title {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
}


.available {
    border-radius: 18px;
    border: 1px solid var(--c-green);
    color: var(--c-green);
    font-size: 10px;
    font-weight: bold;
    padding: 3px 12px;
    width: max-content;
}

.div_projects {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.projects_utils {
    align-items: center;
    background-color: var(--bg-white-opacity-25);
    border-radius: var(--font-12);
    display: flex;
    flex-direction: row;
    margin-bottom: var(--font-12);
    margin-right: var(--font-12);
    padding: 3px var(--font-12);
}

.projects_utils p {
    margin-left: 6px;
}


/* Styles section Experiencie */
.experency {
    margin-bottom: 5rem;
}

.experency ul {
    border-left: solid var(--bg-white-opacity-50);
    border-width: 1px;
    list-style-type: none;
    margin-left: 8px;
}

.experency ul li {
    margin-left: 20px;
    position: relative;
    margin-bottom: 2rem;
}

.experency ul li:last-child {
    padding-bottom: 0;
}

.span_experency {
    font-size: 30px;
    position: absolute;
    left: -26px;
    top: -12px;
}


/* Styles section Projects */
.project {
    margin-bottom: 3rem;
    border-radius: var(--font-18);
    border: solid var(--bg-white-opacity-50);
    border-width: 1px;
    padding: var(--font-12);
}

.img_projects {
    background-color: var(--bg-white-opacity-25);
    border-radius: var(--font-12);
    height: 280px;
    margin-bottom: 2rem;
    width: 100%;
    overflow: hidden;
}

article header {
    display: flex;
    justify-content: center;
    overflow: visible;
    width: 100%;
}

.div_projects_buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-bottom: 2rem;
    width: 100%;
}

.div_projects_buttons a {
    background-color: var(--bg-white-opacity-25);
    border-radius: var(--font-12);
    display: inline-flex;
    justify-content: center;
    padding: var(--font-12) 0;
    text-align: center;
    width: 48%;
}

.div_projects_buttons a:hover, .projects_utils:hover {
    background-color: var(--bg-white-opacity-50);
}

.about a:hover {
    background-color: transparent;
}

.div_projects .enlace {
    background-color: var(--bg-white-opacity-25);
    border-radius: var(--font-12);
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    padding: var(--font-12) 0;
    width: 100%;
}

.name_tools {
    font-size: var(--font-12);
}


/* Styles section FAQ */
.faq {
    min-height: 50vh;
}

details {
    border-style: solid;
    border-width: 1px;
    border-radius: var(--font-12);
    margin-bottom: var(--font-12);
    padding: var(--font-12);
    border-color: var(--bg-white-opacity-25);
}

summary {
    font-weight: 700;
}

/* Styles section Contact */
fieldset {
    border: 1px solid var(--bg-white-opacity-50);
    border-radius: var(--font-12);
    padding: var(--font-12);
}

.form_group {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: var(--font-18);
}

.form_group input {
    color: var(--bg-primary);
    height: 44px;
    border-radius: 6px;
    border-style: none;
    padding: 0px 12px;
    outline-style: none;
}

form button {
    color: var(--bg-primary);
    width: 100%;
    height: 44px;
    border-radius: 6px;
    border-style: none;
    margin-top: var(--font-12);
}

form button:hover {
    border: 1px solid var(--bg-white-opacity-50);
    background-color: transparent;
    color: var(--c-white);
    height: 44px;
}


/* Styles Section Footer */
.footer {
    background-color: rgba(255, 255, 255, 0.333);
    margin-top: 72px;
    padding: var(--font-12) 0px;
}

.footer_contacts {
    display: flex;
    flex-direction: column;
    margin: 0px 12px;
}

.copyrigth {
    background-color: rgba(255, 255, 255, 0.333);
    text-align: center;
    padding: var(--font-12) 0px;
    border-top-left-radius: var(--font-12);
    border-top-right-radius: var(--font-12);
}