:root {
    --primary-color: #cd3527;
    --background-color: #e9e8e8;
    --font-family: 'Gilroy-Medium', sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--primary-color);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100dvh;
}
.container {
    background-color: var(--background-color);
    max-width: 375px;
    width: 100%;
    box-sizing: border-box;
    height: 600px;
    display: flex;
    flex-direction: column;
}
.row {
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
}
.row:first-child {
    background-image: url(https://credenciales.bateparts.com/img/credenciales-fondo.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    max-height: 270px;
    height: calc(100vw * 270 / 375);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    position: relative;
    clip-path: polygon(0 0, 100% 0%, 100% 75%, 0% 100%);
}
.row:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e32027;
    mix-blend-mode: multiply;
    z-index: 1;
}
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 30px 100px 0 100px;
    box-sizing: border-box;
    z-index: 2;
}
.logo {
    max-width: 500px;
    width: 100%;
    height: auto;
}
.row:nth-child(2) .content {
    z-index: 3;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 20px;
}
.content img {
    width: 60%;
    max-width: 240px;
    height: auto;
    margin-top: -50%;
    margin-bottom: 32px;
    border: 2px solid white;
    border-radius: 50%;
}
.content h2, .content h4, .content p {
    text-align: center;
    margin: 0;
}
.content p {
    margin: 5px 0;
}
.content p span {
    font-weight: bold;
}
.content div {
    margin-top: 32px;
    line-height: 1.5em;
}
.content a {
    color: var(--primary-color);
    text-decoration: underline;
}