@font-face {
    font-family: Ephidona;
    src: url(./fonts/Ephidona.woff);
}

html {
    font-size: 10px;
}

body {
    height: 100dvh;
    position: relative;
    margin: 0;
    font-family: "Hedvig Letters Serif", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    &::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 240px;
        background: linear-gradient(to bottom, rgba(0, 11, 51, 0.5)0%, rgba(0, 11, 51, 0)100%);
        z-index: 2;
    }
    &::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 240px;
        background: linear-gradient(to top, rgba(0, 11, 51, 0.5)0%, rgba(0, 11, 51, 0)100%);
        z-index: 3;
    }
}

* {
    margin: 0;
}

.text-1-8 {
    font-size: 1.8rem;
    line-height: 3rem;
    font-weight: 400;
}

.text-2-7 {
    font-family: Ephidona;
    font-weight: 400;
    font-size: 2.7rem;
    line-height: 3rem;
}

.cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.content {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 6rem);
    height: calc(100% - 6rem);
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    padding: 3rem;
    z-index: 10;
    color: #fff;

    a {
        color: #fff;
        text-decoration: none;
    }
}

.row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
}

@media (max-width: 803px) {
    .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

.row > *:first-child {
    text-align: left;
    justify-self: start;
}

.row > *:last-child {
    text-align: right;
    justify-self: end;
}

.middle {
    flex-grow: 1;
    justify-content: center;
    align-items: center;
}

.left-text {
    writing-mode: sideways-lr;
    text-orientation: mixed;
}

.right-text {
    writing-mode: sideways-rl;
    text-orientation: mixed;
}

@media (max-width: 803px) {
    .left-text , .right-text {
        writing-mode: initial;
        text-orientation: initial;
    }
}

.etiquette {
    display: inline-block;
    border-radius: 500rem;
    padding: 0 1.5rem;
    border: solid 1px #fff;
}

.left-star , .right-star {
    display: inline-flex;
    align-content: center;
    gap: 5px;
}

.right-star::after {
    content: url('./img/star.svg');
    display: inline-block;
}

.left-star::before {
    content: url('./img/star.svg');
    display: inline-block;
}

.logo {
    max-width: 100%;
}