* {
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
    margin-top: -25px;
    max-height: 100%;
    background-color: black;
    overflow: hidden;
}

h3 {
    padding: 0;
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 100;
}

header {
    background: linear-gradient(#000000ad, #00000000);
    width: 100%;
    height: 100px;
    display: block;
    position: absolute;
    z-index: 1;
}

nav {
    color: white;
    top: 0;
    display: block;
    position: absolute;
    padding-top: 5vh;
}

/*TOPNAVKURA*/

/* Add a black background color to the top navigation */
.topnav {
    background-color: rgba(0, 0, 0, 0);
    overflow: hidden;

}

/* Style the links inside the navigation bar */
.topnav a {
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 14px;
    font-weight: lighter;
    z-index: 100;
    float: left;
    display: block;
    color: #fff;
    text-align: center;
    margin-left: 3vh;
    margin-top: 4vh;
    padding: 0px 15px;
    text-decoration: none;
    border-left: 1px solid white;
    padding-right: 6vh;
    transition: .5s ease;
}

.topnav a:first-child {
    border-left: none;
}

/* Add an active class to highlight the current page */
.active {
    background-color: #00000000;
    color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
    left: 0;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
    float: left;
    overflow: hidden;
    margin-top: 4vh;
    padding-top: 0px;
    margin-left: 3vh;
    padding-left: 10px;
    padding-right: 30px;
    border-left: 1px solid white;
    transition: .5s ease;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
    font-size: 14px;
    border: none;
    outline: none;
    color: white;
    background-color: transparent;
    font-family: 'Open Sans Condensed', sans-serif;
    margin: 0;
    transition: .5s ease;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
    margin-left: -11px;
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    margin: 6px;
    margin-left: 12px;
    padding: 5px;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover,
.dropdown:hover .dropbtn {
    background-color: rgba(0, 0, 0, 0);
    color: rgb(255, 0, 0);
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
    color: rgb(255, 0, 0);
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
    display: block;
}


.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 2em;
    display: block;
    position: absolute;
    right: 6vh;
    padding-top: 8vh;
    color: white;
}


.container {
    color: white;
    position: relative;
    overflow: hidden;
}

.image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
    overflow: hidden;
}

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    overflow: hidden;
}



.container:hover .image {
    opacity: 0.3;
    overflow: hidden;
}

.container:hover .middle {
    opacity: 1;
    overflow: hidden;
}

.text {
    font-size: 16px;
    padding-top: 25vh;
}

.text p {
    line-height: 0em;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.8em;
}

.row {
    opacity: 0.8;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    z-index: 0;
    overflow: hidden;
}

/* Create four equal columns that sits next to each other */
.column {
    flex: 20%;
    max-width: 20%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.column img {
    vertical-align: middle;
    width: 100%;
    overflow: hidden;
}

footer {
    background: linear-gradient(#00000000, #000000ad);
    color: white;
    width: 100%;
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    height: 15%;

}

.social {
    font-size: 1.5em;
    display: block;
    position: absolute;
    color: white;
    right: 5vh;
    bottom: 1vh;
    margin: 0;
    padding: 0;
}

.social p {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.35em;
    display: inline-block;
    padding-right: 1vh;
}

.photo {
    position: absolute;
    display: inline-block;
    top: 8em;
    left: 6em;
}

.karolcircle {
    border: 0px solid red;
    border-radius: 100%;
    width: 8em;
    box-shadow: 0px 0px 20px white;
}

.abouttext {
    font-family: 'Roboto Condensed', sans-serif;
    width: 50%;
    position: absolute;
    color: white;
    top: 15vh;
    left: 40vh;
    justify-content: center;
    padding-bottom: 10vh;
}

.abouttext h1 {
    width: 50px;
    border-bottom: 3px solid orangered;
    border-width: 1vh;
}

main {
    font-family: 'Roboto Condensed', sans-serif;
    position: relative;
    top: 20vh;
    display: block;
    margin-left: 30px;
    justify-content: center;
    padding-bottom: 80px;
    padding-left: 50px;
}

.blok {
    padding-top: 30px;
    display: flex;
    position: relative;
    align-items: stretch;
    width: 80%;
}



.blok>img {
    width: 120px;
    object-fit: contain;
}

.firsttext {
    margin-top: 20px;
    margin-left: 20px;
    padding: 0;
    width: 50vh;
    line-height: 0;
    vertical-align: middle;
}

.textblok {
    border-left: 2px solid orangered;
    margin-top: 10px;
    padding-left: 20px;
    width: 50%;
    text-align: left;
}

.contact {
    border-bottom: 0px solid white;
    color: white;
    width: 30%;
    height: 250px;
    background-color: rgba(0, 0, 0, 0.616);
    font-family: 'Roboto Condensed', sans-serif;
    border-radius: 1em;
    padding: 1em;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

.contactin {
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    text-align: center;
    text-transform: uppercase;
    position: relative;
}

.social>a {
    text-decoration: none;
    color: white;
}

.social>a:hover {
    text-decoration: none;
    color: gainsboro;
}






/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .column {
        flex: 50%;
        max-width: 50%;
    }

}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }

    .photo {
        display: none;
    }

    .abouttext {
        padding: auto;
        margin: auto;
        left: 20px;
        width: 300px;
    }

    .blok>img {
        display: none;
    }

    .firsttext {
        display: block;
        position: absolute;
    }

    .textblok {
        display: block;
        margin-top: 80px;
        width: 300px;
    }

    .contact {
        height: 240px;
        width: 300px;
    }

    .logo {
        font-size: 20px;
    }

    body {
        overflow: auto;
    }

    main {
        margin-left: 0px;
        padding-left: 15px;
    }
}




::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    display: none;
}

#myBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 70px;
    /* Place the button at the bottom of the page */
    right: 70px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: rgba(0, 0, 0, 0.616);
    /* Set a background color */
    color: white;
    /* Text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 15px;
    /* Some padding */
    border-radius: 50%;
    /* Rounded corners */
    font-size: 20px;
    /* Increase font size */
}

#myBtn:hover {
    background-color: #555;
    /* Add a dark-grey background on hover */
}

html {
    scroll-behavior: smooth;
}



/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 850px) {

    .topnav a,
    .dropdown .dropbtn {
        display: none;
        top: 20px;
        left: 0;
    }

    .topnav a.icon {
        float: right;
        display: block;
        left: 0;
    }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 850px) {
    .topnav.responsive {
        position: relative;
        background-color: black;
        width: 60vw;
        padding-top: 50px;
        padding-bottom: 40px;
    }

    a.icon {
        font-size: 20px;
        margin-left: -40px;
        margin-top: 16px;
        padding-left: 10px;
    }

    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
        margin-left: 20px;
        float: left;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
        font-size: 20px;
        border-left: 1px solid white;
    }

    .topnav.responsive .dropdown {
        float: none;

    }

    .topnav.responsive .dropdown-content {
        position: relative;

    }

    .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
        font-size: 22px;

    }
}