body {
    background-color: #222;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    padding: 0;
    margin: 0;
}

.preamble {
    font-size: 22px;
    line-height: 26px;
    font-style: italic;
}

h1, h2, h3, h4 {

    font-family: 'Oswald', sans-serif;

    margin-top: 0;
    color: #F3ECDB;
    font-weight: 400;
}

h4{
    width: 100%;
    margin-bottom: 1rem;
    font-size: 28px;
}

h1 {
    font-size: 4rem;
    text-transform: uppercase;
    line-height: 1.2rem;

}

@media screen and (max-width: 680px) {
    h1 {
        font-size: 7rem;

    }
}


h2 {
    font-size: 32px;
    max-width: 380px;
}

@media screen and (max-width: 680px) {
    h2 {
        max-width: unset;

    }
}


h3 {
    font-size: 18px;
    margin-bottom: 0;
}

a {
    color: #F3ECDB;
    font-size: 13px;
    text-decoration: none;
}

p {
    line-height: 1.7rem;
    padding: 0;
    margin: 0;
    opacity: 70%;
}

.main-logo
{
    max-width: 320px;
    margin: 0 auto;
    display: block;
}

.header {
    height: 50vh;
    background: linear-gradient(to bottom, rgba(34, 34, 34, 0.2), rgba(34, 34, 34, 1)),
    url('../images/freys_hotel_utsikt_svit.jpg');
    background-size: cover;
    background-position: center center;
    margin-bottom: 3rem;
}


section {
    margin-bottom: 3rem;
}

.wrapper {
    position: relative;
    top: -8rem;
    max-width: 92rem;
    margin: 0 auto;
    padding: 0 2rem;
}

hr {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 0px;
    margin-bottom: 2.5rem;

}

.flex {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
}



@media screen and (max-width: 1310px) {
    .flex {
        gap: 3rem;
    }
}

.flex-row {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    place-content: space-between;
}


@media screen and (max-width: 680px) {
    .flex-row {
        flex-direction: column;

    }

}

.flex-row-item {
    flex: 1;
}


.flex-box {
    background-color: rgba(0, 0, 00, 0.1);
    border-radius: 5px;

    font-size: 15px;

    transition: all 0.2s ease;
    position: relative;
    max-height: 640px;
    overflow: hidden;
}

.flex-box-wrapper{
    flex: 1 1 40%;
    flex-wrap: wrap;
    display: flex;
}



@media screen and (max-width: 1310px) {
    .flex-box-wrapper {
        flex: 1 1 40%;
        max-height: 500px;

    }
}

@media screen and (max-width: 640px) {
    .flex-box-wrapper {
        flex: 1 1 100%;

    }
}

.btn{
    border: 2px solid #F3ECDB;
    border-radius: 2rem;
    padding: 1rem 2rem;
    transition: all 0.2s ease;
    font-size: 14px;
}

.flex-box .btn:hover{
    background-color: rgba(243,236,219, 0.1);
}


.flex-box:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.flex-box-inner {
    position: absolute;
    display: flex;
    flex-direction: column;
    place-content: space-between;
    width: 100%;
    height: 100%;
    top: 0px;
}

.img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.flex-box .material-symbols-outlined {
    font-size: 12px;
    margin-left: 4px;
    position: relative;
    top: 3px;
    color: #F3ECDB;
}

.flex-box-text {
    background: linear-gradient(to bottom, rgba(34, 34, 34, 0.7), rgba(34, 34, 34, 0.9));
    backdrop-filter: blur(3px);
    padding: 1.5rem;
    width: -webkit-fill-available;
    height: 6rem;
    transition: all 0.3s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-box:hover .flex-box-text{
    background: linear-gradient(to bottom, rgba(34, 34, 34, 0.8), rgba(34, 34, 34, 1));
    backdrop-filter: blur(6px);
}

.flex-box img.logo {
    max-width: 200px;
    max-height: 140px;
    scale: 1;
    transition: all 0.1s ease-in-out;
}

.flex-box:hover  img.logo{
    scale: 1.2;
}

.flex-box a {
    white-space: nowrap;
}
.bg-img {
    max-width: 100%;
    opacity: 0.7;
    scale: 1;

}


.flex-box:hover .bg-img {
    scale: 1.05;
    opacity: 0.6;
    transition: all 0.1s ease-in-out;
    filter: blur(2px);
}

