:root {
    --scroll-bar-color: #a7a7a7;
    --scroll-bar-bg-color: #666666;
}

::-webkit-scrollbar-corner { background: rgba(0,0,0,0.5); }

* {
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-bar-color) var(--scroll-bar-bg-color);
}

*::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

*::-webkit-scrollbar-track {
    background: var(--scroll-bar-bg-color);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--scroll-bar-color);
    border-radius: 20px;
    border: 3px solid var(--scroll-bar-bg-color);
}

* {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans";
}

html {
    background-color: #212121;
}

header {
    height: 70px;
    width: calc(70vw - 60px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border-radius: 15px;
    line-height: 70px;
    background-color: #e4e4e4;
    display: flex;
    justify-content: space-between;
    padding-left: 30px;
    padding-right: 30px;
    box-shadow: 0 0.5rem 1rem rgba(201, 201, 201, 0.2) !important;
}

header a {
    text-decoration: none;
}

header > a > h1 {
    color: rgb(153, 130, 0);
}

header nav {
    display: flex;
    gap: 1vw;
}

header nav a {
    color: #1d1d1d;
    font-size: 1.1rem;
    font-weight: 500;
}

main {
    width: calc(70vw - 60px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 5vh;
    padding-left: 30px;
    padding-right: 30px;
    display: flex;
    justify-content: space-around;
}

main div {
    width: 47%;
    color: #fff;
}

.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.7rem;
}

.about h1 {
    font-size: 3rem;
}

.about p {
    max-width: 80%;
    margin-left: 2px;
    font-size: 1.1rem;
    color: #c5c5c5;
}

#tg-button {
    margin-top: 5rem;
    font-size: 1.3rem;
    height: 48px;
    width: fit-content;
    padding: 5px 3rem;
    line-height: 48px;
    border-radius: 15px;
    font-weight: 600;
    color: #000;
    border: none;
    cursor: pointer;
    box-shadow: 0 0.5rem 1rem rgba(143, 142, 142, 0.15) !important;
    background-color: #e4e4e4;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transition: 0.3S ease-in-out;
}

#tg-button:hover {
    transform: scale(1.02);
    box-shadow: 0 0.5rem 1rem rgba(143, 142, 142, 0.55) !important;
}

.pictures {
    position: relative;
    display: flex;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

.pictures img {
    width: 80%;
    max-width: 100%;
    pointer-events: none;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.rating {
    position: absolute;
    bottom: 5rem;
    height: 70px;
    line-height: 70px;
    border-radius: 15px;
    background-color: #1b1b1b;
    display: flex;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(17, 17, 17, 0.55) !important;
}

.stars {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#advantages {
    margin-top: 5rem;
    background-color: #131313;
    border-radius: 15px 15px 0 0;
    padding-top: 30px;
    padding-bottom: 20px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

#advantages h2 {
    font-size: 2rem;
}

#advantages .container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    width: 60vw;
}

#advantages .container div {
    background-color: #212121;
    width: 300px;
    height: fit-content;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1rem 2rem 1rem;
}

#reviews {
    background-color: #131313;
    padding-top: 3rem;
    padding-bottom: 7rem;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

#reviews h2 {
    font-size: 2rem;
}

#reviews .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    width: 60vw;
}

#reviews .container div {
    background-color: #183543;
    height: fit-content;
    width: 300px;
    border-radius: 15px 15px 15px 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1rem 2rem 1rem;
}

#reviews .container div a {
    color: #fff;
}

#reviews .container div:nth-child(2) {
    background-color: #265870;
    transform: scale(1.2);
}

@media (max-width: 1000px) {
    html {
        overflow-x: hidden;
    }

    header {
        width: 85vw;
    }

    header nav a:not(:first-child) {
        display: none;
    }

    main {
        flex-direction: column;
        gap: 2rem;
    }

    main div {
        width: 100%;
    }

    .about {
        align-items: center;
        text-align: center;
    }

    #tg-button {
        margin-top: 2rem;
    }

    .pictures {
        background-image: unset;
    }

    .pictures img {
        display: none;
    }

    .rating {
        width: 50%;
        position: unset;
        background: unset;
    }

    #advantages {
        margin-top: 3rem;
    }

    #advantages, #reviews {
        gap: 1.5rem;
    }

    #advantages .container {
        width: 95vw;
    }

    #reviews .container {
        width: 90vw;
    }

    #reviews .container div:nth-child(2) {
        transform: scale(1.02);
    }
}

@media (max-width: 700px) {
    header {
        width: 70vw;
        justify-content: center;
    }

    header nav {
        display: none;
    }

    main {
        width: 95vw;
        padding-left: unset;
        padding-right: unset;
    }

    .pictures {
        display: none;
    }

    #advantages h2, #reviews h2 {
        font-size: 1.5rem;
    }

    #advantages .container, #reviews .container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}
