@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Lexend+Deca&display=swap');

/*font-family: 'Inter', sans-serif;
font-family: 'Lexend Deca', sans-serif;*/



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

body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: hsl(233, 47%, 7%);
}

@media screen and (min-width: 1100px) {
    
    .container {
        display: flex;
        max-width: 62.5rem;
        max-height: 25rem;
        background-color: hsl(244, 38%, 16%);
        border-radius: 0.8rem;
        overflow: hidden;
    }

    .container .img {
        position: relative;
        width: 50%;
    }

    .container .img img {
        width: 100%;
    }

    .container .img::after {
        position: absolute;
        content: '';
        height: 100%;
        width: 100%;
        left: 0;
        top: 0;
        background-color: hsla(277, 67%, 34%, 0.7);
    }

    .left {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 4rem;
        gap: 3rem;
        width: 50%;
    }

    .left h1 {
        color: white;
        font-family: 'Inter', sans-serif;
    }

    .left h1 span {
        color: hsl(277, 64%, 61%);
    }

    .left p {
        color: hsla(0, 0%, 100%, 0.6);
        line-height: 1.5rem;
    }

    .bloco {
        display: flex;
        gap: 3.5rem;
        font-size: 0.9rem;
    }

    .bloco h2 {
        color: hsl(0, 0%, 100%);
        font-family: 'Inter', sans-serif;
        text-transform: uppercase;
    }

    .bloco span {
        color: hsla(0, 0%, 100%, 0.6);
        text-transform: uppercase;
        font-family: 'Lexend Deca', sans-serif;
        font-size: 0.7rem;
        font-weight: 200;
    }

}

@media screen and (max-width: 600px) {
    .container {
        display: flex;
        flex-direction: column-reverse;
        width: 19rem;
        min-height: 80vh;
        background-color: hsl(244, 38%, 16%);
        border-radius: 0.3rem;
        overflow: hidden;
        margin: 1rem;
    }

    .container .img {
        width: 100%;
        position: relative;
    }

    .container .img .overlay {
        background-color: hsla(277, 67%, 34%, 0.7);
        width: 100%;
        height: 100%;
        position: absolute;
        opacity: 0.5;
    }

    .container .img img {
        width: 100%;
    }

    .left {
        display: flex;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .left h1 {
        color: white;
        font-family: 'Inter', sans-serif;
        text-align: center;
        font-size: 1.3rem;
    }

    .left h1 span {
        color: hsl(277, 64%, 61%);
    }

    .left p {
        color: hsla(0, 0%, 100%, 0.6);
        line-height: 1.5rem;
        text-align: center;
        font-size: 1rem;  
    }

    .bloco {
        display: flex;
        flex-direction: column;
        font-size: 0.9rem;
        text-align: center;
        gap: 1rem;
    }

    .bloco h2 {
        color: hsl(0, 0%, 100%);
        font-family: 'Inter', sans-serif;
        text-transform: uppercase;
        font-size: 1.2rem;
    }

    .bloco span {
        color: hsla(0, 0%, 100%, 0.6);
        text-transform: uppercase;
        font-family: 'Lexend Deca', sans-serif;
        font-size: 0.6rem;
        font-weight: 200;
    }
}

@media screen and (min-width: 600px) and (max-width: 1100px) {
    .container {
        display: flex;
        flex-direction: column-reverse;
        width: 33rem;
        min-height: 80vh;
        background-color: hsl(244, 38%, 16%);
        border-radius: 0.3rem;
        overflow: hidden;
        margin: 1rem;
    }

    .container .img {
        width: 100%;
        position: relative;
    }

    .container .img .overlay {
        background-color: hsla(277, 67%, 34%, 0.7);
        width: 100%;
        height: 100%;
        position: absolute;
        opacity: 0.5;
    }

    .container .img img {
        width: 100%;
    }

    .left {
        display: flex;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .left h1 {
        color: white;
        font-family: 'Inter', sans-serif;
        text-align: center;
        font-size: 1.3rem;
    }

    .left h1 span {
        color: hsl(277, 64%, 61%);
    }

    .left p {
        color: hsla(0, 0%, 100%, 0.6);
        line-height: 1.5rem;
        text-align: center;
        font-size: 1rem;  
    }

    .bloco {
        display: flex;
        flex-direction: column;
        font-size: 0.9rem;
        text-align: center;
        gap: 1rem;
    }

    .bloco h2 {
        color: hsl(0, 0%, 100%);
        font-family: 'Inter', sans-serif;
        text-transform: uppercase;
        font-size: 1.2rem;
    }

    .bloco span {
        color: hsla(0, 0%, 100%, 0.6);
        text-transform: uppercase;
        font-family: 'Lexend Deca', sans-serif;
        font-size: 0.6rem;
        font-weight: 200;
    }
}
