#banner {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}
#banner img{
    width: 500px;
    height: 300px;
    object-fit: contain;
}

#header .title {
    font-size: 61px;
    font-weight: bold;
}
#header .cat {
    display: flex;
    align-items: flex-start;
    margin-top: 15px;
    flex-direction: column;
}
#header .cat .header {
    font-size: 21px;
    text-transform: uppercase;
    color: var(--primary);
    margin-right: 10px;
}

#header .cat .text {
    font-size: 21px;
}

#website {
    height: 500px;
    display: flex;
    margin-bottom: 100px;
    border-radius: 40px;
    overflow: hidden;
}

#website img {
    width: 100%;
    height: 100%;
}

#website .overlay {
    position: absolute;
    width: 1300px;
    height: 500px;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: url(../images/pointer.svg), pointer;
    border-radius: 40px;
    overflow: hidden;
}

#website .overlay .btn{
    background-color: white;
    border-radius: 30px;
    color: black;
    display: flex;
    column-gap: 10px;
    align-items: center;
    padding: 10px 30px;
}

#website .overlay .btn img{
    width: 17px;
    height: 17px;
}

#content {
    margin-bottom: 120px;
}

#content .categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 40px;
    margin-right: 30px;
    margin-bottom: 20px;
    row-gap: 20px;
}
#content .categories .category {
    text-wrap: nowrap;
    cursor: url(../images/pointer.svg), pointer;
    padding: 10px 20px;
    border-radius: 10px;
}
#content .categories .category.selected {
    color: var(--primary);
    background-color: black;
    box-shadow: 0px 0px 5px 0px rgb(255 255 255 / 17%);
}

#content .content_tab {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}
#content .content_tab.show {
    display: flex;
    animation: fade-in-up 500ms;
}

#content .content_tab .content {
    width: 450px;
    height: calc(450px * 2 / 3);
    display: inline-block;
    font-size: 26px;
    margin: 5px;
    cursor: url(../images/pointer.svg), pointer;
}
#content .content_tab .content.img {
    background-size: cover;
}

#content .content_tab .content .cat {
    font-size: 16px;
    background: #0000006e;
    padding: 10px;
    border-radius: 5px;
    margin: 10px;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
    text-wrap: wrap;
    display: inline-block;
}
#content .content_tab .content .cat:hover {
    background: var(--background);
}

#content .slickify,
#content .slickify-3 {
    width: 100%;
}
#content .slickify .item,
#content .slickify-3 .item {
    margin: 5px;
    display: flex;
    justify-content: stretch;
    align-items: stretch;
}

#content .slickify iframe,
#content .slickify img,
#content .slickify-3 iframe {
    width: 100%;
    border: none;
}

#content iframe.loading {
    display: none;
}

#content .loader {
    --loader-light: rgb(50, 50, 50);
    --loader-dark: rgb(40, 40, 40);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
        -45deg,
        var(--loader-dark),
        var(--loader-light),
        var(--loader-dark),
        var(--loader-light),
        var(--loader-dark),
        var(--loader-light),
        var(--loader-dark),
        var(--loader-light),
        var(--loader-dark),
        var(--loader-light)
    );
    background-size: 400% 400%;
    animation: gradient 3s ease infinite;
}
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
#content .loader dotlottie-player {
    width: 200px;
    height: 200px;
}
#content .loader.loaded {
    display: none;
}

#related {
    margin-top: 100px;
    margin-bottom: 100px;
}

#related .header {
    font-size: 29px;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 43px;
}

#related .projects {
    width: 100%;
    margin-top: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#related .projects .project {
    width: 450px;
    height: calc(450px * 2 / 3);
    display: inline-block;
    font-size: 26px;
    margin: 5px;
    cursor: url(../images/pointer.svg), pointer;
}
#related .projects .project.img {
    background-size: cover;
}

#related .projects .project .cat {
    font-size: 14px;
    background: #0000006e;
    padding: 10px;
    border-radius: 5px;
    margin: 10px;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
    text-wrap: wrap;
    display: inline-block;
    color: white;
}

.slick-arrow::before {
    content: "" !important;
    width: 100px;
    height: 100px;
    display: flex;
    opacity: 1;
    z-index: 100;
}
.slick-next::before {
    background-image: url(../images/arrow_right.png);
    background-size: contain;
}
.slick-prev::before {
    background-image: url(../images/arrow_left.png);
    background-size: contain;
}
.slick-next {
    right: -50px !important;
}
.slick-prev {
    left: -130px !important;
}
@media only screen and (max-width: 1400px) {
    #content {
        width: 80%;
        margin: 0 10%;
    }
}
@media only screen and (max-width: 900px) {
    #header {
        margin-left: 20px;
        margin-right: 20px;
    }
    #banner img{
        width: 300px;
        height: 200px;
    }
    #website {
        width: 400px;
        height: 200px;
    }
    
    #website .overlay {
        width: 400px;
        height: 200px;
    }
    #website img {
        height: 200px;
    }
    #content {
        margin-left: 20px;
        margin-right: 20px;
        width: calc(100% - 40px);
    }
    #content img {
        width: calc(100% - 20px);
        margin-bottom: 10px;
    }
    #related {
        margin-left: 20px;
        margin-right: 20px;
    }
    #header .title {
        font-size: 40px;
    }
    #header .cat .header {
        font-size: 18px;
    }

    #header .cat .text {
        font-size: 18px;
    }

    #related .projects .project {
        width: 350px;
        height: calc(350px * 2 / 3);
        display: inline-block;
        font-size: 26px;
        margin: 5px;
        cursor: url(../images/pointer.svg), pointer;
    }
}
