html {
    overflow-x: hidden;
    height: 100%;
}

body {
    overflow-x: hidden;
    height: 100%;
    background-color: #0f0f0f;
}

body::-webkit-scrollbar {
    width: 0.25rem;
}

body::-webkit-scrollbar-track {
    background: #0f0f0f;
}

body::-webkit-scrollbar-thumb {
    background: grey;
}

* {
    box-sizing: border-box;
}

.small_screen {
    display: none;
}

.site_one_container {
    position: relative;
}

.site_one {
    position: relative;
    height: 100vh;
    width: 90%;
    background-color: #0f0f0f;
    margin: auto;
    margin-top: 4rem;
    border-radius: 10px;
    border: 3px solid #0ff;
    padding: 1rem;
}

.rest {
    margin-top: 7rem;
}

.carousel-item img {
    width: 100%;
    height: 41.2rem;
}

.overlay {
    background: rgba(0, 0, 0, 0.9);
    width: 50%;
    height: 97%;
    position: absolute;
    right: 0;
    transform: translateY(-41.2rem);
}

.overlay.active {
    width: 0%;
    transition: 0.3s;
}

.lg_overlay.active {
    width: 0%;
    transition: 0.3s;
}

.overlay.active .site_name {
    display: none;
}

.overlay.active .linkbtn {
    display: none;
}

.overlay.active .description {
    display: none;
}

.overlay.active .svgbutton {
    display: none;
}

.close_container {
    position: absolute;
    height: 40px;
    width: 40px;
    background-color: #0f0f0f;
    border-radius: 50px;
    transform: translate(71.5rem, 1rem);
    z-index: 1000;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.show {
    display: block;
}

.close {
    color: #fff;
    padding-left: 5px;
    position: relative;
}

.overlay h3 {
    font-size: 2rem;
    margin-top: 8rem;
}

.overlay a {
    margin-left: 15.7rem;
}

.overlay .description {
    height: 10rem;
    width: 24rem;
    padding: 1rem;
    border-radius: 5px;
    margin-left: 7rem;
    margin-top: 2rem;
}

.overlay .description p {
    color: #0ff;
    text-align: center;
    font-size: 1.2rem;
}

.svgbutton {
    display: absolute;
    position: fixed;
    height: 40px;
    width: 150px;
    border-radius: 30px;
    background-color: #0ff;
    display: flex;
    align-items: center;
    transform: translate(2rem, 11.5rem);
    cursor: pointer;
    transition: 0.3s;
}

.textsvg {
    padding-top: 15px;
    display: flex;
    flex-direction: row;
}

.textsvg p {
    padding-left: 15px;
    white-space: nowrap;
}

.svgbutton:hover {
    background-color: #0f0f0f;
}

.svgbutton:hover svg {
    color: #fff;
}

.svgbutton:hover .textsvg p {
    color: #fff;
}

.svgbutton svg {
    position: relative;
    right: -30px;
}

.control-prev {
    height: 40px;
    width: 40px;
    background-color: #0ff;
    border-radius: 50px;
    position: absolute;
    transform: translate(68rem, -5rem);
    z-index: 1000;
    outline: none;
}

.control-prev:hover {
    background-color: #0f0f0f;
}

.prev_button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.control-next {
    height: 40px;
    width: 40px;
    background-color: #0ff;
    border-radius: 50px;
    position: absolute;
    transform: translate(71rem, -5rem);
    z-index: 1000;
    outline: none;
}

.control-next:hover {
    background-color: #0f0f0f;
}

.next_button {
    display: flex;
    justify-content: center;
    align-items: center;
}



@media screen and (max-width: 480px) {
    .large_screen {
        display: none;
    }

    .small_screen {
        padding: 2rem;
        display: block;
    }

    .mobile_site_container {
        height: 80vh;
        border: 1px solid white;
        border-radius: 10px;
        padding: 10px;
        margin-top: 10px;
    }

    .rest {
        margin-top: 80px;
    }

    .close_container_sm {
        position: absolute;
        right: 10px;
        height: 38px;
        width: 38px;
        background-color: #0f0f0f;
        border-radius: 50px;
        z-index: 1000;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .overlay_sm.active .close_container_sm {
        bottom: 2px;
    }

    .image_container {
        position: relative;
        height: 100%;
        width: 100%;
        border-radius: 10px;
        border: 1px solid yellow;
        padding: 5px;
    }


    .carousel-item img {
        height: 74vh;
        width: 100%;
        object-fit: contain;
    }

    .overlay_sm {
        background: rgba(0, 0, 0, 0.9);
        width: 100%;
        height: 40vh;
        position: absolute;
        right: 0;
        bottom: 5px;
        padding: 20px;
        z-index: 10;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .overlay_sm.active {
        height: 5vh;
        transition: 0.3s;
    }

    .sm_second.active {
        height: 5vh;
        transition: 0.3s;
    }

    .site_name {
        font-size: 20px;
        padding-top: 60px;
    }

    .overlay_sm.active .site_name {
        display: none;
    }

    .btn_container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }

    .overlay_sm.active .btn_container {
        display: none;
    }

    .overlay_sm .description {
        position: relative;
        margin-top: 10%;
    }

    .overlay_sm.active .overlay_sm .description {
        display: none;
    }

    .overlay_sm .description p {
        text-align: center;
    }

    .overlay_sm.active .description p {
        display: none;
    }

}