body {
    min-height: 100vh;
}

.navbar {
    position: fixed;
    top: 0;
}

.preloader {
    position: fixed;
    top: 0;
}

.overlay {
    position: fixed;
    top: 0;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    height: 100vh;
    width: 100vw;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, .65);
}

.modal.shown {
    display: flex;
}

.modal .container {
    width: 50vw;
    min-height: 50vh;
    background-color: rgb(var(--background-color));
    border-radius: .5vh;
    overflow: hidden;
}

.modal .container .name {
    display: flex;
    width: 95%;
    padding: 2vh 2.5%;
    align-items: center;
    background-color: rgb(0, 0, 0, .25);
}

.modal .container .name h1 {
    font-size: 2vh;
    color: #fff;
    margin: 0;
    flex-grow: 100;
}

.modal .container .name a {
    font-size: 1.6vh;
    color: #fff;
    margin: 0;
    cursor: pointer;
}

.modal .container .description {
    width: 95%;
    padding: 1vh 2.5%;
    font-size: 1.6vh;
    color: #fff;
}

.products {
    display: grid;
    position: relative;
    z-index: 2;
    width: 80%;
    padding: 20vh 10% 5vh 10%;
    grid-auto-rows: 1fr;
    grid-column-gap: 2.5%;
    grid-row-gap: 5vh;
    grid-template-columns: repeat(4, 1fr);
}

.products .product {
    display: flex;
    flex-wrap: wrap;
    border-radius: .4vh;
    padding: 1.5vh 1.5vh .5vh 1.5vh;
    background-color: rgb(var(--background-color));
    outline: .2vh solid rgb(var(--gradient-one));
}

.products .product img {
    height: auto;
    width: 100%;
    border-radius: .2vw;
}

.products .product .information {
    padding: 2vh 0% 0vh 0%;
    flex-grow: 1;
    position: relative;
}

.products .product .information .name {
    font-size: 2.75vh;
    margin: 0;
    margin-bottom: 0px;
    font-weight: 600;
    margin-bottom: 1vh;
    color: #fff;
}

.products .product .information .price {
    margin: 0;
    margin-right: 0px;
    margin-bottom: 0px;
    color: rgb(var(--gradient-one));
    font-size: 2.25vh;
    font-weight: 600;
    margin-bottom: 3vh;
    margin-right: 7.5%;
}

.products .product .information .description {
    display: none;
}

.products .product .information a {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    display: block;
    background: linear-gradient(rgb(var(--gradient-one)), rgb(var(--gradient-two)));
    text-decoration: none;
    color: #fff;
    text-align: center;
    padding: 1vh 0;
    font-size: 1.65vh;
    border-radius: .25vh;
    transition: border-radius .25s ease, color .25s ease;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 1vh;
}

.products .product .information a:hover {
    border-radius: .5vh;
    color: rgba(255, 255, 255, .75);
}

@media screen and (max-width: 600px), (orientation : portrait) {
    .modal .container {
        width: 90vw;
        min-height: 30vh;
    }
    
    .products {
        grid-template-columns: repeat(1, 1fr);
    }
}