/* Fonts */
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,400i,500,600,700,800,900|Poppins:300,400,500,600,700,700i&display=swap");

/* Main Styles */
html {
    overflow: hidden;
    overflow-y: auto;
    font-family: "Poppins", sans-serif;
    color: #c6c9d8;
}

body {
    background: #1b1a1a;
    margin: 0;

}

/* Header related */
header {
    padding-left: 50px;
    padding-right: 50px;
    z-index: 999;
    position: relative;
}

.header {
    position: fixed;
    top: 0;
    z-index: 999;
    padding-left: 50px;
    padding-right: 50px;
    transition: .2s;
    width: 100%;
}

header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
}

.sticky {
    background-color: #000 !important;
    height: 80px;
    margin-top: -20px;
    box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.1);
}

/* Navigation */
nav .menu {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

nav .menu li {
    margin: 0 15px;
    position: relative;
}

nav .menu li a {
    color: #c6c9d8;
    font-size: 16px;
    font-weight: 500;
    padding: 20px 0;
    display: inline-block;
    text-decoration: none;
    transition: 0.2s;

}

nav .menu li a:hover {
    color: #00baf7;
}

nav .menu li.current a {
    color: #00baf7;
}

/* Home */
main .home .slider {
    background-image: url(../img/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 950px;
    transition: 0.2s;
}

.container {
    width: 100%;
    padding-right: var(--bs-gutter-x,.75rem);
    padding-left: var(--bs-gutter-x,.75rem);
    margin-right: auto;
    margin-left: auto;
    width: 70%;
}

main .slider .jobtitle {
    font-size: 20px;
    opacity: .5;
}

main .slider .name {
    transition: 0.2s;
    margin: 0px;
    margin-bottom: -10px;
    font-size: 60px;
}

@media only screen and (min-width: 1200px) and (max-width: 1599px) {
    main .home .slider {
        height: 800px;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    main .home .slider {
        height: 600px;
    }
    
    main .slider .name {
        font-size: 50px;
    }
}
@media only screen and (max-width: 991px) {
    main .home .slider {
        height: 400px;
    }
    
    main .slider .name {
        font-size: 50px;
    }
}
@media only screen and (max-width: 767px) {
    main .home .slider {
        height: 300px;
    }
    
    main .slider .name {
        font-size: 30px;
    }
}

/* Om mig */
.about {
    margin-bottom: 30px;
    margin-top: 30px;
    display: flex;
}

.about .container {
    display: flex;
    transition: 0.2s;
}

.about .headshot img  {
    transition: 0.2s;
    border-radius: 4px;
    padding-right: 40px;
}

.about .information {
    display: flex;
    justify-content: center;
    align-items: center;   
}

.about .information ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 20px;
}

.about .information ul li {
    
    padding-top: 20px;
    padding-bottom: 20px;
}

.about .information ul li a {
    margin-right: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.about .information ul li a:hover {
    color: #00baf7;
}

.about .information ul li a.active {
    color: #00baf7;
}

.about .information .cv-tabs {
    height: 250px;
    overflow-y: scroll;
    overflow: auto
}

.about .information .experience {
    font-size: 16px;
    display: block;
}

.about .information .experience li {
    padding-bottom: 0px;
    color: #828282;
}

.about .information .experience li a {
    font-weight: bolder;
    display: block;
    color: #c6c9d8;
}
.about .information .experience li a span {
    font-weight: lighter;
}


@media only screen and (min-width: 992px) and (max-width: 1199px) {

    .about .container {
        display: block;
    }

    .about .headshot {
        text-align: center;
    }
}
@media only screen and (max-width: 991px) {

    .about .container {
        display: block;
    }

    .about .headshot {
        text-align: center;
    }
}
@media only screen and (max-width: 767px) {

    .about .container {
        display: block;
    }

    .about .headshot {
        text-align: center;
    }

    .about .headshot img {
        max-width: 100%;
    }
}

/* Portfolio */
.portfolio {
    background-color: #121212;
}

.portfolio h1.title {
    padding-top: 30px;
    padding-bottom: 10px;
    text-align: center;
}

.portfolio .projects ul {
    list-style: none;
    text-align: center;
}

.portfolio .projects ul li.project {
    padding-bottom: 20px;
    position: relative;
    width: calc(99% / 3);
    text-align: center;
    display: inline-table;
    transition: 0.2s;
}

.portfolio .projects .project .thumbnail img {
    border-radius: 5px;
    transition: 0.2s;
}

.portfolio .projects .project .thumbnail img:hover {
    mask-image: linear-gradient(to top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
}

.portfolio .projects .project .content {
    opacity:1;
    position: absolute;
    bottom: 40px;
    left: 40px;
    max-width: 80% !important;
    padding: 0;
    right: 40px;
}

/* Kontakt */
.contact {
    margin-bottom: 30px;
    margin-right: 20px;
}

.contactform form input[type="text"] {
    width: 100%;
    height: 40px;
    padding-left: 20px;
    background-color: #121212;
    border: none;
    margin: 4px;
    border-radius: 4px;
    transition: 0.1s;
    color: #c6c9d8;
}

.contactform form textarea {
    width: 100%;
    padding-left: 20px;
    background-color: #121212;
    border: none;
    margin: 4px;
    padding-top: 10px;
    border-radius: 4px;
    transition: 0.1s;
    color: #c6c9d8;
}

.contactform form input[type="text"]:hover,
.contactform form textarea:hover {
    background-color: #282828;
}

.contactform form input[type="submit"] {
    background-color: #00baf7;
    border: none;
    border-radius: 4px;
    padding: 10px;
    width: 100px;
    margin: 4px;

}

/* Fot */
footer {
    background-color: #121212;
    height: 50px;
    padding-top: 25px;
    text-align: center;

}

footer .copyright {
    opacity: .5;
    padding-top: 299px;
    font-size: 14px;
}