@font-face {
  font-family: 'Centra';
  src: url('fonts/CentraNo1-Bold.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: 'Centra';
  src: url('fonts/CentraNo1-Medium.ttf') format('truetype');
  font-weight: normal;
}

body {
    background-color: black;
}


.banner {
    position: relative;
    width: 600px;
    height: 300px;
    overflow: hidden;
}

.background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contentA,
.contentB {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 20px;
}

/* Content A */
.contentA img {
    width: 350px;
    margin-bottom: 15px;
    margin-top: 50px;

}

.contentA p {
    color: #f6643e;
    font-family: Centra, sans-serif;
    font-weight: bold;
    font-size: 40px;
    line-height: 1;
}

/* Content B */
.contentB p {
    font-family: Centra, sans-serif;
    font-size: 54px;
    font-weight: bold;
    margin-bottom: 15px;
}

.contentB img {
    width: 320px;
    margin-bottom: 54px;
}

/* Animations */
.contentA {
    animation: showA 15s ease-in-out infinite;
}

@keyframes showA {
    0%   { opacity: 1; }
    40%  { opacity: 1; }
    50%  { opacity: 0; }
    100% { opacity: 0; }
}

.contentB {
    animation: showB 15s ease-in-out infinite;
}

@keyframes showB {
    0%   { opacity: 0; }
    40%  { opacity: 0; }
    50%  { opacity: 1; }
    100% { opacity: 1; }
}