:root {
    --lightshade: #e4e4e4;
}

@font-face {
    font-family: "CopenhagenGrotesk-Bold";
    src: url("../fonts/CopenhagenGrotesk-Bold.otf") format("opentype");
}

@font-face {
    font-family: "CopenhagenGrotesk-light";
    src: url("../fonts/CopenhagenGrotesk-light.otf") format("opentype");
}

@font-face {
    font-family: "CopenhagenGrotesk";
    src: url("../fonts/CopenhagenGrotesk.otf") format("opentype");
}

* {
    font-family: "CopenhagenGrotesk";
}

body {
    margin: 0;
}

h1 {
    font-family: "CopenhagenGrotesk-bold";
    text-align: center;
}

header {
    padding: 0 60px;
    display: flex;
    position: fixed;
    box-sizing: border-box;
    width: 100vw;
    align-content: center;

    background-color: #bbb;
    z-index: 1;

    box-shadow: 0 -50px 40px 40px;

    gap: 60px;
}

header * {
    height: 100px;
    display: inline-block;
    align-content: center;
}

#hamburgerbutton {
    display: none;
}

.menulinks {
    display: flex;
    gap: 60px;
    margin-left: auto;
    transition: 250ms ease;
}

.menulinks a, #hamburgerbutton {
    font-family: "CopenhagenGrotesk-bold";
    font-size: larger;
    color: black;
    text-decoration: none;
    transition: 100ms ease;
    white-space: nowrap;
    text-align: center;
}

.menulinks a:active, #hamburgerbutton:active {
    color: rgb(102, 102, 102) !important;
}

.menulinks a:hover {
    filter: blur(.5px);
}

.currentpage {
    color: #003948 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
}

.foto {
    width: 100%;
    min-height: 300px;
    object-fit: cover;
}

.content {
    display: flex;
    flex-direction: column;
    padding-top: 100px;
}

.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 15%;
    gap: 40px;
}

.section:nth-child(even) {
    background-color: var(--lightshade);
}

.content-display {
    box-shadow: 0 0 100px -50px;
    border-radius: 5px;
}

img.content-display {
    object-fit: cover;
}

.content-display iframe {
    border-radius: 15px;
}

.image-text {
    display: flex;
    gap: 40px;
    margin: auto;
    align-items: center;
    width: 100%;
}

.image-text * {
    flex: 1;
}

.image-text img, .image-text video {
    width: 0;
}

.logo-text {
    display: flex;
    gap: 20px;
    align-items: center;
}

.skills {
    display: flex;
    text-align: right;
    gap: 50px;
    width: 100%;
}

.skill-name {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.skill-progress {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    margin: 15px 0;
}

.progressbar-border {
    display: flex;
    border: 3px solid dimgray;
    border-radius: 5px;
    max-height: 20px;
    flex: 1;
    height: 50px;
    filter: drop-shadow(0 0 20px #00000030);
}

.progressbar-fill {
    font-family: "CopenhagenGrotesk-bold";
    font-size: medium;
    background-color: #eda328;
    text-align: center;
    border-radius: 2px;
}

.skill-logo {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    max-height: 100%;
    align-items: center;
    gap: 20px;
}

.skill-logo img {
    max-width: 100%;
    max-height: 100%;

    filter: drop-shadow(0 0 20px #00000030);
}

.skill-img {
    width: 55px;
    height: 55px;

    align-content: center;
    text-align: center;
}

.progressbar1 {
    width: 70%;
}

.progressbar2 {
    width: 60%;
}

.progressbar3 {
    width: 60%;
}

.progressbar4 {
    width: 50%;
}

.progressbar5 {
    width: 40%;
}

.progressbar6 {
    width: 30%;
}

.cv {
    max-height: 800px;
    max-width: 100%;
    border: 4px solid dimgray;
    border-radius: 5px;
    box-shadow: 0 0 100px -50px;
}

.buttons {
    display: flex;
    gap: 40px;
}

.button {
    background-color: #eda328;
    padding: 10px;
    padding-top: 6px;
    border-radius: 5px;
    color: black;
    font-size: larger;
    transition: 250ms ease;
    text-decoration: none;
}

.button:hover {
    background-color: #ffc15e;
    filter: blur(.5px);
}

.thumbnail {
    height: 300px;
    position: relative;
}

.thumbnail::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.thumbnail iframe {
    position: absolute;
    transform-origin: top left;
    transform: scale(calc(1/3));
    width: 300%;
    height: 300%;
}

.logo {
    max-height: 60px;
    filter: drop-shadow(0 0 20px #00000030);
}

.icon {
    max-height: 30px;
    filter: drop-shadow(0 0 20px #00000030);
}

.image-text h1 {
    margin: 0;
}

.centertext {
    text-align: center;
}

.important {
    color: red;
}

@media only screen and (max-width: 600px) {
    .section {
        padding: 20px 50px;
    }

    .image-text {
        flex-direction: column;
        gap: 20px;
    }

    .image-text img, .image-text video, .content-display, .thumbnail {
        width: 100%;
        flex: auto;
    }

    .skill-name {
        display: none;
    }

    header {
        padding: 0 30px;
    }

    header * {
        height: 75px;
    }

    .favicon {
        height: 45px;
    }

    .menulinks {
        position: fixed;
        visibility: hidden;
        flex-direction: column;
        background-color: #8884;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        height: fit-content;
        gap: 30px;
        padding: 30px;
        top: 75px;
        text-align: right;
        height: 100%;
    }

    .menulinks a {
        height: auto;
    }

    #hamburgerbutton {
        display: block;
        margin-left: auto;
        font-size: xx-large;
    }

    p {
        text-align: justify;
    }
}