@import url('https://fonts.googleapis.com/css2?family=Aguafina+Script&family=Inter&family=Pacifico&display=swap');

:root {
    font-family: 'Inter', sans-serif;
}

body {
    max-width: 980px;
    margin: auto;
}

p {
    margin: 0;
    padding: 0;
}

.blocks-with-text .brief-description img {
    display: flex;
    align-self: center;
    width: 6rem;
    height: 6rem;
}

.blocks-with-text .brief-description {
    display: flex;
}

.blocks-with-text .brief-description div p:first-child{
    font-family: 'Pacifico', cursive;
    margin-top:2.5rem;
}

@media(min-width: 300px) {
    .blocks-with-text {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }
}

@media(min-width: 700px) {
    .blocks-with-text {
        grid-template-columns: repeat(2, 1fr);
    }
}

.block-with-forms p {
    font-weight: bold;
    text-transform: uppercase;
}

.block-with-forms {
    margin: 2rem 0 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.block-with-forms form input, .block-with-forms form textarea {
    display: block;
    margin: 1rem 0 1rem 0;
}

.block-with-forms form {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem 0 1rem 0;
}

[type=text],[type=email] {
    width: 100%;
    height: 30px;
    border: 1px solid grey;
    border-radius: 8px;
    color: grey;
}

.block-with-forms form textarea {
    width: 100%;
    height: 100px;
    border: 1px solid grey;
    border-radius: 8px;
    color: grey;
}

[type=submit] {
    width: 10em;
    height: 30px;
    border: 1px solid black;
    border-radius: 8px;
    color: black;
    background-color: white;
}

[type=submit]:hover {
    color: white;
    background-color: black;
    transition: 1s;
}
