body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
}

body:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: .1;
    z-index: -1;
    content: "";
    position: fixed;
}

.box,
.box-header {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    width: 500px;
    height: 300px;
    border-radius: 20px;
    transition: 0.2s ease;
    margin: 1rem;
}

.box img,
.box-header img {
    background-repeat: no-repeat;
    background-origin: content-box;
    background-size: cover;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.box:hover,
.box-header:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 16px rgb(0 0 0 / 50%);
}

.box:active,
.box-header:active {
    transform: scale(0.9);
}

.box-header {
    width: 100%;
    max-width: 1045px;
    height: 210px;
}

.cover {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 20px;
}



.cover-content {
    top: 30px;
    left: 0;
    right: 0;
    position: absolute !important;
    max-width: 100%;
    padding: 20px;
    color: #f5f5f5;
    text-align: left;
}

.cover-content-header {
    top: 0;
    left: 0;
    right: 0;
    position: absolute !important;
    max-width: 100%;
    padding: 20px;
    color: #f5f5f5;
    text-align: left;
}

.cover-content img,
.cover-content-header img {
    width: 80px;
    height: 80px;
    border-radius: 50px;
}

.container {
    max-width: 1101px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

@media screen and (max-width:1101px) {
    body {
        height: auto;
    }

    .box,
    .box-header {
        width: 90%;
    }

    .box {
        height: 260px;
    }

    .cover-content {
        top: 0;
    }

    .cover-content h1 {
        font-size: 1.8rem;
    }

    .cover-content img,
    .cover-content-header img {
        width: 60px;
        height: 60px;
    }

    .box:hover,
    .box-header:hover {
        transform: unset;
    }

    .box:active,
    .box-header:active {
        transform: unset;
    }
}

@media screen and (max-height:888px) {
    body {
        height: auto;
    }
}