@font-face {
  font-family: p22-underground-hpc;
  src: url('../fonts/P22Underground-HvP.otf');
}

@font-face {
  font-family: p22-underground-demi;
  src: url('../fonts/P22Underground-Demi.otf');
}

body {
    font-family: p22-underground-hpc, sans-serif;
    background-color: #F8F8F8;
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.container {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    display: flex;
    justify-content: center;
}

header img.logo {
    border: 1px solid black;
    border-radius: 16px;
    width: 410px;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 50px 0 30px 0;
    gap: 20px;
}

nav ul li {
    display: block;
    text-transform: uppercase;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    transition: color .3s ease;
    line-height: 1;
    text-decoration: underline;
    text-underline-offset: 6px;
}

nav ul li a:hover {
    color: #ED1C24;
}

main {
    margin-bottom: 30px;
    width: 410px;
    text-align: center;
    font-size: 20px;
    padding: 10px;
    box-sizing: border-box;
    font-family: p22-underground-demi;
}

main h1 {
    margin: 0;
    padding: 0;
    font-family: p22-underground-hpc;
    font-size: 30px;
    margin-bottom: -4px;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .content {
    text-align: center;
}

footer .content p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

footer img.logo {
    height: 12px;
    opacity: .8;
    transition: .3s ease all;
}

footer img.logo:hover {
    opacity: 1;
    cursor: pointer;
}

.socials {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.socials .social {
    display: flex;
    align-items: center;
    justify-content: center;
}

.socials .social:last-child {
    margin: 0;
}

.socials .social img {
    margin-right: 5px;
    width: 28px;
    border-radius: 8px;
}

.socials .social a {
    margin: 0;
    padding: 0;
    color: #ED1C24;
    transition: all .3s ease;
}

.socials .social a:focus,
.socials .social a:hover {
    color: #c21016;
}

.card {
    display: flex;
    border: 1px solid black;
    margin-top: 20px;
}

.card .image::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/habib-blur.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
  border-right: 1px solid black;
}

.card .image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-right: 8px;
}

.card .image img {
    height: 145px;
    margin: 0;
    padding: 0;
    display: block;
    position: relative;
    border-right: 1px solid black;
    z-index: 1 !important;
}

.card .content {
    text-align: left;
    padding: 15px 0;
    min-width: 0;
}

.card .content h2 {
    margin: 0;
    padding: 0;
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 8px;
    margin-top: 5px;
}

.card .content p {
    margin: 0;
    font-size: 14px;
    padding: 0;
}

.watch-here {
    display: block;
    text-transform: uppercase;
    padding: 0;
    font-size: 16px;
    margin-top: 14px;
    color: #ED1C24;
    transition: all .3s ease;
}
.watch-here:focus,
.watch-here:hover {
    color: #c21016;
}

.video {
    width: 322px;
    height: 180px;
    margin-top: 20px;
}

@media (max-width: 600px) {
    body {
        min-height: calc(100vh - 50px);
    }

    main,
    header img.logo {
        width: 320px;
    }

    .socials,
    nav {
        width: 90%;
    }

    .socials {
        margin: auto;
    }

    .video {
        width: 280px;
        height: 157px;
    }
}