@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
}

html, body {
    background: transparent;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

a {
    text-decoration: none;
    width: fit-content;
}

.container {
    background-color: rgb(245, 245, 246);
    border: 1px solid rgb(228, 228, 232);
    border-radius: 5px;
    padding: 15px 25px;
    max-width: 728px;
    display: flex;
    height: 210px;
    gap: 24px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-top: 10px;
    transition: 0.2s background-color;
}

.container:hover {
    background-color: rgb(228, 228, 229);
}

div.imagem {
    display: block;
    width: 440px;
    height: 100%;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

div.imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.text h1 {
    font-size: 23px;
    font-family: Lato, "Times New Roman", sans-serif;
    line-height: 140%;
}

.text p {
    font-family: Lato, "Times New Roman", sans-serif;
    font-size: 18px;
    line-height: 140%;
    font-weight: normal;
    color: rgb(30, 30, 33);
}

div.btn {
    background-color: #002fd8;
    color: #FFFFFF;
    padding: 10px 25px;
    border-radius: 5px;
    width: fit-content;
    cursor: pointer;
    font-family: Lato, "Times New Roman", sans-serif;
    margin-top: 5px;
}

div.btn:hover {
    background-color: #0129b7;
}

@media (max-width: 650px) {
    .container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        max-width: 95%;
        gap: 15px;
    }

    div.imagem {
        width: 100%;
        height: 180px;
        margin: 0 auto;
    }

    .text {
        text-align: center;
        align-items: center;
    }

    .text h1 {
        font-size: 20px;
    }

    .text p {
        font-size: 15px;
        max-width: 300px;
    }
}
