
/* THE PRODUCT */

#product {
    margin-top: 100px;
}

#product_bigtitle {
    font-size: 50px;
    font-weight: normal;
    color: white;

    margin-bottom: 0;
}

.product_blue {
    color: var(--accent-color);
}

#product_wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    margin-bottom: 0px;
    gap: 50px;
}

#product_view {
    width: 35vw;
    height: 500px;

    position: relative;
    overflow: hidden;
}

#product_view img {    
    position: absolute;
    top: 0px;
    left: 0px;

    object-fit: contain;
}

#product_img1 {
    height: 100%;
    width: 100%;
}

#product_img2 {
    border: 5px solid gray;
    outline: 6px solid #222222;

    height: 80%;
    margin-left: 10%;
    margin-top: 10%;

    border-radius: 20px;

    padding-top: 20px;
    padding-bottom: 20px;
}

#product_img3 {
    border: 5px solid gray;
    outline: 6px solid #222222;

    height: 100%;

    border-radius: 30px;

    margin-left: 40%;
}

#product_desc {
    position: relative;

    width: 45vw;
    height: 500px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#product_desc_selector {
    position: absolute;
    top: 20px;

    background-color: #333333;
    border: none;
    border-radius: 30px;

    height: 40px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    gap: 20px;
}

.product_desc_selector_label {
    height: 100%;
    width: 160px;

    color: #aaaaaa;
    font-family: 'Geist Mono', 'IBM Plex Mono', sans-serif;
    font-size: 20px;

    border-radius: 30px;
    border: none;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    cursor: pointer;

    background-color: rgba(255, 255, 255, 0);
    transition: background-color 0.3s ease;

    z-index: 2;
}

.product_desc_selector_label:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.product_desc_selector_label.active {
    color: white;
}

#product_desc_selector svg {
    width: 30px;
    height: 30px;

    margin-top: 0;
    margin-bottom: 0;

    z-index: 2;

    fill: #aaaaaa;
}

#product_desc_selector svg.active {
    fill: white;
}

#product_desc_selector_bg {
    content: '';

    position: absolute;
    top: 0;
    left: 0;
    
    width: 300px;
    height: 100%;

    border: none;
    border-radius: 30px;

    background-color: var(--accent-color);

    pointer-events: none;

    z-index: 0;

    transition: width 0.2s ease;
}

#product_desc_text {
    font-size: 24px;
    margin-left: 60px;
    margin-right: 60px;
    
    position: absolute;
    top: 80px;
}

@media (max-width: 1150px) {
    #product_desc {
        height: 250px;
    }

    #product_wrapper {
        flex-direction: column;
        align-items: center;
    }

    #product_desc_selector {
        display: flex;
        order: -1;
        margin-bottom: 20px;
        position: relative;
    }

    #product_view {
        margin: 0 0 0 20px;
        height: 200px;
    }

    #product_img1, #product_img2, #product_img3 {
        order: -1;
    }

    #product_desc_text {
        position: static;
        top: auto;
        width: 80vw;
    }
}

#adaptable_text {
    margin-left: 5vw;
    margin-right: 5vw;
}

#adaptable_title {
    color: var(--accent-color);
    font-size: 60px;
    height: 24px;

    margin: 0;

    text-align: center;
}

#adaptable_desc {
    margin-top: 70px;

    font-size: 24px;

    text-align: center;
}