* {
    margin: 0;
    padding: 0;
}

body {
    background-color: black;
    color: white;
    margin: 0;
    font-family: "DM Mono", sans-serif;
    text-size-adjust: none;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

header {
    text-align: right;
}

#wrapper {
    width: 42%;
    min-width: 312px;
    margin: auto;
    background-color: #000;
    min-height: 100vh;
    padding-bottom: 36px;
    padding: 0 50px;
}

#wrapper h2 {
    padding-left: 50px;
    padding-top: 36px;
}

#tag {
    width: 42%;
    height: auto;
    display: inline-block;
    margin: 0 auto;
}

#main-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

#main-text {
    text-align: left;
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.37rem;
}



#picture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px;
}

.grid-image {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.colors {
    background: linear-gradient(to right, #ef5350, #f48fb1, #7e57c2, #2196f3, #26c6da, #43a047, #eeff41, #f9a825, #ff5722);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#picture-grid .grid-img-wrapper img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}


#picture-grid .grid-img-wrapper {
    /* height: 168px; */
    /* aspect-ratio: 1; */
    display: inline-block;
    overflow: hidden;
}

#specs {
    border: 1px solid #fff;
    width: 40%;

    list-style-type: none;
}

#specs li {
    border: 1px solid #fff;

    padding: 1px 17px;
}

#fp2d {
    float: right;
    width: 53%;
}

section {
    margin: 40px;
}

section h3 {
    margin: 13px 0;
}

#buy h3 {
    text-align: center;
}

#buy hr {
    color: #fff;
    margin-bottom: 16px;
}

#buy .flex {
    display: flex;
}

#buy .button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border: 2px solid #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: #000;
    /* Primary color */
    color: #fff;
    /* Text color */
    width: 40%;
    margin: 0 5%;
}


#buy .button:hover {
    background: linear-gradient(to right, violet, indigo, blue, green, yellow, orange, red);
    background-size: 1400% 100%;
    animation: rainbowAnimation 10s linear infinite;
    /* Adjust the animation duration as needed */
}

@keyframes rainbowAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


@media (max-width: 544px) {

    #main-text,
    section {
        font-size: 13px !important;
        line-height: 17px !important;
    }

    header {
        text-align: right;
        padding: 0 16px;
    }

    #picture-grid {
        margin: 16px;
        grid-template-columns: repeat(2, 1fr);
    }

    #wrapper {
        min-width: auto;
        width: auto;
        padding: 0;
    }

    #fp2d {
        width: 100%;
    }

    #specs {
        width: auto;
    }


}