@import "./style.css";

/* Sections global styles */
.g-section{
    height: 100%;
    width: 100%;
    padding: 1rem 4rem;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}

.g-section-bg{
    grid-column: 1 / 2;
    grid-row: 1;
    width: 100%;
    height: 100%;
}

.g-view-all{
    display: flex;
    justify-content: flex-end;
}

    .g-view-all a{
        color: #8cb670;
        padding: 0.5rem 3rem;
        background-color: #1e1a1a;
        border-radius: 10px;
        text-decoration: none;
        font-family: "scary_feet";
        font-size: 1.5rem;
        box-shadow: 2px 2px 3px #0a0a0a;
        cursor: pointer;
    }

    .g-view-all a:hover{
        box-shadow: 1px 1px 4px #8cb670;
        text-shadow: 1px 1px 1px #47be59;
    }

/* Fresh Posts */
.blog-bits{
    grid-column: 1 / 2;
    grid-row: 1;
    padding: 1rem 6rem;
}

    .blog-bits-grid-container{
        padding: 1rem 0;
        display: grid;
        grid-gap: 1.5rem;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        min-height: 600px;
        max-height: 100%;
    }

        .blog-bits-div{
            display: flex;
            flex-direction: column;
            background-color: #272323;
            border-radius: 10px;
            box-shadow: 4px 4px 8px #0a0a0a;
        }

            .blog-bits-div img{
                width: 100%;
                border-radius: 10px 10px 0 0;
            }

            .blog-info{
                display: flex;
                flex-direction: column;
                align-items: center;
                min-height: 180px;
            }

                .blog-info h2{
                    padding: 10px 0.5rem;
                    font-size: 1.4rem;
                    color: white;
                    text-align: center;
                    font-family: "Roboto", sans-serif;
                }

                .blog-bits-div p{
                    font-family: "Roboto", sans-serif;
                    font-size: 0.9rem;
                    color: white;
                    padding: 0.5rem 1rem 0;
                    text-align: center;
                    letter-spacing: 1.2px;
                    line-height: 1.6;
                }

                .read-more{
                    color: #8cb670;
                    padding: 0.5rem 0;
                    margin: 1rem auto;
                    background-color: #2c2828;
                    border-radius: 10px;
                    text-decoration: none;
                    text-align: center;
                    font-family: "scary_feet";
                    font-size: 1.3rem;
                    box-shadow: 2px 2px 3px #0a0a0a;
                    width: 50%;
                    white-space: nowrap;
                }

                    .read-more:hover{
                        box-shadow: 1px 1px 4px #8cb670;
                        text-shadow: 1px 1px 1px #47be59;
                    }

                    .read-more:focus{
                        outline: none;
                    }

                .info-footer{
                    display: flex;
                    flex-direction: column;
                    justify-content: flex-end;
                    padding-bottom: 20px;
                }

                    .stage-date,
                    .tags,
                    .info-footer p{
                        font-size: 1rem;
                        font-family: "Roboto", sans-serif;
                    }

                    .tags{
                        font-size: 0.8rem;
                        letter-spacing: 1.2px;
                    }

/* Fresh Builds */
.fresh-builds{
    grid-column: 1 / 2;
    grid-row: 1;
    padding: 6rem;
}

    .section-name{
        color: white;
        font-family: "shlop";
        font-size: 3rem;
    }

    .fresh-builds-grid-container{
        padding: 2rem 0;
        display: grid;
        grid-gap: 1rem;
        grid-template-columns: repeat(3, minmax(400px, 1fr));
    }

        .fresh-builds-divs{
            display: flex;
            flex-direction: column;
            height: 100%;
            width: 90%;
            margin: auto;
            border-radius: 10px;
            box-shadow: 4px 4px 8px #0a0a0a;
        }

            .fresh-builds-div-img{
                flex: 1;
                max-height: 300px;
                object-fit: cover;
                border-radius: 10px 10px 0 0;
            }

            .info-div{
                background-color: #1e1a1a;
                border-radius: 0 0 10px 10px;
            }

                .info-div p{
                    font-family: "Roboto";
                    flex: 1;
                    padding: 1rem;
                    color: white;
                    font-size: 1rem;
                    height: 120px;
                }

            .buttons-div{
                width: 100%;
                display: flex;
                justify-content: space-evenly;
            }

                .button{
                    color: #8cb670;
                    padding: 0.5rem 2rem;
                    margin: 1rem 0;
                    background-color: #2c2828;
                    border-radius: 10px;
                    text-decoration: none;
                    font-family: "scary_feet";
                    font-size: 1.3rem;
                    box-shadow: 2px 2px 3px #0a0a0a;
                }

                .button:hover{
                    box-shadow: 1px 1px 4px #8cb670;
                    text-shadow: 1px 1px 1px #47be59;
                }

            .info-bottom{
                padding: 0 1rem;
            }

                .details{
                    display: flex;
                    width: 100%;
                    justify-content: flex-start;
                    align-items: center;
                }

                    .details-h2{
                        flex: 1;
                        font-family: "Roboto";
                        font-size: 0.9rem;
                        font-weight: 400;
                        letter-spacing: 1.5px;
                        padding: 0.5rem 0;
                        color: white;
                    }

                    .level-available{
                        flex: 1;
                        display: flex;
                        width: 100%;
                        justify-content: flex-end;
                        color: white;
                        font-size: 1.2rem;
                    }

                        .details img{
                            width: 25px;
                            height: 25px;
                        }

                        .details .level{
                            width: 40px;
                        }


/* Fresh Bits */
.fresh-bits{
    grid-column: 1 / 2;
    grid-row: 1;
    padding: 6rem;
}

    .section-name{
        font-family: "shlop";
        color: white;
        font-size: 3rem;
    }

    .fresh-bits-grid-container{
        padding: 2rem 0;
        display: grid;
        grid-gap: 1rem;
        grid-template-columns: repeat(4, minmax(250px, 1fr));
    }
    
        .fresh-bits-div{
            position: relative;
            height: 300px;
            width: 300px;
            margin: auto;
            border-radius: 10px;
            box-shadow: 4px 4px 8px #0a0a0a;
        }

        .fresh-bits-div:hover{
            box-shadow: 2px 2px 6px #8cb670;
        }

            .fresh-bits-div img{
                height: 100%;
                width: 100%;
                padding-bottom: 2.5rem;
                border-radius: 10px 10px 30px 30px;
            }

            .fresh-bits-div p{
                font-family: "Roboto";
                font-size: 0.9rem;
                color: white;
                position: absolute;
                bottom: 0;
                left: 0;
                background-color: #1e1a1a;
                height: 20%;
                border-radius: 0 0 10px 10px;
                padding: 0.5rem 1rem 0;
                text-align: center;
            }

/* Skin Suits */
.skin-suits{
    grid-column: 1 / 2;
    grid-row: 1;
    padding: 6rem;
}

    .section-name{
        font-family: "shlop";
        color: white;
        font-size: 3rem;
    }

    .skin-suits-grid-container{
        padding: 2rem 0;
        display: grid;
        grid-gap: 1rem;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }

        .skin-suits-divs{
            display: flex;
            flex-direction: column;
            height: 100%;
            padding: 1rem 2rem;
            box-shadow: 2px;
        }

            .skin-suits-divs img{
                width: 100%;
            }

            .skin-suits-divs h2{
                text-align: center;
                color: #8cb670;
                font-family: "Roboto";
            }

            .skin-suits-divs h3{
                font-family: "Roboto";
                color: #8cb670;
                text-align: center;
                padding-bottom: 1rem;
                font-size: 1.2rem;
            }

            .skin-suits p{
                font-family: "scary_feet";
                text-align: center;
                color: #8cb670;
                font-size: 1.2rem;
                letter-spacing: 1.2px;
            }

            .buy-now{
                display: flex;
                justify-content: center;
            }

                .buy-now a{
                    padding: 0.5rem 2rem;
                    background-color: #1e1a1a;
                    color: #8cb670;
                    text-decoration: none;
                    border-radius: 10px;
                    font-family: "scary_feet";
                    font-size: 1.5rem;
                    box-shadow: 2px 2px 3px #0a0a0a;
                }

                .buy-now a:hover{
                    box-shadow: 1px 1px 4px #8cb670;
                    text-shadow: 1px 1px 1px #47be59;
                }

/* Media Queries*/
@media only screen and (max-width: 1024px) {

    .fresh-builds-grid-container{
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }

    .fresh-bits-grid-container{
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .skin-suits p{
        margin: 2rem 0;
    }
}
@media only screen and (max-width: 700px) {

    .buttons-div{
        width: 80%;
        flex-direction: column;
        margin: auto;
    }

        .button{
            text-align: center;
            margin: 0.2rem 0;
            padding: 0.2rem 0;
        }

    .g-section{
        padding: 4rem 0;
    }
    
    .fresh-builds,
    .fresh-bits,
    .skin-suits{
        padding: 6rem 1rem;
    }

    .details-h2{
        font-size: 0.8rem;
    }

    .level-available{
        font-size: 0.8rem;
    }

    .fresh-builds-div-img{
        height: 200px;
    }

    .fresh-builds-divs{
        margin: 1.5rem auto;
    }

    .fresh-builds-divs div p{
        padding: 0.8rem;
        font-size: 1rem;
    }

    .fresh-bits-div{
        margin: 1.5rem auto;
        height: 300px;
        width: 300px;
    }

    .fresh-bits-div img{
        padding-bottom: 4rem;
    }

    .fresh-builds-grid-container,
    .fresh-bits-grid-container,
    .skin-suits-grid-container{
        display: block;
    }

    .fresh-bits-div p{
        height: 30%;
        padding-top: 1.2rem;
        font-size: 1rem;
    }

    .section-name{
        font-size: 2rem;
    }

    .skin-suits p{
        margin: 2rem 0;
    }
}

@media only screen and (max-width: 320px) {

    .fresh-builds{
        padding: 6rem 0;
    }

    .fresh-bits{
        padding: 6rem 0;
    }

    .skin-suits{
        padding: 6rem 0;
    }

    .section-name{
        padding-left: 1rem;
    }

    .fresh-builds-divs p{
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }

    .fresh-builds-divs,
    .fresh-bits-div{
        margin: 1.5rem auto;
    }
}