@font-face {
    font-family: trirong-Bold;
    src: url(../fonts/Trirong-Bold.ttf);
  }
  @font-face {
    font-family: apollo;
    src: url(../fonts/APOLLO.otf);
  }
body{
    /*background-color:#1E1C1C;*/
    background-color:black;
    font-family: trirong-Bold;
}
h1{
  color: white;
}
h3{
  color: white;
}
footer{
  color: #f5f5f5;
  background-color: black;
  text-align: center;
  min-height: 50px;
  font-size: small;
}
p{
  padding-left: 25px;
}
/* Style the video: 100% width and height to cover the entire window */
 #myVideo {
  object-fit: cover;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -2;
  }

  #layer{
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    color: #404040;
  }

  #menu{
    display: flex;
    margin-left: auto;
    margin-right: auto;
    background-color: #404040;
    max-width: 1200px;
    max-height: 70px;
    border-radius: 50px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 3px;
    animation-name: islandreverse;
    animation-duration: 1s;
    animation-delay: 1.5s;
    animation-timing-function: ease;
    animation-fill-mode: both;
    white-space: nowrap;
    overflow: hidden;
  }
  #menu-solid{
    display: flex;
    margin-left: -10px;
    margin-top: -10px;
    /*background-color: #404040;*/
    background-color: black;
    padding-top: 10px;
    padding-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    width: 98.7vw;
    justify-content: space-between
  }
  #menu-solid .menu-items{
    padding-right: 20px;
  }

  #menu:hover{
    animation-name: island;
    animation-duration: 1s;
    animation-delay: 0s;
    animation-timing-function: ease;
    animation-fill-mode: both;
  }

  #menu > .menu-items{
    animation-name: textout;
    animation-delay: 1s;
    animation-duration: .5s;
    animation-timing-function: ease;
    animation-fill-mode: both;
  }
  #menu:hover > .menu-items{
    animation-name: textin;
    animation-delay: 1s;
    animation-duration: .5s;
    animation-timing-function: ease;
    animation-fill-mode: both;
  }

  /* The animation code */
    @keyframes islandreverse {
        from {width: 900px;}
        to {width: 255px;}
    }
    @keyframes island {
        from {width: 255px;}
        to {width: 900px;}
    }
    @keyframes islandreversemobile {
        from {height: 300px;}
        to {height: 70px;}
    }
    @keyframes islandmobile {
        from {height: 70px;}
        to {height: 300px;}
    }
    @keyframes textout {
        0% {opacity: 1; visibility: visible;}
        100% {opacity: 0; visibility: hidden;}
    }
    @keyframes textin {
        0% {opacity: 0; visibility: hidden;}
        100% {opacity: 1; visibility: visible;}
    }

  #logo_main{
    max-width: 200px;
    padding-left: 15px;
  }

  .menu-items{
    padding-top: 18px;
  }

   /* unvisited link */
  a:link {
    color: #f5f5f5;
    text-decoration: none;
    font-size:larger;
    margin-left: 15px;
  }
  
  /* visited link */
  a:visited {
    text-decoration: none;
    color: #f5f5f5;
  }
  
  /* mouse over link */
  a:hover {
    text-decoration: underline;
    color: #ff4545;
  }
  
  /* selected link */
  a:active {
    text-decoration: none;
    color: #f5f5f5;
  }
  
  .whocontainer{
    color: #f5f5f5;
    max-width: 90vw;
    display: flex;
    margin: auto;
  }
  .whocontainer > iframe{
    margin: 5px;
  }
  .whoitem > p{
    margin-top: 5px;
  }
  .whoitem > h1{
    margin-bottom: 5px;
  }

  .desccontainer{
    color: #f5f5f5;
    max-width: 90vw;
    display: flex;
    justify-content: space-evenly;
    margin: auto;
    text-align: center;
  }
  .desccontainer1{
    color: #f5f5f5;
    max-width: 550px;
    display: flex;
    justify-content: center;
    margin: auto;
    padding: auto;
    text-align: center;
    border-style: solid;
    border-width: thin;
  }
  .desccontainer2{
    color: #f5f5f5;
    display: flex;
    justify-content: center;
    margin: auto;
    padding: auto;
    text-align: center;
  }
  .desccontainer3{
    color: #f5f5f5;
    display: flex;
    justify-content: center;
    margin: auto;
    padding: auto;
    padding-left: 10vw;
    text-align: center;
  }
  .desccontainer4{
    color: #f5f5f5;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    margin: auto;
    padding: auto;
    text-align: center;
    border-style: solid;
    border-width: thin;
  }
  .desccontainer5{
    color: #f5f5f5;
    max-width: 80vw;
    display: flex;
    justify-content: space-evenly;
    margin: auto;
    margin-bottom: 30px;
  }
  .descitem{
    width: 550px;
    padding: 5px;
  }
  .descitem1{
    max-width: 550px;
    padding: 5px;
    border-left-style: solid;
  }
  .descitem3{
    width: 1000px;
    padding: 5px;
    border-left-style: solid;
  }
  .descitem2{
    width: 1000px;
    padding: 5px;
  }
  .descitem4{
    width: 550px;
    padding: 5px;
    color: black;
  }
  .descitem5{
    margin-left: 10px;
    width: 550px;
    padding-bottom: 20px;
    color: black;
    border: 2px solid black;
    border-radius: 12px;
    text-align: center;
    font-size: large;
    box-shadow: 5px 5px #dadada;
  }
  .descitem5 > h1{
    color: black;
  }
  .descitem5 > p{
    font-size: larger;
  }
  .descitem2 > ul{
    text-align: left;
  }
  .descitem1 > ul{
    text-align: left;
  }
  .desccontainer2 p{
    max-width: 80vw;
  }
  
  .aboutcontainer{
    color: #f5f5f5;
    max-width: 100vw;
    display: flex;
    margin: auto;
  }

  .aboutitem{
    margin: auto;
  }
  .aboutitem > h1{
    padding-left: 50px;
  }
  .aboutitem > p{
    padding-left: 50px;
  }
  #portrait{
    max-height: 400px;
  }

  .contactcontainer{
    color: black;
    width: 100vw;
    display: flex;
    margin: auto;
    background-color: #fdfdfd;
  }

  .container_form{
    width: 90vw;
  }

  .portfoliophoto{
    max-height: 550px;
  }

  .contactitem{
    margin: auto;
  }
  .contact_title{
    margin: auto;
    margin-left: 1.5vw;
    color: black;
  }
  .fillerbox{
    object-fit: cover;
    width: 100vw;
    max-height: 600px;
    min-height: 600px;
    top: 0;
    left: 0;
    z-index: -1;
  }
  .fillerbox2{
    object-fit: cover;
    width: 100vw;
    max-height: 600px;
    min-height: 600px;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.3;
  }
  .fillerbox3{
    object-fit: cover;
    width: 100vw;
    max-height: 600px;
    min-height: 600px;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.3;
  }
  .textoverpicture{
    position: absolute;
    margin-top: 100px;
    margin-left: 100px;
    max-width: 500px;
  }
  .line{
    width: 90vw;
    height: 0px;
    border-bottom: 1px solid #f5f5f5;
    margin: auto;
  }
  .typewriter{
    padding-right: 0%;
    margin-right: 0%;
  }
  .desccontainer2 .typewrite{
    padding-left: 0%;
    margin-left: 0%;
  }
  .desccontainer2 .wrap{
    padding-left: 0%;
    margin-left: 0%;
  }
  .desccontainer2 a:hover{
    text-decoration: none;
    color: white;
  }
  .desccontainer2 a{
    text-decoration: none;
  }

   /* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: transparent;
  color: white;
  padding: 12px 20px;
  border: 2px solid white;
  border-radius: 15px;
  box-sizing: border-box;
  cursor: pointer;
  font-family: trirong-Bold;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #ff4545;
}

/* Add a background color and some padding around the form */
.container {
  border-radius: 5px;
  padding: 20px;
} 

/* CSS */
.buttonContainer{
  text-align: center;
  max-width: 100vw;
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: black;
  margin-bottom: 0;
}

.button-27 {
  appearance: none;
  background-color: #ff4545;
  border: 2px solid white;
  border-radius: 15px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-height: 60px;
  width: auto;
  max-width: 300px;
  outline: none;
  padding: 16px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
  will-change: transform;
}

.button-27:disabled {
  pointer-events: none;
}

.button-27:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.button-27:active {
  box-shadow: none;
  transform: translateY(0);
}

/* CSS */
.button-28 {
  appearance: none;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 15px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-height: 60px;
  min-width: 0;
  outline: none;
  padding: 16px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
  will-change: transform;
  width: auto;
}

.button-28:disabled {
  pointer-events: none;
}

.button-28:hover {
  color: #fff;
  background-color: #ff4545;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.button-28:active {
  box-shadow: none;
  transform: translateY(0);
}

/* CSS */
.button-29 {
  appearance: none;
  background-color: transparent;
  border: 2px solid black;
  border-radius: 15px;
  box-sizing: border-box;
  color: black;
  cursor: pointer;
  display: inline-block;
  font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-height: 60px;
  min-width: 0;
  outline: none;
  padding: 16px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
  will-change: transform;
  width: auto;
}

.button-29:disabled {
  pointer-events: none;
}

.button-29:hover {
  color: black;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.button-29:active {
  box-shadow: none;
  transform: translateY(0);
}

.togglebody{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.toggleCheckbox {
  display: none;
}

.toggleContainer {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: fit-content;
  border: 3px solid #343434;
  border-radius: 20px;
  background: #343434;
  font-weight: bold;
  color: #343434;
  cursor: pointer;
}

.toggleContainer::before {
  content: '';
  position: absolute;
  width: 50%;
  height: 100%;
  left: 0%;
  border-radius:20px;
  background: white;
  transition: all 0.3s;
}

.toggleContainer div {
  padding: 6px;
  text-align: center;
  z-index: 1;
}

.toggleCheckbox:checked + .toggleContainer::before {
  left: 50%;
}

.toggleCheckbox:checked + .toggleContainer div:first-child{
  color: white;
  transition: color 0.3s;
}
.toggleCheckbox:checked + .toggleContainer div:last-child{
  color: #343434;
  transition: color 0.3s;
}
.toggleCheckbox + .toggleContainer div:first-child{
  color: #343434;
  transition: color 0.3s;
}
.toggleCheckbox + .toggleContainer div:last-child{
  color: white;
  transition: color 0.3s;
}

.flip-card {
  margin-left: 10px;
  width: 550px;
  padding-bottom: 20px;
  color: black;
  text-align: center;
  font-size: large;
  background-color: white;

  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

.flip-card-front > h1{
  color: black;
}
.flip-card-back > h1{
  color: black;
}
.flip-card > p{
  font-size: larger;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 400px;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card-inner-active {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  color: black;
  border: 2px solid black;
  border-radius: 12px;
  box-shadow: 5px 5px #dadada;
  background-color: white;
  height: 400px;
}

/* Style the back side */
.flip-card-back {
  border: 2px solid black;
  border-radius: 12px;
  color: black;
  background-color: white;
  transform: rotateY(180deg);
  height: 400px;
}

@media only screen and (min-width: 850px) {
  .desccontainer{flex-direction: row;}
}
@media only screen and (max-width: 850px) {
  .desccontainer{flex-direction: column;}
  .descitem{width: 90vw;}
  .desccontainer3{flex-direction: column;}
  .desccontainer5{
    flex-wrap: wrap;
  }
  .descitem{
    width: 90vw;
  }
  .descitem1{
    width: 90vw;
    margin-bottom: 50px;
  }
  .descitem2{
    width: 90vw;
  }
  #menu{
    flex-direction: column;
    max-height: 300px;
    max-width: 275px;
    animation-name: islandreversemobile;
    animation-duration: 1.5s;
    animation-delay: 0s;
  }
  #menu:hover{
    animation-name: islandmobile;
  }
  .menu-items{
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  #menu > a{
    padding-left: 20px;
  }
  #menu-solid{
    flex-direction: column;
    text-align: center;
  }
  #menu-solid-sub{
    flex-direction: column;
    text-align: center;
  }
  #menu-solid > .menu-items{
    padding-left: 40px;
  }
  #menu-solid-sub > .menu-items{
    padding-left: 40px;
  }
  .fillerbox2{
    content: url("/photos/portraits/Sarah_01 copy.jpeg");
  }
  .textoverpicture{
    max-width: 90vw;
    margin-left: 20px;
  }
}