﻿
.main {
    /*background-color: #1E1F20;*/
    background-color:white;
    min-height: 300px;
}

    .main button {
        margin: 20px 0 0 20px;
        padding: 0 15px 0 15px;
        font-family: 'Golos Text';
        background-color: #8C8068;
        border-radius: 10px;
        color: white;
        font-weight: 300;
        font-size: 1.25rem;
        width: 130px;
    }

.descriptionOfTextures {
    display: flex;
    justify-content: center;
    margin: 30px 30px 0px 30px;
}

.paginationButtons {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-self: center;
    color: white;
    gap: 20px;
    padding-bottom: 50px;
    color: rgb(211, 214, 216);
}

    .paginationButtons a {
        /*text-decoration: none;
        color: white;*/
        color: #8C8068;
    }

.textures {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
    /* gap: 30px;  with card*/
    row-gap: 0;
    column-gap: 30px;
    padding: 40px 0 40px 0;
}

/* cards */
.textureContainer {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 20px;
    text-decoration: none;
    border-style: solid;
    border-width: thin;
    /* border-color: #AAA8A4; dark */
    border-color: white;
    padding: 10px;
    width: 80%;
    /*background-color: #2F3031;dark */
    background-color:white;
    /*box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.312);dark */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 300px;
}

    .textureContainer.hide {
        display: none;
    }

    .textureContainer:hover {
        transform: translateY(-5px);
        box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.523);
    }

.texturesText {
    order: 2;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-self: flex-start;
    border-radius: 20px;
    margin: 0;
    /*padding: 10px;*/
    height: auto;
    width:100%;
    align-items:center;
}

    .texturesText h1 {
        /* color: #D3D6D8; dark */
        color: #2F3031;
        font-size: 1rem;
        /* margin: 0 0 10px 0; */
        font-family: 'Golos Text';
        margin-bottom: 5px;
    }

.textureContainer img {
    order: 1;
    display: flex;
    align-self: center;
    border-radius: 20px;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    /*box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.312);dark */
}

.resultContainer {
    display:flex;
    justify-content:center;
    flex-direction:column;
    align-items:center;
    gap:20px;
    padding-top:20px;
}

    .resultContainer p {
        font-family: 'Golos Text';
        color: black;
        font-size:large;
    }

    .resultContainer a {
        margin: 20px 0px 0px 0px;
        font-family: 'Golos Text';
        background-color: #cecab0;
        border-radius: 10px;
        color: white;
        font-weight: 300;
        font-size: 1.25rem;
        width: 81%;
        max-width: 320px;
        text-decoration: none;
        text-align: center;
        border-style: outset;
        border-color: white;
    }

/* Responsive */
@media (min-width: 350px) {
    /* Main section */
    .textureContainer {
        width: 40%;
        flex-wrap: wrap;
    }
}

/* Responsive */
@media (min-width: 550px) {
    /* Main section */
    .textureContainer {
        width: 35%;
        flex-wrap: wrap;
    }
}


@media (min-width: 700px) {
    /* Main section */
    .textureContainer {
        width: 20%;
        flex-wrap: wrap;
    }
}

@media (min-width: 1000px) {
    /* Main section */
    .textureContainer {
        width: 20%;
        flex-wrap: wrap;
    }

    .texturesText h1 {
        font-size: 1.5rem;
    }

    .texturesText p {
        font-size: 1.25rem;
    }
}
