@font-face {
    font-family: 'Enriqueta SemiBold';
    src: url('../fonts/Enriqueta-SemiBold.woff2') format('woff2'),
         url('../fonts/Enriqueta-SemiBold.woff') format('woff');
}


body, html {
    height: 100%;
    display: grid;
}

body {
    background-color: #fff;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-size: 1.25rem;
}

p {
    margin-bottom: 1em;
}

h1, h2, h3, h4 {
    font-family: 'Enriqueta SemiBold';
    line-height: 1.2;
}

h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    margin-left: max(-10vw, -2em);
}

.is-large-font-size {
    font-size: 1.75rem;
    line-height: 1.4;
}

.main {
    margin: auto;
    padding: 2em;
    width: 92%;
    max-width: 1190px;
    display: flex;
    align-items: center;
    gap: 3em;
    background-color: #fff;
    border-radius: 4px;
}

.img {
    max-width: 560px;
    border-radius: 16px;
}
.img img {
    border-radius: inherit;
}

.txt {
    max-width: 620px;
}

.button {
    display: inline-block;
    margin-top: 1em;
    font-weight: 600;
    text-align: center;
    color: inherit;
    text-decoration: none;
    padding: 0.667em 1em;
    border-radius: 8px;
    border: none;
    background-color: #d8dee7;
    transition: 
        scale 0.2s ease-in-out,
        box-shadow 0.2s ease-in-out;
}
.button:where(:hover, :focus) {
    scale: 1.01;
    box-shadow: 0 4px 16px rgba(65 66 69 / 0.1);
}


@media (max-width: 700px) {
    .main {
        flex-direction: column;
    }
    h1 {
        margin-left: 0;
    }
}