/* fuentes */

@font-face {
    font-family: Oregan;
    src: url('../src/fonts/Anek_Latin/AnekLatin-VariableFont_wdth\,wght.ttf');
}

@font-face {
    font-family: Ubuntu;
    src: url('../src/fonts/Ubuntu/Ubuntu-Light.ttf');
}

@font-face {
    font-family: QuickSand;
    src: url('../src/fonts/Quicksand/Quicksand-VariableFont_wght.ttf');
}

@font-face {
    font-family: Jersey;
    src: url('../src/fonts/Jersey_15/Jersey15-Regular.ttf');
}

@font-face {
    font-family: Koho;
    src: url('../src/fonts/KoHo/KoHo-Light.ttf ');
}

@font-face {
    font-family: Marvel;
    src: url('../src/fonts/Marvel/Marvel-Regular.ttf ');
}



.parallax-container {
    width: 100%;
    height: 100vh;
    perspective: 8px;
    perspective-origin: 50%;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

.image {
    position: absolute;
    /* centre en en x */
    left: 0;
    right: 0;
    margin: 0 auto;

}

/* 
.image_background {
    height: inherit;
    width: 100%;
    transform: translateZ(0px) scale(1);
    transform-origin: 0% 50%;
    background-image: url("../src/skyFuull.jpg");
    background-image: linear-gradient(180deg, #040a1c 0%, #363C3C 25%, #040a1c 60%, #DC322A 95%);
    position: absolute;
} */


h5 {
    font-family: Ubuntu;
}


.image_middle {
    height: 5000px;
    width: 100%;
    /* perpectiva ideal P-translate/P */
    transform: translateZ(-4px) scale(1.5);
    transform-origin: 50%;
    background-image: url("../src/starsminis.png");
}

@media screen and (min-width:640px) {
    .image_middle {
        height: 5000px;
        width: 100%;
        /* perpectiva ideal P-translate/P */
        transform: translateZ(-4px) scale(1.5);
        transform-origin: 50%;
        background-image: url("../src/minisdoscero.png");
    }
}

.image_foreground {
    transform: translateZ(2px) scale(1.25);
    min-height: 2500px;
    max-height: 3000px;
    width: 100%;
    background-image: url("../src/grandes.png");
}

.display-data {
    display: flex;
    flex-direction: row;
    /* transform-origin: 0% 50%; */
    color: aliceblue;
    background-image: linear-gradient(180deg, #040a1c 0%, #363C3C 25%, #040a1c 60%, #DC322A 95%);
}



.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* :root {
    --main-color: rgb(0, 0, 0);
    background-color: aqua;
} */

.nav a {
    text-decoration: none;
    color: aliceblue;
    font-family: Ubuntu;
    font-size: 18px;
    /* transition-delay: 400ms; */

}

.navbar ul li {
    transition: 600ms ease-in-out;
}


.navbar ul li:hover {
    transition: 600ms ease-in-out;
    transform: scale(1.25) translateX(15px);
}

.navbar a:hover {
    color: #a5d7d7;
}



.nav img {
    border: 2px solid black;
    width: 100px;
    height: 100px;
}

/* .navbar {
    position: sticky;
    top: 20%;
} */

.col {
    position: relative;
    top: 25%;
}


.nav {
    background-image: linear-gradient(180deg, #040a1c 0%, #363C3C 25%, #040a1c 60%, #DC322A 95%);
    /* border: 2px solid black; */
    width: 20%;
    height: 100vh;
    place-items: center;
    align-content: center;
    position: sticky;
    left: 0;
    top: 0;
    /* top: 20%; */
    transition: 500ms ease-in-out;
    opacity: 1;
}

.eng-menu {
    display: none;
}

.imagen {
    width: 120px;
    aspect-ratio: 1;
    transition: 1250ms ease-in-out;
}

@media (min-width:641px) and (max-width:740px) {
    .imagen {
        width: 80px;
    }
}

@media (min-width:741px) and (max-width:1000px) {
    .imagen {
        width: 100px;
    }
}

.imagen:hover {
    transform: rotate(360deg) scale(1.1);
    transition: 1250ms ease-in-out;
}

/* 
@media(max-width:645px) {
    .nav {
        position: sticky;
        opacity: 0;
        transition: 500ms ease-in-out;
    }
} */
@media(max-width:640px) {
    .nav {
        display: none;
    }
}

.main h1 {
    /* -webkit-text-stroke: .1px #000000; */
    font-family: Koho;
    font-size: 40px;
    text-shadow: #000000 4px 4px 1px;
    color: aliceblue;
    margin-bottom: 3%;
}

.main h2 {
    font-family: Ubuntu;
}

.main p {
    font-family: Koho;
}

.main ul {
    font-family: Jersey;
}

.main button {
    font-family: Ubuntu;
}

.main {
    display: flex;
    flex-direction: column;
    width: 100%;
    z-index: 1;
    justify-content: center;
    align-items: center;
}

.main-1 {
    /* border: 2px solid black; */
    height: 100%;
    place-items: start;
    align-content: center;
    width: 90%;
    /* padding: 5%; */
    padding-bottom: 40%;
    margin-left: 10%;
    padding-top: 25%;
}

@media (min-width:476px) and (max-width:640px) {
    .main-1 {
        padding-top: 55%;
        margin-bottom: 50%;
    }
}

@media (min-width:0px) and (max-width:475px) {
    .main-1 {
        padding-top: 75%;
        margin-bottom: 50%;
    }
}

@media screen and (min-width:641px) {
    #main-title {
        font-size: 95px;
    }
    #main-title-eng {
        font-size: 95px;
    }
}




.cv-link {
    text-decoration: none;
}



.cv-link:visited {
    color: aliceblue;
}

.cv-link:link {
    color: rgb(209, 187, 191);
}


.main-2 {
    /* border: 2px solid black; */
    height: 100%;
    place-items: center;
    align-content: center;
    width: 75%;
    padding: 5%;
    padding-top: 20%;
    padding-bottom: 20%;
}

@media screen and (max-width:640px) {
    .main-2 {
        width: 90%;
        margin-bottom: 50%;
    }
}

@media screen and (max-width:640px) {
    #about-me-text {
        background: #00000098;
        padding: 4%;
        margin-top: 25%;
        font-size: 16px;
    }
    #about-me-text-eng {
        background: #00000098;
        padding: 4%;
        margin-top: 25%;
        font-size: 16px;

    }
}

.copy-btn{
    width: 18px;
    aspect-ratio: 1;
}

.main-2 p {
    font-size: 24px;
}

.main-2 h1 {
    text-align: center
}

.main-3 {
    /* border: 2px solid black; */
    height: 100%;
    place-items: center;
    align-content: center;
    width: 90%;
    padding: 5%;
    padding-top: 5%;
    padding-bottom: 20%;
    text-align: center;
}

.main-4 {
    /* border: 2px solid black; */
    height: 100%;
    place-items: center;
    align-content: center;
    width: 90%;
    padding: 5%;
    padding-top: 10%;
    padding-bottom: 20%;
}

.edu-title {
    text-align: center;
}

@media screen and (max-width:640px) {
    .main-4 {
        margin-bottom: 30%;
    }
}

.main-5 {
    /* border: 2px solid black; */
    text-align: center;
    height: 100%;
    place-items: center;
    align-content: center;
    width: 90%;
    padding: 5%;
    padding-top: 10%;
    margin-bottom: 10%;
}

@media screen and (max-width:640px) {
    .main-5 {
        margin-bottom: 40%;
    }
}

.main-6 {
    /* border: 2px solid black; */
    height: 100%;
    place-items: center;
    align-content: center;
    width: 90%;
    padding: 5%;
    padding-top: 10%;
    padding-bottom: 30%;
    text-align: center;

}

.copy {
    width: 25px;
    aspect-ratio: 1;
}

body {
    margin: 0;
    display: flex;
    flex-direction: row;
}

/* projects-cards-div */
.projects-cards {
    /* border: 2px solid black; */
    padding: 1%;
}

.tech-image {
    width: 100px;
}

.card-image {
    margin-top: 4%;
    margin-bottom: 4%;
    height: 500px;
    aspect-ratio: 16/9;
    background-color: aliceblue;
    border-radius: 1%;
    transition: 1000ms ease-in-out;
}

.card-image:hover {
    transform: scale(1.1) rotate(-2deg);
    transition: 300ms ease-in;
    background-color: #000000;
}

@media screen and (max-width:1280px) {
    .card-image {
        height: 400px;
    }
}

@media screen and (max-width:1080px) {
    .card-image {
        height: 350px;
    }
}

@media screen and (max-width:930px) {
    .card-image {
        height: 300px;
        margin-bottom: 0;
    }

    .project-container {
        flex-direction: column;
    }

}

@media screen and (max-width:580px) {
    .card-image {
        height: 200px;
    }
}

@media screen and (max-width:390px) {
    .card-image {
        height: 150px;
    }
}

.project-container {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 500ms ease-in-out;

}

.description-container {
    text-align: center;
    /* border: 2px solid red; */
    background-color: #00000061;
    border-radius: 1%;
}

.links {

    margin-top: 3%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;
}

.link-link {
    margin: 5%;
}

.links-images {
    width: 45px;
    aspect-ratio: 1;
    transition: 500ms ease-in-out;
}

.links-images:hover {
    transform: scale(1.25);
    transition: 500ms ease-in-out;

}

.navbar a:hover {
    cursor: pointer;
}

.navbar a:active {
    color: #64dada;
}



/* education */

.eduaction-place {
    padding: 2%;
    background-color: #00000090;
}

.eduaction-statements {
    padding-left: 50px;
    font-family: Ubuntu;
}

.eduaction-years {
    font-family: Ubuntu;
    font-size: 16px;
    position: relative;
    bottom: 0;
    left: -25px;
    background-color: #DC322A;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 2%;
    padding-bottom: 2%;
    border-radius: 5%;
}


/* skill habilidad */
.skill-class {
    background-color: #00000000;
}


.images-skills {
    width: 250px;
    padding: .5%;
}


@media screen and (max-width:830px) {
    .images-skills {
        width: 200px;
        padding: .5%;
    }
}

@media screen and (max-width:458px) {
    .images-skills {
        width: 150px;
    }
}

@media screen and (max-width:360px) {
    .images-skills {
        width: 120px;
    }
}



/* efecto contenedores */


.containerlink {
    color: aliceblue;
    width: 50px;
    height: 50px;
    background-color: #0062C0;
    border: 1px solid rgb(255, 255, 255);
    z-index: 1;
    border-radius: 50%;
    bottom: 13px;
    right: 13px;
    padding: 1px;
    transition: ease 0.3s;
    animation: ificto 1.3s infinite;
    margin-left: 1%;
}

/* Whastapp containerinst Style when you pass the mouse over the icon  */
.containerlink:hover {
    transform: scale(1.3);
    transition: 0.3s;
}

.containerinst {
    color: aliceblue;
    width: 50px;
    height: 50px;
    background-color: rgb(4, 4, 4);
    border: 1px solid rgb(255, 255, 255);
    z-index: 1;
    border-radius: 50%;
    bottom: 13px;
    right: 13px;
    padding: 1px;
    transition: ease 0.3s;
    animation: ificto 1.3s infinite;
    margin-left: 1%;
}

/* Whastapp containerinst Style when you pass the mouse over the icon  */
.containerinst:hover {
    transform: scale(1.3);
    transition: 0.3s;
}

@keyframes ificto {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.85);
    }

    100% {
        box-shadow: 0 0 0 4px rgba(246, 246, 246, 0);
    }
}

.imagenes {
    margin: 2%;
}

.final-links {
    padding-top: 25%;
}


/* CSS */
.button-89 {
    --b: 3px;
    /* border thickness */
    --s: .45em;
    /* size of the corner */
    --color: #fdfdff;

    padding: calc(.5em + var(--s)) calc(.9em + var(--s));
    color: var(--color);
    --_p: var(--s);
    background:
        conic-gradient(from 90deg at var(--b) var(--b), #0000 90deg, var(--color) 0) var(--_p) var(--_p)/calc(100% - var(--b) - 2*var(--_p)) calc(100% - var(--b) - 2*var(--_p));
    transition: .3s linear, color 0s, background-color 0s;
    outline: var(--b) solid #0000;
    outline-offset: .6em;
    font-size: 12px;
    border: 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-89:hover,
.button-89:focus-visible {
    --_p: 0px;
    outline-color: var(--color);
    outline-offset: .05em;
}

.button-89:active {
    background: var(--color);
    color: #d40606;
}



/* CSS */
.button-57 {
    position: relative;
    overflow: hidden;
    border: 1px solid #18181a;
    color: #18181a;
    display: inline-block;
    font-size: 15px;
    line-height: 15px;
    padding: 18px 18px 17px;
    text-decoration: none;
    cursor: pointer;
    background: #fff;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-57 span:first-child {
    position: relative;
    transition: color 600ms cubic-bezier(0.48, 0, 0.12, 1);
    z-index: 10;
}

.button-57 span:last-child {
    color: white;
    display: block;
    position: absolute;
    bottom: 0;
    transition: all 500ms cubic-bezier(0.48, 0, 0.12, 1);
    z-index: 100;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translateY(225%) translateX(-50%);
    height: 14px;
    line-height: 13px;
}

.button-57:after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    transform-origin: bottom center;
    transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1);
    transform: skewY(9.3deg) scaleY(0);
    z-index: 50;
}

.button-57:hover:after {
    transform-origin: bottom center;
    transform: skewY(9.3deg) scaleY(2);
}

.button-57:hover span:last-child {
    transform: translateX(-50%) translateY(-100%);
    opacity: 1;
    transition: all 900ms cubic-bezier(0.48, 0, 0.12, 1);
}

.button-57:active {
    background: red;
}



/* typing animation  */

.animatedtype {
    animation: typing 3.4s steps(30) 3, transparent .3s step-start infinite normal;
    width: 11em;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid;
    font-size: medium;
    margin: 0
}

@keyframes typing {
    from {
        width: 0px;
    }
}

@keyframes transparent {
    50% {
        border-color: transparent;
    }
}

.changing-span {
    color: #DC322A;
}


/* //hidden menu */




.main-hidden {
    display: none;
}


/* @media screen and (max-width:643px) {
    .main-hidden {
        display: block;
        animation: sopacity 500ms;
        position: sticky;
        bottom: 5px;
        opacity: 0;
    }

} */



@media screen and (max-width:640px) {
    .main-hidden {
        display: flex;
        flex-direction: row;
        position: sticky;
        bottom: 13%;
        transition: 500ms linear;
        animation: desopacity 2500ms linear;
        opacity: 1;
        border-top-left-radius: 50px;
        border-bottom-left-radius: 50px;
        border-bottom-right-radius: 50px;
        border-top-right-radius: 50px;
        padding: 10px;
        gap: 5px;
        background-color: white;
        /* background-color: #00000040; */
        /* background: linear-gradient(27deg, rgba(255, 255, 255, 0.47537017736782217) 14%, rgba(2, 2, 2, 0.49777914095325626) 25%, rgba(255, 254, 254, 0.464165695575105) 39%, rgba(0, 0, 0, 0.4277511297487745) 53%, rgba(255, 255, 255, 0.31010407092524506) 68%, rgba(0, 0, 0, 0.32691079361432074) 83%); */
        /* box-shadow: 3px 3px 2px black; */
        /* 
        background: linear-gradient(27deg, rgba(54,60,60,0.39973992526698177) 14%, rgba(220,50,42,0.5285914658832283) 25%, rgba(54,60,60,0.3465186367515757) 39%, rgba(0,0,0,0.2708883846507353) 53%, rgba(54,60,60,0.44735897288602944) 68%, rgba(220,50,42,0.21206485523897056) 83%, rgba(54,60,60,0.3829332025779062) 95%); */
        /* transition: 500ms linear; */

    }

    .main-hidden:hover {
        transform: scale(1.1);
        transition: 1500ms linear;
    }
}

@media screen and (max-width:380px) {
    .main-hidden {
        gap: 2px;
        padding: 5px;
    }
}



@keyframes desopacity {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes sopacity {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


.logos-minis {
    width: 35px;
    aspect-ratio: 1;
    transition: 1200ms linear;
}

@media screen and (max-width:390px) {
    .logos-minis {
        width: 25px;
    }
}

/* .logos-minis:hover {
    transform: scale(1.6);
    transition: 400ms linear;
} */
.container-icon:hover {
    transform: scale(1.3) translateY(-6px);
    transition: 350ms ease-out;
    background-color: rgb(240, 240, 240);
}



.container-icon {
    width: 45px;
    background-color: #fffffffa;
    border-radius: 50%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 1200ms ease-in-out;
    /* box-shadow: 3px 3px 2px black; */
}

@media screen and (max-width:390px) {
    .container-icon {
        width: 35px;
    }
}


/* swicth de cambio de color */

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #DC322A;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #363C3C
}

input:focus+.slider {
    box-shadow: 0 0 2px #000000;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}



/* otrochecknox */
.checkbox-wrapper-26 * {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.checkbox-wrapper-26 input[type="checkbox"] {
    display: none;
}

.text-checkbox-26 {
    position: absolute;
    left: 20%;
    color: #000000;
    top: -5px;

}

.checkbox-wrapper-26 label {
    --size: 45px;
    --shadow: calc(var(--size) * .07) calc(var(--size) * .1);

    position: relative;
    display: block;
    width: var(--size);
    height: var(--size);
    margin: 0 auto;
    background-color: #363C3C;
    border-radius: 50%;
    box-shadow: 0 var(--shadow) #171313;
    cursor: pointer;
    transition: 0.2s ease transform, 0.2s ease background-color,
        0.2s ease box-shadow;
    overflow: hidden;
    z-index: 1;
}

.checkbox-wrapper-26 label:before {
    content: "  ";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    width: calc(var(--size) * .7);
    height: calc(var(--size) * .7);
    margin: 0 auto;
    background-color: #fff;
    transform: translateY(-50%);
    border-radius: 50%;
    box-shadow: inset 0 var(--shadow) #ffbeb8;
    transition: 0.2s ease width, 0.2s ease height;
}

.checkbox-wrapper-26 label:hover:before {
    width: calc(var(--size) * .55);
    height: calc(var(--size) * .55);
    box-shadow: inset 0 var(--shadow) #ff9d96;
}

.checkbox-wrapper-26 label:active {
    transform: scale(0.9);
}

.checkbox-wrapper-26 .tick_mark {
    position: absolute;
    top: -6px;
    right: 0;
    left: calc(var(--size) * -.7);
    width: calc(var(--size) * .6);
    height: calc(var(--size) * .6);
    margin: 0 auto;
    /* margin-left: calc(var(--size) * .01); */
    transform: rotateZ(-50deg);
}

.checkbox-wrapper-26 .tick_mark:before,
.checkbox-wrapper-26 .tick_mark:after {
    content: "";
    position: absolute;
    background-color: #fff;
    border-radius: 2px;
    opacity: 0;
    transition: 0.2s ease transform, 0.2s ease opacity;
}

.checkbox-wrapper-26 .tick_mark:before {
    left: 0;
    bottom: 0;
    width: calc(var(--size) * .1);
    height: calc(var(--size) * .0);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.23);
    transform: translateY(calc(var(--size) * -.68));
}

.checkbox-wrapper-26 .tick_mark:after {
    font-family: Ubuntu;
    font-weight: 300;
    content: "Eng";
    left: 0;
    bottom: 0;
    width: 100%;
    height: calc(var(--size) * .0);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.23);
    transform: translateX(calc(var(--size) * .78));
}

.checkbox-wrapper-26 input[type="checkbox"]:checked+label {
    background: linear-gradient(0deg, rgba(54, 60, 60, 1) 28%, rgba(0, 0, 0, 1) 70%);
    box-shadow: 0 var(--shadow) #030303;
}

.checkbox-wrapper-26 input[type="checkbox"]:checked+label:before {
    width: 0;
    height: 0;
}

.checkbox-wrapper-26 input[type="checkbox"]:checked+label .tick_mark:before,
.checkbox-wrapper-26 input[type="checkbox"]:checked+label .tick_mark:after {
    transform: translate(0);
    opacity: 1;
}