* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    list-style: none;
    text-decoration: none;

}

body {
    background: rgb(193, 220, 245);
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(135deg, rgba(0, 39, 92, 1) 0%, rgba(0, 29, 143, 1) 25%, rgba(0, 76, 187, 1) 61%, rgba(0, 142, 255, 1) 100%);


}

header {
    position: fixed;
    right: 0;
    top: 20px;
    z-index: 1000;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 33px 9%;
    background: transparent;

}


.logo {
    font-size: 30px;
    font-weight: 700;
    color: white
}

.logo img {
    width: 200px;
    height: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;

}

.navlist {
    display: flex;
}

.navlist li a {
    color: white;
    margin-left: 60px;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.55s ease;
    cursor: pointer;
}

.navlist li a:hover {
    border-bottom: 2px solid white;
}


#menu-icon {
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    display: none;
}

.slider {
    aspect-ratio: 16/9;
    width: 1000px;
    position: relative;
    display: flex;
    overflow: scroll;
    transition: all 0.55s ease;
    scroll-snap-type: x mandatory;
}

.slider img {
    width: 100%;
    height: auto;
    left: 0;
    position: sticky;
    object-fit: cover;
    border-radius: 5px;
    scroll-snap-align: center;
}

.gal .img_gal {
    width: 1300px;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}

.gal .img_gal .main_img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 10px 10px rgba(1, 23, 46, 0.6);
    object-fit: cover;
    transition: all 0.55s ease;
}

.gal .thumb {
    height: 80px;
    width: auto;
    display: flex;
    margin: 5px 5px 5px
}

.gal .thumb .img_thumb {
    width: 200px;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.55s ease;
    opacity: 0.7;
}

.gal .thumb .img_thumb:hover {
    opacity: 1;

}

.gal h1 {
    font-size: 50px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    margin-top: 20px;
}

.img_activa {
    opacity: 1 !important;
    width: 230px;
    width: auto;
    height: 100px;
    box-shadow: 0 10px 10px rgba(1, 23, 46, 0.6);
}


section {
    padding: 12% 19%;
}

.trfat {
    height: 100%;
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;


}

.trfat-text h5 {
    font-size: 15px;
    font-weight: 300;
    color: white;
    margin-bottom: 40px;
    margin-top: 150px
}

.trfat-text h4 {
    font-size: 20px;
    font-weight: 300;
    color: white;
    margin-top: 10px;
    margin-bottom: 10px;
}

.trfat-text h1 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
    color: white;
}

.trfat-text h2 {
    font-size: 25px;
    font-weight: 300;
    line-height: 1.2;
    color: white;
    margin-top: 10px;
    margin-bottom: 10px;
}

.trfat-text h3 {
    font-size: 20px;
    font-weight: 250;
    line-height: 1.2;
    color: white;
    margin-top: 10px;
    margin-bottom: 10px;
}

.trfat-text p {
    font-size: 15px;
    font-weight: 400;
    color: white;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.9;
}

.trfat-text ul li {
    font-size: 20px;
    font-weight: 250;
    color: white;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 5%;
    line-height: 1.2;
    list-style-type: circle;
}

.trfat-img img {
    width: 700px;
    height: auto;
    margin-top: 30px;
}

.trfat-text h3 a {
    display: inline-block;
    padding: 0 0;
    color: rgb(255, 255, 255);
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.55s ease;
    border-radius: 5px;
}

.trfat-text h3 a:hover {
    padding: 10px 10px;
    border: 1px solid transparent;
    transform: scale3d(1.1, 1.1, 1.1);
}

.trfat-text a {
    display: inline-block;
    padding: 15px 30px;
    background: rgb(0, 102, 255);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    line-height: 1.4;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: all 0.55s ease;
}


.trfat-text a:hover {
    background: transparent;
    border: 1px solid white;
    color: white;
    transform: translateX(8px);
}



.trfat-text li a {
    display: flex;

    background: transparent;
    padding: 10px 10px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    line-height: 1.4;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: all 0.55s ease;
    flex-direction: column;
}

.icons {
    position: absolute;
    top: 50%;
    padding: 0 9%;
    transform: translateY(-50%);
}

.icons a {
    display: block;
    margin: 26px 0;
    font-size: 24px;
    color: white;
    margin-right: 20px;
    cursor: pointer;
    transition: all 0.55s ease;
}

.icons a:hover {
    color: rgb(72, 127, 255);
    transform: translateY(-5px);
}

.scroll-down {
    position: absolute;
    bottom: 6%;
    right: 9%;

}

.scroll-down a {
    display: block;
    padding: 12px;
    font-size: 25px;
    color: white;
    background: rgb(0, 132, 255);
    border-radius: 30px;
    transition: all 0.55s ease;
}

.scroll-down a:hover {
    transform: translateY(-8px);
}

@media (max-width: 1900px) {
    .trfat-img img {
        width: 500px;
        height: auto;
        transition: 0.2s;
    }

    .slider {
        width: 800px;
    }
}

@media (max-width: 1535px) {
    header {
        padding: 15px 5%;
        transition: 0.2s;
    }

    .icons {
        padding: 0 3%;
        transition: 0.2s;
    }

    .scroll-down {
        right: 3%;
        transition: 0.2s;
    }

    .slider {
        width: 700px;
    }

    .gal .img_gal .main_img {
        width: 900px;
        height: auto;
        border-radius: 5px;
        margin-bottom: 20px;
    }

    .gal .thumb .img_thumb {
        width: 180px;
        height: auto;

    }


}

@media (max-width: 1460px) {
    section {
        padding: 12% 12%;
        transition: 0.2s;
    }

    .slider {
        width: 600px;
    }


}

@media (max-width: 1340px) {
    .trfat-img img {
        width: 100%;
        height: auto;
        transition: 0.2s;
    }

    .trfat-text h1 {
        font-size: 35px;
        margin: 0 0 30px;
    }

    .trfat-text h5 {
        margin-bottom: 25px;
    }

    .slider {
        width: 500px;
    }


}

@media (max-width: 1340px) {
    section {
        padding: 12% 3%;
        transition: 0.2s;
    }

    .trfat-text {
        padding-top: 115px;

    }

    .trfat-imgP {
        text-align: center;

        img {
            width: 560px;
            height: auto;
            transition: 0.2s;
        }
    }

    .trfat {
        height: 100%;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 3%;
    }

    .icons {
        display: none;
    }

    .scroll-down {
        display: none;
    }

}

@media (max-width: 990px) {
    #menu-icon {
        display: block;
    }

    .navlist {
        position: absolute;
        top: 100%;
        right: 0;
        right: -100%;
        width: 200px;
        height: 40vh;
        background: rgba(0, 132, 255, 0.7);
        display: flex;
        text-align: right;
        align-items: right;
        flex-direction: column;
        padding: 50px 20px;
        transition: all 0.55s ease;

    }

    .navlist li {
        margin-left: 0;
        display: block;
        margin: 8px 0;
    }

    .navlist.open {
        right: 0;
    }

    .gal .img_gal .main_img {
        width: 600px;
        height: auto;
        border-radius: 5px;
        margin-bottom: 20px;
    }

    .gal .thumb .img_thumb {
        width: 100px;
        height: auto;

    }

}

@media (max-width: 680px) {
    .trfat-img img {
        width: 100%;
        height: auto;
        transition: 0.2s;
    }

    .gal .img_gal .main_img {
        width: 400px;
        height: auto;
        border-radius: 5px;
        margin-bottom: 20px;
    }

    .gal .thumb .img_thumb {
        width: 70px;
        height: auto;

    }
}