@import "./style.css";

#page-title{
    color: #8cb670;
    text-align: center;
    font-size: 4rem;
    font-family: "scary_feet";
}

.builds-container{
    width: 90%;
    height: 100%;
    margin: 4rem auto;
    color: white;
}

    .builds-item{
        display: flex;
        height: 100%;
        background-color: #2f2c2c;
        margin: 4rem 0;
        box-shadow: 4px 4px 8px #0a0a0a;
        border-radius: 10px;
    }

        .img-div{
            flex: 1;
            width: 40%;
            object-fit: cover;
            border-radius: 10px 0 0 10px;
        }

        .info-div{
            flex: 2;
            display: flex;
            flex-direction: column;
            padding: 2rem 2rem 0 2rem;
            
        }

            .info-top{
                flex: 2;
            }

                .info-top h2{
                    font-family: "shlop";
                    font-size: 3rem;
                    letter-spacing: 4px;
                    padding-bottom: 1.5rem;
                }

                .info-top p{
                    font-size: 1rem;
                    letter-spacing: 1px;
                    font-family: "Roboto";
                }

                .credit{
                    padding-top: 1rem;
                    font-family: "Roboto";
                }

                    .credit a{
                        color: #8cb670;
                        text-decoration: none;
                    }

                .buttons-div{
                    padding-top: 1rem;
                    display: flex;
                    flex-direction: row;
                    justify-content: space-evenly;
                    align-items: flex-end;
                }

                    .button{
                        color: #8cb670;
                        padding: 0.5rem 6rem;
                        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{
                flex: 1;
                margin-top: 1rem;
                padding-bottom: 1rem;
            }

                .details{
                    display: flex;
                    width: 100%;
                    justify-content: flex-start;
                    align-items: center;
                }

                    .details h2{
                        flex: 1;
                        font-size: 1rem;
                        font-weight: 400;
                        padding: 0.5rem;
                        font-family: "Roboto";
                        letter-spacing: 1.5px;
                    }

                    .info{
                        flex: 1;
                        display: flex;
                        width: 100%;
                        justify-content: flex-end;
                    }

                    .details p{
                        font-size: 1.3rem;
                    }

                    .details img{
                        width: 30px;
                        height: 30px;
                    }

                    .details .level{
                        width: 40px;
                    }

                    

/* Media Queries*/
@media only screen and (max-width: 1024px) {

.builds-container{
    width: 90%;
    height: 100%;
    margin: 4rem auto;
    color: white;
}
    .info-div{
        padding: 1rem 1rem 0 1rem;
    }

        .info-top h2{
            font-size: 2.5rem;
        }

        .info-top p{
            font-size: 1rem;
            letter-spacing: 1px;
        }

        .buttons-div{
            padding-top: 0;
            flex-direction: column;
            align-items: center;
        }

            .button{
                margin: 0.5rem 0;
            }

            .details{
                display: flex;
            }

                .details h2{
                    flex: 2;
                    font-size: 1rem;
                }

                .info{
                    flex: 1;
                    display: flex;
                    width: 100%;
                    justify-content: flex-end;
                    padding: 0.5rem 0;
                }

                    .details p{
                        font-size: 0.8rem;
                        align-self: end;
                    }

                    .details img{
                        width: 20px;
                        height: 20px;
                    }
 
}


@media only screen and (max-width: 768px) {

    .builds-item{
        display: block;
    }

        .img-div{
            width: 100%;
            border-radius: 10px 10px 0 0;
        }

        .info-div{
            padding: 1rem 1rem 0 1rem;
        }

            .info-top h2{
                font-size: 1.4rem;
                padding-bottom: 0.5rem;
            }

            .info-top p{
                padding-bottom: 1rem;
            }

            /* .buttons-div{
                padding-top: 0;
                flex-direction: column;
                align-items: center;
            } */
    
                .button{
                    margin: 0.5rem 0;
                    padding: 0.5rem 0;
                    width: 100%;
                    text-align: center;
                }

            .info-bottom{
                flex-direction: column;
            }

            .details{
                display: flex;
                flex-direction: row;
                justify-content: flex-start;
            }

            .details h2{
                font-size: 0.8rem;
                padding-right: 0.2rem;
            }

}

@media only screen and (max-width: 320px) {
    .info-top p{
        font-size: 0.7rem;
    }
}