* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(45deg,#CF2425, #620c0e 50%, #430708 50%, #540707);
    overflow-x: hidden;
}

header, footer {
    height: 100px;
    background-color: black;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8000px;
}

main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-logo {
    position: absolute;
    width: 100%;
    max-height: 100%;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.content-text {
    position: absolute;
    display: inline-block;
    cursor:default;
    color: #FFFFFF;
    font-size: 2.5rem;
    width: 240px;
    transform: translateX(-100%);
    text-align: end;
    padding: 5px 20px;
    margin: 0 auto;
    margin-right: 50px;
    font-family: sans-serif;
}

.content-text::before,
.content-text::after {
    content: "";
    position: absolute;
    height: 4px;
    background: #FFFFFF;
    width: 0;
    transition: width 0.7s ease;
}

.content-text::before {
    top: 0;
    left: 0;
}

.content-text::after {
    bottom: 0;
    right: 0;
}

.content-text:hover::before,
.content-text:active::before {
    width: 100%;
}   

.content-text:hover::after,
.content-text:active::after {
    width: 100%;
}

.content-image {
    height: 80vh;
    max-width: 100%;
    object-fit: cover;
}

.content-text span::before,
.content-text span::after {
    content: "";
    position: absolute;
    width: 4px;
    background: #FFFFFF;
    height: 0;
    transition: height 0.5s ease;
}

.content-text:hover span::before {
    height: 100%;
}
.content-text:hover span::after {
    height: 100%;
}

.content-text span::before {
    top: 0;
    left: 0;
}

.content-text span::after {
    bottom: 0;
    right: 0;
}

header {
    height: 100px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding-left: 75px;
}

header span {
    font-weight: 600;
}

footer {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 75px;
    padding-left: 75px;
    color: #FFFFFF;
    font-weight: 100;
    font-size: 15px;
    font-family:sans-serif;
}

footer div {
    width: 64px;
}

@media (max-width: 768px) {
    header {
        padding: 25px;
    }

    .content-text {
        transform: translateX(0%);
        top: 80px;
        font-size: 1rem;
        width: 100px;
        text-align: center;
    }

    .content-image {
        height: 70vh;
    }

    footer {
        padding: 0px 25px;
    }
}