html {
    scroll-behavior: smooth;
}



* {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    box-sizing: border-box;
}

body {
    background: transparent url('http://assets.iceable.com/img/noise-transparent.png') repeat 0 0;
    background-color: #f2f2f2;
    color: #161616;
    padding: 20px 4%;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.fadeIn * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s, transform 1s;
}

.show * {
    opacity: 1;
    transform: translateY(0px);
}

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background-color: #cecece;
}

::-webkit-scrollbar-thumb {
    background-color: #6a6a6a;
}

/* ======================Navegador=========================*/

nav {
    padding-top: 40px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 40%;
}

ul li {
    list-style: none;
}

ul li a {
    color: #161616;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
}

.line {
    width: 100%;
    height: 1px;
    background-color: #161616;
    margin-top: 20px;
}



/* ======================Landing=========================*/

h1 {
    font-size: clamp(25px, 5vw, 60px);
    font-weight: 300;
    font-family: 'Unbounded', cursive;
    cursor: default;
}

p {
    cursor: default;
}

h2 {
    font-size: clamp(18px, 3vw, 30px);
    font-weight: 400;
    cursor: default;
}

.land span {
    font-family: 'Unbounded', cursive;
    font-weight: 500;
    cursor: default;
}

.land {
    display: flex;
    align-items: center;
    padding: 3vw 0 5vw 0;
    gap: 3em;
}

.yo {
    width: 25%;
    border-radius: 300px 300px 0 0;
    box-shadow: 0px 14px 42px -10px rgba(0, 0, 0, 0.42);
}

.yo img {
    border-radius: 300px 300px 0 0;
}

.land a {
    font-family: 'Raleway', sans-serif;
    border-radius: 30px;
    border: 1px solid #161616;
    font-size: 20px;
    padding: 10px 20px;
    margin-top: 50px;
    position: relative;
    top: 30px;
    transition: 0.5s;
}

.land a:hover {
    background-color: #161616;
    color: #f2f2f2;
    text-decoration: none !important;
    border: none;
}

.last {
    display: flex;
    justify-content: center;
}

/* ======================Work=========================*/

p {
    font-weight: 500;
    font-size: 18px;
}

.work {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    justify-content: center;
}

.gallery {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2em;
}

.thumbnail {
    width: 30%;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 14px 42px -10px rgba(0, 0, 0, 0.42);
}

img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease-in-out;
}

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(#e9e9e976, #e9e9e9cf);
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-direction: column;
    transition: height 0.3s ease-in-out;
    padding-left: 20px;
    backdrop-filter: blur(10px);

}

.layer p {
    width: 90%;
}

a {
    font-size: 25px;
    font-weight: 600;
    text-decoration: none;
    color: #161616;
    padding-bottom: 10px;
    cursor: pointer;
}


a:hover {
    text-decoration: underline;
}

.material-symbols-outlined {
    font-size: 26px;
    position: relative;
    top: 4px;
}

.thumbnail:hover img {
    transform: scale(1.1);
}

.thumbnail:hover .layer {
    height: 30%;
}

.tab-titles {
    width: 60%;
    padding-bottom: 40px;
}

.tab-links {
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: "";
    width: 0;
    height: 1px;
    background: #161616;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s ease-in-out;
    ;
}

.tab-links.active-link::after {
    width: 100%;
}

.tab-contents {
    display: none;
    width: 90%;
    height: 0;
    transition: 0.5s;
}

.tab-contents.active-tab {
    display: block;
    height: auto;

}

/* ======================About Me=========================*/

#about {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6vw;
    margin-bottom: 6vw;
}



.about-text {
    width: 40%;
    line-height: 30px;
    white-space: 30px;
}

/* ======================Content=========================*/

.content {
    margin-top: 40px;
    margin-bottom: 50px;
}

.content h1 {
    padding-bottom: 20px;
}

.content h2 {
    padding-bottom: 40px;
    width: 80%;
}

.div1 {
    position: relative;
    width: 500px;
}

.div1 i {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 50px;
}

.div1 .div2 {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 0.5s;
}

.div1 img {
    width: 100%;
}

.div1:hover .div2 {
    opacity: 1;
}

.montaje1 .montaje2 {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 0.5s;
}

.montaje1 img {
    width: 100%;
}

.montaje1:hover .montaje2 {
    opacity: 1;
}

.logo-an{
    height: 400px;
    border-radius: 10px;
}


footer {
    display: flex;
    justify-content: space-around;
    align-items: top;
    margin-top: 40px;
    width: 100%;
}

footer nav {
    width: 100%;
    display: flex;
    justify-content: space-around;
}



@media only screen and (max-width: 769px) {

    .gallery,
    header nav,
    .tab-titles {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2em;
    }

    .land {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        margin-top: 30px;
    }

    .yo {
        width: 60%;
        margin-top: 30px;
    }

    .thumbnail,
    img,
    .tab-contents,
    .gallery,
    .heading,
    nav,
    ul,
    .div1,
    .about-text {
        width: 100% !important;
    }

    .land {
        text-align: center;
    }

    .layer {
        height: 30%;
    }

    .land h1 {
        width: 100%;
    }

    .logo-an{
        height: 200px;
    }

}