@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

:root{
    --main-bg: #E9D9D8;
    --secondary: #3C0C1E;
    --highlight: #D7B9B7;
}

body{
    background-color: var(--main-bg);
    margin: 0;
    font-family: "Josefin Sans", sans-serif;
}

#main-image{
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    object-position: 50% max(-6vh,-2em);
}

#main-name{
    position: absolute;
    left: 4vh;
    bottom: 4vh;
    font-family: "Josefin Sans", sans-serif;
    font-weight: bold;
    font-size: min(10em,20vw);
    max-width: 100vw;
    color: white;
    letter-spacing: 15%;
}

#navbar{
    z-index: 5;
    position: fixed;
    top: 0;
    left: 0;
    /* overflow: hidden; */
    display: flex;
    align-items: center;
    width: 100%;
}

#navbar ul{
    list-style: none;
    margin: 0;
}

#navbar ul li{
    display: inline-block;
    text-decoration: none;
    min-width: 100px;
    text-align: left;
}

#navbar ul li a{
    text-decoration: none;
    font-family: "Josefin Sans", sans-serif;
    color: white;
    font-weight: bold;
    font-size: 2em;
}

#home{
    max-height: 100vh;
}

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

.navbar-normal{
    height: 6em;
    transition: all 0.25s;
    padding-top: 2em;
}

.navbar-normal ul li a{
    padding: 0.25em 1em 0.25em 1em;
}


.navbar-slim{
    transition: all 0.25s;
    background-color: black;
    height: 4em;
}

.navbar-slim ul li a{
    font-size: 1.5em !important;
    padding: 0.5em 2em 0.5em 1.5em;
}

.selected a{
    /* border-bottom: 3px solid white !important; */
    color: var(--highlight) !important;
    /* color: red !important; */
}

#contact{
    background-color: var(--secondary);
}

.text-container{
    margin: 3em;
}

.text-container p,
.text-container ul li{
    font-family: "Josefin Sans", sans-serif;
    font-size: min(2em,6vw);
    letter-spacing: 15%;
    line-height: 1.5em;
}

#contact-title{
    font-size: 3em;
    font-weight: bold;
    color: var(--main-bg);
    border-bottom: 0.5vh solid var(--main-bg);
}

.contact-container{
    display: flex;
    flex-direction: column;
    border: 3px solid var(--main-bg);
    padding: 1em;
    max-width: 100%;
    margin: 0 0.5em 0.5em 0.5em;
    width: 45%;
    color: #fff;
    font-weight: bold;
}

.contact-name{
    font-size: 4vh;
}

.contact-role{
    font-size: 2.5vh;
    margin: 1vh 0 1vh 0;
}

.contact-email{
    font-size: 2vh;
    overflow: hidden;
    word-break: break-all;
}

#violin-bw{
    float: left;
    width: 33%;
    margin: 0 2em 1em 0;
    border: 2px black solid;
}

#violin-facing-front{
    float: right;
    width: 20%;
    margin: 0 0 2em 2em;
    border: 2px black solid;
}

#lang-selector{
    margin-right: 4em;
}

#lang-button{
    background: none;
    border: none;
    color: white;
    display: flex;
    justify-content: center;
    cursor: pointer;
    padding: 8px;
}

#current-language{
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    margin-right: 8px;
}

#lang-dropdown{
    display: none;
    position: absolute;
    background-color: #00000044;
    overflow: auto;
    z-index: 1;
}

.lang-dropdown-slim{
    background-color: #000 !important;
}

.lang-button-selected{
    background-color: #00000044 !important;
}

#lang-dropdown span{
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.social-media-icon {
    margin: 0px 32px 32px 32px;
}

.social-media-icon img {
    width: 48px;
    height: 48px;
}

@media only screen and (max-width: 600px) {
    #violin-facing-front,
    #violin-bw{width: 100%}
    .text-container p {letter-spacing: 10%;}
    #navbar ul{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        padding: 0;
        padding-top: 6vh;
    }
    #navbar ul li{
        min-width: 45%;
        justify-content: center;
        display: flex;
    }
    #navbar ul li a{
        text-align: center;
    }
    .navbar-slim{height: 4em;}
    .navbar-slim ul{padding-top: 0vh !important; width: 100% !important; justify-content: space-between !important; margin: 0 1.5em 0 1.5em !important;}
    .navbar-slim ul li{min-width: 0 !important; padding: 0 !important; margin: 0 !important;}
    .navbar-slim ul li a{padding: 0 !important; margin: 0 !important;}
    .contact-container{width: 100%; margin-bottom: 1em}
    #lang-selector{display: none}
}

/* ---------------------- */
/* Begin slideshow styles */
/* ---------------------- */

* {box-sizing:border-box}

/* Slideshow container */
#slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 2s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
#slideshow-dots {
    text-align: center;
    position:absolute;
    top: 90%;
    left: 50%;
}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 3s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* -------------------- */
/* End Slideshow styles */
/* -------------------- */