html, body{
    margin: 0;
    padding: 0;
}
.parent {
    width: 40%;
    height: calc(100vh - 1.2rem);
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
img {
    width: 100%;
    height: 41.5%;
    object-fit: cover;
}
h1 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 17pt;
    color: #444;
}
h1 b {
    font-weight: 900;
    font-size: 300%;
    color: #538cff;
}
.button-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.button-container button {
    background-color: #538cff;
    border: 2px solid #538cff;
    text-align: center;
    padding: 0.6rem 2rem;
    font-size: 13pt;
    color: white;
    border-radius: 3px;
    cursor: pointer;
}
.button-container a {
    border: 2px solid #538cff;
    text-align: center;
    padding: 0.6rem 1.25rem;
    font-size: 13pt;
    color: #538cff;
    text-decoration: none;
    border-radius: 3px;
    cursor: pointer;
}
.button-container a:hover {
    background-color: #538cff;
    color: white;
    transition: 0.2s;
}
.button-container button:hover {
    background-color: #4077e6;
    border-color: #4077e6;
    transition: 0.2s;
}
@media screen and (max-width: 1280px) {
    .parent {
        width: 60%;
    }
    h1 {
        font-size: 16pt;
    }
}
@media screen and (max-width: 980px) {
    .parent {
        width: 70%;
    }
    h1 {
        font-size: 14pt;
    }
}
@media screen and (max-width: 720px) {
    .parent {
        width: 80%;
    }
    h1 {
        font-size: 12pt;
    }
    .button-container {
        gap: 0.5rem;
    }
}
@media screen and (max-width: 480px) {
    .parent {
        width: 97%;
    }
    img {
        width: 100%;
        height: 30%;
        object-fit: cover;
    }
    h1 {
        font-size: 10pt;
        flex-direction: column;
        gap: 0;
        margin: 2rem 0;
    }
    h1 b {
        font-size: 350%;
    }
    .button-container {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
        align-items: stretch;
    }
    .button-container button {
        padding: 0.6rem 0;
        font-size: 11pt;
    }
    .button-container a {
        padding: 0.6rem 0;
        font-size: 11pt;
    }
}
