* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
    --font-color-light: #c9c8c8;
    --font-color-dark: black;
    --background-color-darkest: rgb(27, 27, 27);
    --backround-color-dark: rgb(44, 44, 95);
    --background-color-nav: blue;
    --background-color-nav-active: #04AA6D;
    --background-color-nav-hover: #c9c8c8;

}

h1, h2, p {
    color: var(--font-color-light)
}

#landing-page {
    background-color: var(--backround-color-dark);
    height: calc(100vh - 50px);
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}

#title {
    flex: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.landing-page-element {
    text-align: center;
    vertical-align: center;
}

h1.landing-page-element {
    font-size: 5em;
}

h2.landing-page-element {
    font-size: 2em;
}

p.landing-page-element {
    width: 100%;
    height: auto;
    font-size: 1em;
    flex: 30%;
    
    display: flex;
    justify-content: center;
    align-items: center;
}


#picture {
  height: 70vh;
}

#navbar {
  background-color: var(--background-color-nav);
  overflow: hidden;
  top: 0;
  position: fixed;
  width: 100%;
  height: 50px;
}

#navbar a {
    height: 100%;
    float: right;
    color: var(--font-color-light);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

#navbar a:hover {
  background-color: var(--background-color-nav-hover);
  color: black;
}

#navbar a.active {
  background-color: var(--background-color-nav-active);
  color: var(--font-color-light);
}

#projects {
  height: 500px;
  background-color: var(--background-color-darkest);
}

.project-tile {
  width: 50px;
  height: 50px;
  background-color: var(--background-color-dark);
}

#contact {
  height: 500px;
  background-color: var(--backround-color-dark);
}

footer {
  background-color: var(--background-color-darkest)
}

footer p {
  padding: 10px;
  margin: 0;
  color: var(--font-color-light);
  text-align: center;
}

.two-columns {
   display: flex;
}

.columns {
  flex: 50%;
}

.cv-section {
    width: 70%;
    margin: auto;
}

.cv-background {
    background-color: var(--backround-color-dark);
}

.mySlides {
  display: none;
  height: 100%;
  width: auto;
  margin: auto;
}
.portfolio-img {
  vertical-align: middle;
  height: 100%;
  width: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s 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);
}

/* Caption text */
.title, .tagline {
  color: var(--font-color-light);
  font-size: 15px;
  height: auto;
  width: auto;
  text-align: center;
}

.title {
  margin: -2em;
  font-size: 20px;
}
.tagline {
  margin: -1em;
}


/* The dots/bullets/indicators */
.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: 1.5s;
}

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

.slideshow-container {
    background-color: var(--backround-color-dark);
    height: calc(100vh - 50px);
    width: auto;
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}