main {
    background-color: rgb(232, 214, 193);
    padding-top: 100px;
}
.container {
    max-width: 950px;
}
/* CSS for screen sizes bigger than 992px  */
#top_area {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}
#left_side {
    max-width: 55%;
}
#left_side > h1 {
    font-size: 38px;
    text-align: center;
    padding: 0 2rem;
    margin-bottom: 2rem;
}
p {
    font-size: 17px;
    font-weight: 400;
    padding: 0;
    margin: 0;
    line-height: 1.8em;
}

#right_side {
    width: 45%;
    text-align: center;
}
#right_side > img {
    width: 240px;
    height: auto;
}

#bottom_area {
    padding-bottom: 4rem;
}

.bottom-sections {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.button-section {
    width: 45%;
    text-align: center;
}
.text-section {
    width: 55%;
}
.button {
    display: inline-block;
    width: 160px;
    height: 45px;
    text-align: center;
    text-decoration: none;
    color: black;
    background-color: rgb(104,170,251);
    padding: 2px;
    font-size: 26px;
    font-family: 'enriqueta', serif;
    font-weight: 700;
    border-image: url('/assets/img/torn-btn-bg.svg') ;
    border-image-repeat: stretch;
    border-image-slice: 22;
    border-image-width: 55px;
    border-image-outset: 8px;
    transition: all 1s ease;
}

.button:hover {
    background-color: rgb(91,47,44) !important;
    color: white !important;
}

@media screen and (max-width: 449px) {
    .container {
        max-width: 100%;
    }

    main {
        padding-top: 30px;
    }

    #top_area {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        margin-bottom: 2rem;
    }
    #left_side {
        max-width: 100%;
    }
    #left_side > h1 {
        font-size: 18px;
        text-align: center;
        padding: 0;
        margin-bottom: 1rem;
    }
    p {
        font-size: 15px;
        text-align: justify;
    }
    
    #right_side {
        align-self: center;
        padding-right: 0rem;
        margin-bottom: 1rem;
    }
    #right_side > img {
        width: 160px;
        height: auto;
    }
    
    .bottom-sections {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }
    .button-section {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
    .text-section {
        width: 100%;
    }
    .button, .button-category {
        width: 170px;
        height: 40px;
        font-size: 22px;
    }
}
@media screen and (min-width: 450px) and (max-width: 600px) {
    .container {
        max-width: 420px;
    }

    main {
        padding-top: 50px;
    }

    #top_area {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        margin-bottom: 3rem;
    }
    #left_side {
        max-width: 100%;
    }
    #left_side > h1 {
        font-size: 26px;
        text-align: center;
        padding: 0;
        margin-bottom: 2rem;
    }
    p {
        font-size: 16px;
        text-align: justify;
    }
    
    #right_side {
        align-self: center;
        padding-right: 0rem;
        margin-bottom: 2rem;
    }
    #right_side > img {
        width: 200px;
        height: auto;
    }
    
    .bottom-sections {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }
    .button-section {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
    .text-section {
        width: 100%;
    }
    .button, .button-category {
        width: 170px;
        height: 40px;
        font-size: 22px;
    }
}
@media screen and (min-width: 601px) and (max-width: 768px) {
    .container {
        max-width: 550px;
    }

    main {
        padding-top: 50px;
    }

    #top_area {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        margin-bottom: 3rem;
    }
    #left_side {
        max-width: 100%;
    }
    #left_side > h1 {
        font-size: 30px;
        text-align: center;
        padding: 0;
        margin-bottom: 2rem;
    }
    p {
        font-size: 16px;
    }
    
    #right_side {
        align-self: center;
        padding-right: 0rem;
        margin-bottom: 2rem;
    }
    #right_side > img {
        width: 240px;
        height: auto;
    }
    
    .bottom-sections {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }
    .button-section {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
    .text-section {
        width: 100%;
    }
    .button, .button-category {
        width: 170px;
        height: 40px;
        font-size: 22px;
    }
}
@media screen and (min-width: 769px) and (max-width: 992px) {
    .container {
        max-width: 800px;
    }

    #left_side {
        max-width: 462px;
    }
    #left_side > h1 {
        font-size: 30px;
        padding: 0 2rem;
        margin-bottom: 2rem;
    }
    p {
        font-size: 16px;
    }
    
    #right_side {
        padding-right: 2rem;
    }
    #right_side > img {
        width: 200px;
        height: auto;
    }
    
    .button, .button-category {
        width: 170px;
        height: 40px;
        font-size: 22px;
    }
}