* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {
    --gray: #707070;

    font-family: "Figtree", serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    background-color: #F2F2F2;
}

section {
    height: 100vh;
}

h1 {
    font-size: 150px;
    font-weight: 900;
}
h2 {
    font-size: 80px;
    font-weight: 900;
}
h3 {
    font-size: 60px;
}
h4 {
    font-size: 50px;
    font-weight: 900;
}
h5 {
    font-size: 25px;
    font-weight: 200;
}
p {
    font-size: 25px;
}
a {
    font-size: 20px;
}

/*----------------- menu navegable -----------------*/

.menu {
    display: flex;
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 60px;
    background-color: black;
    justify-content: end;
    align-items: center;
    top: 0;
    left: 0;
}
.icon {
    color: white;
    margin-right: 20px;
    display: none;
}
.logo {
    height: 60px;
    margin-right: auto;
    width: auto;
    padding: 0;
    justify-content: start;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}
.logo:hover {
    filter: grayscale(0%);
}
.men {
    display: flex;   
    justify-content: center;
    align-items: center;
}
.menu li {    
    width: 150px;
    height: 30px;
    margin: 0 10px;
    flex-direction: row;
    display: flex;
    
}
.log-cont {
    display: flex;
    margin-left: 20px;
    margin-right: auto;
}
.menu ul {
    list-style-type: none;
    text-align: center;
}
.menu li>a {
    text-decoration: none;
    margin: auto;
    color: white;
    transition: color 0.5s ease;
}
.menu li>a:hover {
    color: yellow;
}


/*----------------- encabezado principal -----------------*/

.principal {
    height: 100vh;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.principal h4 {
    font-weight: 400;
}




/*----------------- sobre mi -----------------*/


.cont {
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    background-color: white;
}

.cont1 {
    width: 50vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 80px;
    justify-content: center; 
    view-timeline-name: --parrafo;
    view-timeline-axis: block;

    animation-timeline: --parrafo;
    animation-name: show;

    animation-range: entry 25% cover 50%;
    animation-fill-mode: both;  
}

.cont1 p {
    margin-top: 0;
    padding-top: 20px;
    text-align: left;
}

article.co {
    overflow: hidden;
    padding: 0;
}
.imagen1 {
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
    width: auto;
    height: 100%;
    object-fit: cover;
}
.imagen1:hover {
    filter: grayscale(0%);
    transform: scale(1.3);
}

@keyframes show {
    from {
        opacity: 0;
        scale: 70%;
    }

    to {
        opacity: 1;
        scale: 100%;
    }
    
}


/*----------------- container experiencia -----------------*/

.tittle:hover {
    background-color: rgb(208, 208, 208);
}

.container-exp {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    background-color: black;
    color: white;
    align-items: center;
    justify-content: center;
}

.item {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 90%;
}

.title {
    transition: opacity 0.5s ease;
    z-index: 100;
    color: rgb(80, 80, 80);
    padding: 20px;
    margin: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 850px;
    transition: background-color 0.5s ease;
    height: 180px;
    text-align: center;
}

.title h2 {
    color: white;
}

.title:hover {
    background-color: #FBB900;
}
.title.show {
    opacity: 1;
    height: auto;
}
.paragraph {
    position: absolute;
    padding: 20px 50px;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-color: #171717;
    border-radius: 5px;
    margin: auto;
}
.paragraph.show {
    opacity: 1;
    height: auto;
}
.vermas {
    margin: 50px;    
    color: black;
    font-weight: 500;
}
.vermas a {
    text-decoration: none;
}
/*----------------- habilidades -----------------*/

.habilidades {
    margin: 100px 100px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.habilidades h3 {
    margin: 40px 0 10px 0;
}
.tool-skill {
    margin-top: 50px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    object-fit: cover;
    overflow-x: hidden;
}
.tool-skill div {
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.tool-skill a {
    background-color: white;
    border-radius: 5px;
    width: 100px;
    height: 90px;
    margin: 20px;
    justify-content: space-evenly;
    display: flex;
    align-items: center;
}
.tool-skill img {
    width: 80px;
    height: auto;
}
/*----------------- slider -----------------*/

.text-port {
    text-align: center;
    margin-bottom: 20px;
}
.portafolio {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.container-sl {
    display: flex;
    flex-direction: row;
    height: 50vh;
    width: auto;
    object-fit: cover;
    overflow: hidden;
}
.item {
    display: flex;
    justify-content: center;
    width: auto;
    height: auto;
    align-items: center;
    object-fit: cover;
    overflow: hidden;
}
.container-sl img {
    height: auto;
    width: 30vw;
    filter: grayscale(100%);
    transition: filter 0.5s ease, width 0.5s ease;
}
.container-sl img:hover {
    filter: grayscale(0%);
    width: 35vw;
    object-fit: cover;
}

/*----------------- footer -----------------*/

footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 30vh;
    justify-content: center;
    align-items: center;
    background-color: black;
    color: white;
}
footer h4, p {
    margin: 5px;
}
.subt {
    text-align: center;
}
