a {
    user-select: none;
    -webkit-user-drag: none;
}

/* form */
.formHidden {
    display: none;
}

#myForm {
    user-select: none;
    font-family: "Montserrat";
    font-size: 1rem;
    margin: 0 auto;
}

#myForm button {
    color: var(--text-color);
    margin-top: 10px;
    padding: 10px;
    border-radius: 50px;
    cursor: pointer;
    background-color: var(--primary-color);
    border-style: none;
    user-select: none;
}

#myForm h5 {
    font-weight: 600;
    line-height: 1.5;
    margin: 10px;
}

.reduceBrightness {
    filter: brightness(50%);
}

.fullBrightness {
    filter: brightness(100%);
}
    
.revealed {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    max-width: 500px;
    height: auto;
    padding: 20px;
    margin: 10px;
    border-radius: 50px;
    background-color: var(--secondary-color);
    box-shadow: 
    0.3px 0.5px 0.7px hsl(var(--shadow-color) / 0.14),
    1.5px 2.9px 3.7px -0.4px hsl(var(--shadow-color) / 0.14),
    2.7px 5.4px 6.8px -0.7px hsl(var(--shadow-color) / 0.14),
    4.5px 8.9px 11.2px -1.1px hsl(var(--shadow-color) / 0.14),
    7.1px 14.3px 18px -1.4px hsl(var(--shadow-color) / 0.14),
    11.2px 22.3px 28.1px -1.8px hsl(var(--shadow-color) / 0.14),
    17px 33.9px 42.7px -2.1px hsl(var(--shadow-color) / 0.14),
    25px 50px 62.9px -2.5px hsl(var(--shadow-color) / 0.14);
    z-index: 11;
}

#formTopText {
margin: 10px;
    text-align: center;
}

.formGroup1 {
    text-align: center;
    padding-top: 5px;
}

.formGroup2 {
    text-align: center;
}

#playActorsLogo {
    width: 8rem;
    border-radius: 100px;
}

.formLink {
    color: var(--text-color);
    text-decoration-color: var(--text-color);
}

/* navbar */
.dropdown {
    position: relative;
}

/* #dropdownButton {
    height: 36px;
} */

/* hidden by default */
#dropdownContent {
    display: flex;
    justify-content: space-around;
    /* align-items: center; */
    position: fixed;
    top: 75px;
    left: 290px;
    background-color: var(--secondary-color);
    color: var(--text-shadow-color);
    border-radius: 20px;
    border-style: none;
    padding-top: .61rem;
    padding-bottom: .31rem;
    padding-left: 10px;
    padding-right: 10px;
    width: 200px;
    user-select: none;
    box-shadow: 
    0.3px 0.5px 0.7px hsl(var(--shadow-color) / 0.14),
    1.5px 2.9px 3.7px -0.4px hsl(var(--shadow-color) / 0.14),
    2.7px 5.4px 6.8px -0.7px hsl(var(--shadow-color) / 0.14),
    4.5px 8.9px 11.2px -1.1px hsl(var(--shadow-color) / 0.14),
    7.1px 14.3px 18px -1.4px hsl(var(--shadow-color) / 0.14),
    11.2px 22.3px 28.1px -1.8px hsl(var(--shadow-color) / 0.14),
    17px 33.9px 42.7px -2.1px hsl(var(--shadow-color) / 0.14),
    25px 50px 62.9px -2.5px hsl(var(--shadow-color) / 0.14);
}

.socialMediaIcons {
    width: 2.1em;
    height: 2.1em;
    cursor: pointer;
    -webkit-user-drag: none;
    list-style: none;
}

.socialMediaIcons:focus-visible {
    outline: 2px solid var(--accent-color);
}

/* .socialMediaIcons:hover {
    border-radius: 10px;
    outline: 2px solid var(--accent-color);
} */

/* language switcher */
:root {
    --height: 36px;
}

.switcher {
    position: relative;
    bottom: 1px;
    display: inline-block;
    width: calc(var(--height) * 2);
    height: var(--height);
    /* user-select: none; */
    margin-left: 10px;
    margin-right: 10px;
}

.switcher input {
    opacity: 0;
    width: 0;
    height: 0;
}

.select-de,
.select-en {
    position: absolute;
    font-size: .95rem;
    font-weight: 500;
    cursor: pointer;
    top: calc(var(--height) / 4);
    color: var(--text-shadow-color);
    /* user-select: none; */
}

.select-de {
    left: calc(var(--height) / 5);
}

.select-en {
    right: calc(var(--height) / 5.5);
}

#scriptHeading, #voiceHeading {
    text-align: center;
}

h4 {
    font-weight: 400;
    margin-bottom: 0;
    text-decoration: underline;
    /* margin-bottom: 10px; */
    /* text-align: center; */
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: var(--height);
    width: var(--height);
    left: 0;
    bottom: 0;
    background-color: var(--accent-color);
    transition: 0.4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: none;
}

input:checked + .slider:before {
    transform: translateX(var(--height));
}

/* Rounded sliders */
.slider.round {
    border-radius: var(--height);
}

.slider.round:before {
    border-radius: 50%;
}

#lightMode, #darkMode {
    position: absolute;
    top: -3px;
    width: 25px;
    cursor: pointer;
    color: var(--text-color);
    mix-blend-mode:color-burn;  
    user-select: none;
    -webkit-user-drag: none;
}

#deFlag, #enFlag {
    position: absolute;
    top: -3.2px;
    width: 25px;
    cursor: pointer;
    mix-blend-mode: hard-light;
    user-select: none;
    -webkit-user-drag: none;
}

#lightMode, #deFlag {
    left: -1.7px;
}

#darkMode, #enFlag {
    left: -23.5px;
}

/* classes used on both form and navbar */
.hidden {
    display: block;
}
  
.nav-bar {
    /* transform ensures navbar starts off screen when page loads */
    display: flex;
    transform: translateX(150%);
    min-width: 650px;
    height: 65px;
    top: 33px;
    right: 70px;
    position: fixed;
    padding-left: 10px;
    padding-right: 10px;
    background: var(--secondary-color);
    border-radius: 200px;
    z-index: 10;
    box-shadow: 
    0.3px 0.5px 0.7px hsl(var(--shadow-color) / 0.14),
    1.5px 2.9px 3.7px -0.4px hsl(var(--shadow-color) / 0.14),
    2.7px 5.4px 6.8px -0.7px hsl(var(--shadow-color) / 0.14),
    4.5px 8.9px 11.2px -1.1px hsl(var(--shadow-color) / 0.14),
    7.1px 14.3px 18px -1.4px hsl(var(--shadow-color) / 0.14),
    11.2px 22.3px 28.1px -1.8px hsl(var(--shadow-color) / 0.14),
    17px 33.9px 42.7px -2.1px hsl(var(--shadow-color) / 0.14),
    25px 50px 62.9px -2.5px hsl(var(--shadow-color) / 0.14);
    /* Remove the highlight effect on touch devices */
    -webkit-tap-highlight-color: transparent;
}
  
#navBarList {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}
  
#homeButton {
    margin-left: 5px;
    margin-right: 5px;
}

.navBarButton {
    background-color: var(--primary-color);
    color: var(--text-shadow-color);
    border-radius: 20px;
    border-style: none;
    cursor: pointer;
    padding-top: .61rem;
    padding-bottom: .61rem;
    margin-left: 5px;
    margin-right: 5px;
    /* width: 131px; */
    user-select: none;
    font-size: .8rem;
}

.navBarButtonShort {
    background-color: var(--primary-color);
    color: var(--text-shadow-color);
    border-radius: 20px;
    border-style: none;
    cursor: pointer;
    padding: 10px;
    width: 70px;
    margin-left: 5px;
    margin-right: 5px;
    user-select: none;
    text-align: center;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
}

.navBarButtonShort:focus-visible {
    outline: 2px solid var(--accent-color);
}

/* .navBarButtonShort:hover {
    outline: 2px solid var(--accent-color);
} */

/* hamburger button */
.btn {
    position: fixed;
    top: 55px;
    right: 20px;
    height: 27px;
    width: 35px;
    cursor: pointer;
    z-index: 11;
    animation-name: fade;
    animation-duration: 1s;
    animation-timing-function: ease-in;
}

/* should maintain itself for high contrast mode. NEEDS CHECKING */
.btn:focus-visible {
    outline: 2px solid transparent;
}

/* ensures hamburger menu is visible when selected using keyboard */
.btn:focus-visible .top,
.btn:focus-visible .middle,
.btn:focus-visible .bottom,
.btn.active:focus-visible .top,
.btn.active:focus-visible .middle,
.btn.active:focus-visible .bottom {
    outline: 1px solid var(--accent-color);
    background-color: var(--primary-color);
}

.switcher:focus-visible {
    border-radius: 34px;
    outline: 2px solid var(--accent-color);
}

#contactMeButton:focus-visible {
    outline: 2px solid var(--accent-color);
    border-radius: 34px;
}

a #downloadCVButton {
    color: var(--text-shadow-color);
}

/* hamburger button three rows */
.btn span {
    background: var(--accent-color);
    border: none;
    border-radius: 200px;
    height: 5px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .35s ease;
    cursor: pointer;
    box-shadow: 
    0.3px 0.5px 0.7px hsl(var(--shadow-color) / 0.14),
    1.5px 2.9px 3.7px -0.4px hsl(var(--shadow-color) / 0.14),
    2.7px 5.4px 6.8px -0.7px hsl(var(--shadow-color) / 0.14),
    4.5px 8.9px 11.2px -1.1px hsl(var(--shadow-color) / 0.14),
    7.1px 14.3px 18px -1.4px hsl(var(--shadow-color) / 0.14),
    11.2px 22.3px 28.1px -1.8px hsl(var(--shadow-color) / 0.14),
    17px 33.9px 42.7px -2.1px hsl(var(--shadow-color) / 0.14),
    25px 50px 62.9px -2.5px hsl(var(--shadow-color) / 0.14);
}
  
.btn .middle {
    top: 11px;
}
  
.btn .bottom {
    top: 22px;
}
  
.btn.active .top {
    transform: translateY(11px) translateX(0) rotate(45deg);
    background: var(--accent-color);
}
  
.btn.active .middle {
    opacity: 0;
    background: var(--accent-color);
}
  
.btn.active .bottom {
    transform: translateY(-11px) translateX(0) rotate(-45deg);
    background: var(--accent-color);
}

/* for small screens */
@media screen and (max-width: 412px) {
    #myForm {
        width: 250px;
    }
}

@media screen and (max-width: 770px) {
    /* changes navbar to a side bar  */
    .nav-bar {
        /* transform ensures navbar starts off screen when page loads */
        display: flex;
        transform: translateX(150%);
        min-width: 150px;
        min-height: 100vh;
        /* max-height: 100vh; */
        top: 0px;
        right: 0px;
        position: fixed;
        background: var(--secondary-color);
        z-index: 10;
        box-shadow: 
        0.3px 0.5px 0.7px hsl(var(--shadow-color) / 0.14),
        1.5px 2.9px 3.7px -0.4px hsl(var(--shadow-color) / 0.14),
        2.7px 5.4px 6.8px -0.7px hsl(var(--shadow-color) / 0.14),
        4.5px 8.9px 11.2px -1.1px hsl(var(--shadow-color) / 0.14),
        7.1px 14.3px 18px -1.4px hsl(var(--shadow-color) / 0.14),
        11.2px 22.3px 28.1px -1.8px hsl(var(--shadow-color) / 0.14),
        17px 33.9px 42.7px -2.1px hsl(var(--shadow-color) / 0.14),
        25px 50px 62.9px -2.5px hsl(var(--shadow-color) / 0.14);
        /* in the hex code, cc = 80% opacity (99 is 60%, 66 = 40%) */
        background: var(--secondary-color-half-opacity);
        border-top-left-radius: 100px;
        border-bottom-left-radius: 100px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    #navBarList {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
        margin-top: 70px;
        left: 33px;
        list-style: none;
    }

    /* repositions hamburger location */
    .btn {
        top: 30px;
        right: 63px;
    }

    #dropdownContent {
        display: flex;
        justify-content: space-around;
        /* align-items: center; */
        position: absolute;
        top: -12px;
        left: -225px;
        background: var(--secondary-color-half-opacity);
        color: var(--text-shadow-color);
        border-radius: 20px;
        border-style: none;
        padding-top: .61rem;
        padding-bottom: .31rem;
        padding-left: 10px;
        padding-right: 10px;
        width: 200px;
        user-select: none;
        box-shadow: 
        0.3px 0.5px 0.7px hsl(var(--shadow-color) / 0.14),
        1.5px 2.9px 3.7px -0.4px hsl(var(--shadow-color) / 0.14),
        2.7px 5.4px 6.8px -0.7px hsl(var(--shadow-color) / 0.14),
        4.5px 8.9px 11.2px -1.1px hsl(var(--shadow-color) / 0.14),
        7.1px 14.3px 18px -1.4px hsl(var(--shadow-color) / 0.14),
        11.2px 22.3px 28.1px -1.8px hsl(var(--shadow-color) / 0.14),
        17px 33.9px 42.7px -2.1px hsl(var(--shadow-color) / 0.14),
        25px 50px 62.9px -2.5px hsl(var(--shadow-color) / 0.14);
    }

    /* .socialMediaIcons:hover, .navBarButtonShort:hover, #contactMeButton:hover {
        border-radius: 10px;
        outline: none;
    } */

    .navBarButtonShort {
        background-color: var(--primary-color);
        color: var(--text-shadow-color);
        border-radius: 20px;
        border-style: none;
        cursor: pointer;
        padding: 6px;
        width: 70px;
        margin-left: 5px;
        margin-right: 5px;
        user-select: none;
        text-align: center;
        text-decoration: none;
        font-family: 'Montserrat', sans-serif;
        font-size: .8rem;
    }
} 

