*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
    font-size: 62.5%;
    background-image: url("/img/bg.png");
    background-repeat: no-repeat;
    background-size: cover;
}

body{
    display: grid;
    grid-template-columns: 10% 80% 10%;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    height: 100%;
}

h1{
    margin: 1rem;
    font-size: 3rem;
}

h2{
    font-size: 2.4rem;
    font-weight: bold;
}

p{
    font-size: 1.6rem;
    padding: 0.2rem;
}

.text{
    height: 10rem;
}

a{
    text-decoration: none;
}

header{
    grid-column: 2;
    margin-bottom: 2rem;
}

.content{
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: 100%;
}

.content__card{
    text-align: center;
    border: 1px solid #ccc;
    width: 40rem;
    padding: 1rem;
    margin: auto;
    margin-bottom: 4rem;
    background-color: #fff;
    border-radius: 1rem;
}

.content__card > img {
    width: auto;
    height: 17rem;
    object-fit: contain;
}

.content__card > button {
    border: none;
    padding: 1rem 2rem;
    margin: 0.4rem;
    cursor: pointer;
    color: white;
    font-family: 'Montserrat';
    font-size: 1.6rem;
    border-radius: 1rem;
}

.popup{
    width: 74vw;
    position: fixed;
    bottom: 1rem;
    left: 12.5vw;
    background-color: #222;
    padding: 2rem;
    border-radius: 2rem;
    color: white;
}

.popup__content__text{
    cursor: pointer;
    color: red;
}

.text{
    text-align: left;
}

.green{
    background-color: #05b802;
}

.red{
    background-color: #fc4236;
}

@media (max-width: 500px) {
    body{
        grid-template-columns: 5% 90% 5%;
    }
    .content{
        display: flex;
        flex-direction: column;
    }

    .content__card{
        width: 95%;
        margin-bottom: 2rem;
    }

}
