html, body {

    margin: 0;

    padding: 0;

    height: 100%;

}

body {

    font-size: 62.5%;

    color: #fff;

}

.bg-slider {

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

}

.bg-slider * {

    height: 100%

}

.bg-slider .splide {

    visibility: visible;

}

.bg-slider .splide__list {

    width: 100%;

}

.bg-slider .splide__arrows,

.bg-slider .splide__pagination {

    display: none;

}

.bg-slider img {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.wrap {

    position: relative;

    z-index: 1;

    margin: 0 4%;

    padding: 10em 0;

    top: 8%;

    height: 84%;

    box-sizing: border-box;

}

.wrap,

.wrap .feels-like-coming-home {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}

.wrap::before,

.wrap::after {

    content: '';

    position: absolute;

    width: calc(50% - (16em / 2) - 2em);

    top: 0;

    bottom: 0;

    border: .3em solid;

    border-radius: .5em;

    z-index: -1;

}

.wrap::before {

    left: 0;

    border-right: 0;

    border-top-right-radius: 0;

    border-bottom-right-radius: 0;

}

.wrap::after {

    right: 0;

    border-left: 0;

    border-top-left-radius: 0;

    border-bottom-left-radius: 0;

}

.wrap .logo {

    position: absolute;

    width: 16em;

    bottom: 0;

    background: url(../images/logo.png) no-repeat top left/100% auto;

    left: 50%;

    transform: translate(-50%, -0%);

    top: -2em;

}

.wrap .logo::after {

    content: '';

    position: absolute;

    left: -2em;

    right: -2em;

    border-bottom: .3em solid;

    bottom: 0;

}

.wrap .feels-like {

    width: 58em;

    height: 24em;

    background: url('../images/feels like.png') no-repeat top left/100% auto;

    margin-bottom: -8em;

}

.wrap .coming-home {

    width: 85em;

    height: 25em;

    background: url('../images/coming home.png') no-repeat top left/100% auto;

}

body.ready .wrap .feels-like-coming-home,

body.ready .wrap .buttons a {

    transition: transform .7s ease-in-out, opacity .7s ease-in-out

}

.wrap .feels-like-coming-home:not(.transition-start) {

    opacity: 0;

    transform: translateY(2em);

}

.wrap .buttons {

    display: flex;

    margin-top: 2em;

    z-index: 1;

}

.wrap .buttons a {

    width: 24em;

    height: 6.5em;

}

@media (min-width: 768px) {

    .wrap .buttons a:not(:last-child) {

        margin-right: 3em;

    }

}

@media (max-width: 767px) {

    .wrap .buttons {

        flex-direction: column;

        font-size: 1.6em;

    }

    .wrap .buttons a:not(:last-child) {

        margin-bottom: 3em;

    }

}

.wrap .buttons a.uppsala {

    background: url('../images/uppsala.png') no-repeat top left/100% auto;

}

body.ready .wrap .buttons a.uppsala {

    /*transition-delay: 0.4s;*/

}

.wrap .buttons a.gavle {

    background: url('../images/gavle.png') no-repeat top left/100% auto;

}

body.ready .wrap .buttons a.gavle {

    transition-delay: 1.1s;

}

.wrap .buttons a.malmo {

    background: url('../images/malmo.png') no-repeat top left/100% auto;

}

body.ready .wrap .buttons a.malmo {
    /*transition-delay: 0.8s;*/

}

.wrap .buttons:not(.transition-start) a {

    opacity: 0;

}

@media (min-width: 320px) and (max-width: 1280px) {

    .wrap {

        font-size: calc(3px + (10 - 3) * ((100vw - 320px) / (1280 - 320)));

    }

}

@media (max-width: 319px) {

    .wrap {

        font-size: 3px;

    }

}