:root {
    --main-side: #F4FAFF;
    --first-side: #2D336B;
    --second-side: #7886C7;
    --background: #DEE7E7;
    --button-color: #A9B5DF;
    --font-variation: lightgray;
    --shadow: rgba(0, 0, 0, .5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Imagem de background utilizada: https://www.freepik.com/free-vector/white-elegant-texture-background_6765111.htm#fromView=search&page=1&position=46&uuid=1b192c8c-4cf3-4bb3-959a-815743b77857&query=Background+gray">Image by freepik */

body {
    font-family: 'Open Sans', sans-serif;
    background-image: url('./assets/images/3435135.jpg');
    background-size: cover;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 4em;
}

.comunity {
    display: flex;
    flex-direction: column;
    width: 70%;
    background-color: var(--main-side);
    border-radius: 10px;
    box-shadow: 3px 2px 15px var(--shadow);
    overflow: hidden;
    margin: 0 auto;
}

.comunity__title {
    display: flex;
    flex-direction: column;
    height: 50%;
    padding: 4em 8em;
}

.comunity__title h1 {
    color: var(--first-side);
    margin-bottom: 1em;
}

.comunity__title h2 {
    color: var(--second-side);
    margin-bottom: .5em;
}

.comunity__title p {
    color: var(--button-color
    );
}

.subscription {
    display: flex;
    height: 50%;
}

.subscription section {
    width: 50%;
}

.subscription__price {
    display: flex;
    background-color: var(--first-side);
    padding: 4em 0 4em 0;
}

.subscription__wrapper {
    width: 70%;
    margin: 0 auto;

}

.subscription__price h2 {
    color: var(--main-side);
    margin-bottom: 1em;
}

.subscription__price p {
    color: var(--background);
    margin-bottom: .5em;
}

.subscription__price p span {
    font-size: 2em;
    color: var(--main-side);
    margin-right: .1em;
}

.subscription__price h2 + p {
    color: var(--font-variation);
}

.subscription__price p + p {
    margin-bottom: 1em;
}

.subscription__price button {
    width: 65%;
    background-color: var(--button-color);
    border: none;
    padding: 1em 2em;
    color: var(--main-side);
    font-size: 1em;
    border-radius: 5px;
    box-shadow: 2px 2px 10px var(--shadow);
}

.subscription__price button:hover {
    color: var(--first-side);
    background-color: var(--second-side);
    cursor: pointer;
}

/* .subscription__price button:target {
    animation: slidein 1s;
} */

.subscription__description {
    padding: 4em 0 4em 0;
    background-color: var(--second-side);
}

.subscription__description h2 {
    color: var(--main-side);
    margin-bottom: 1em;
}

.subscription__description p {
    color: var(--background);
    line-height: 1.7em;
}

.dev {
    text-align: center;
    color: var(--shadow);
    padding: 1em;
}

/* @keyframes slidein {
    from {
        margin-top: 0;
    }
    to {
        margin-top: 10px;
    }
} */



@media screen and (max-width: 768px) {
    
    body { 
        font-size: .9em
    }

    .comunity__title {
        padding: 4em;
    }

    .comunity__title h1 {
        text-align: center;
    }

    .subscription {
        display: block;
    }
    .subscription section {
        width: 100%;
    }

    .subscription__price .subscription__wrapper {
        text-align: center;
    }
}

@media screen and (max-width: 500px) {
    .comunity {
        width: 80%;
    }

    .comunity__title {
        padding: 4em 2em;
    }


}

@media screen and (max-width: 425px) {
    
    .container {
        padding-top: 2em;
    }
    
    .comunity {
        width: 90%;
    }
}




