html {
    height: -webkit-fill-available;
}

body {
    padding: 0;
    margin: 0;
    width: 100vw;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    background-image: url('/images/gotthardgranit-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

@font-face {
    font-family: 'Silka';
    src: url('Silka-SemiBold.eot');
    src: url('Silka-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('Silka-SemiBold.woff2') format('woff2'),
        url('Silka-SemiBold.woff') format('woff'),
        url('Silka-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Silka';
    src: url('Silka-Light.eot');
    src: url('Silka-Light.eot?#iefix') format('embedded-opentype'),
        url('Silka-Light.woff2') format('woff2'),
        url('Silka-Light.woff') format('woff'),
        url('Silka-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

.content {
    position: relative;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    float: left;
    font-family: 'Silka', sans-serif;
    color: white;
}

a, a:visited, a:hover, a:active {
    color: white;
    text-decoration: none;
}

img.logo {
    width: clamp(20rem, 25vw, 25rem);
    position: absolute;
    top: clamp(3rem, 5vw, 5rem);
    right: clamp(3rem, 5vw, 5rem);
}

.text {
    position: absolute;
    top: 55%;
    left: 60%;
    transform: translate(-50%, -50%);
}

p {
    font-size: min(max(1rem, 1.1vw), 1.2rem);
    letter-spacing: 1px;
    line-height: 1.5;
}

.text p {
    max-width: 70%;
}

h1 {
    font-size: min(max(2rem, 3vw), 4rem);
    line-height: 1.2;
}

h1:first-line {
    font-weight: 300;
}

a.button {
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid white;
    padding: 5px 10px;
    margin-top: 1rem;
    float: left;
    font-size: min(max(1rem, 1.1vw), 1.2rem);
}

.social-icons {
    position: absolute;
    bottom: clamp(3rem, 5vw, 5rem);
    right: clamp(3rem, 5vw, 5rem);
}

.social-icons p {
    font-weight: 600;
    letter-spacing: 1px;
    text-align: right;
    float: right;
}

.icons img {
    width: clamp(20px, 2vw, 25px);
    height: clamp(20px, 2vw, 25px);
    object-fit: contain;
    margin-left: 10px;
}

@media screen and (max-width: 1100px) {
    .text p {
        max-width: 100%;
    }
}

@media screen and (max-width: 900px) {
    .text {
        right: 0%;
        left: auto;
        transform: translate(0, -50%);
        width: 80%;
    }

    .text p {
        max-width: 80%;
    }

    body {
        background-position: 25% center;
    }
}

@media screen and (max-width: 700px) {
    img.logo {
        width: clamp(15rem, 20vw, 20rem);
        position: absolute;
        top: 4%;
        right: 5%;
    }

    .social-icons {
        bottom: 3%;
        right: 8%;
    }

    .icons img {
        width: 25px;
        height: 25px;
    }

    .text {
        width: 84%;
        left: 8%;
    }

    h1 {
        font-size: 1.5rem;
    }

    .text p {
        max-width: 100%;
        font-size: 0.9rem;
        line-height: 1.25;
    }

    body {
        background-position: 20% center;
    }
}

@media screen and (orientation:landscape) and (min-device-width: 300px) and (max-device-width: 1000px) {
   body {
        overflow: scroll;
        height: 160vh;
        min-height: 160vh;
        background-size: 200%;
   }

   .content {
        height: 160vh;
    }
}