
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,500;1,300&display=swap');

*, html, body {
  box-sizing: border-box;
  cursor: url("../img/Cursor_weiss.png"), auto;

}

@keyframes transition {
  from {
    opacity: 0;
    transform: rotateX(-10deg);
  }

  to {
    opacity: 1;
    transform: rotateX(0deg);
  }
}

.body {  
  padding: 0;
  margin: 0;
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  font-family: 'Montserrat', sans-serif;
  animation: transition 800ms;
}

figure {
  margin: 0;
  padding: 0;
  text-align: center;
}

figcaption {
  margin-top: 0px;
  font-size: 8px;
  color: rgb(255, 255, 255);
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
}

  
.navi-main {
  width: auto;    
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgb(0, 0, 0);
  z-index: 500;
  display: flex; 
  text-align: right;
  justify-content: space-between;
  align-items: center;
}

.navi {
  width: auto;    
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgb(0, 0, 0);
  z-index: 500;
  display: flex; 
  text-align: right;
  justify-content: right;
}

.liste {
  color: rgb(255, 255, 255);
    display: block;
    list-style-type: disc;
    margin-right: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: rgb(0, 0, 0);
}

.custom-button { 
  box-shadow: none;
  border: none;
  background-color: transparent;
  color: rgb(255, 255, 255);
  font-size: 24px;
  font-weight: 400;
  padding: 20px;
  transition: background-color 0.3s ease-in-out, transform 0.5s ease-in-out;
  
}

.custom-button:active {
  transform: rotate(360deg);
  color:  rgb(236, 178, 179);
}

button:hover {
  color: 236, 178, 179;
  cursor: url("../img/Cursor_rosa.png"), auto;
}

.navi__item {
  font-size: 13px;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.titel {
  color: rgb(255, 255, 255);
    display: block;
    list-style-type: disc;
    margin-right: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
    justify-content: left;
    text-align: left;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: 255, 174, 174;
  cursor: url("../img/Cursor_rosa.png"), auto;
}

a:active {
  color: rgb(255, 255, 255);
}

a:visited { 
  color: rgb(236, 178, 179);
}

img:hover {
  cursor: url("../img/Cursor_rosa.png"), auto;
}

#original-image, .hover-image {
  width: 100%;
  height: auto;
}

.hover-image {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  padding-right: 20px;
}

main {
  padding: 88px 14px 88px 14px ;
  margin: 0px;
  background-color: rgb(0, 0, 0);
}

.container__starter {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgb(0, 0, 0);
  overflow: hidden;
}

.img__starter {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 300ms ease-in-out;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.container-big {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.container-CV {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  margin-top: 6px;
  margin-left: 6px;
  margin-right: 6px;
}

.grid-item {
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 6px;
  aspect-ratio: 1/1;
  background-color: rgb(0, 0, 0); 
  float:left;

}

.grid-item__big {
  align-items: center;
  justify-self: center;
  min-width: 0;
  margin: 6px;
  aspect-ratio: 1/1;
  background-color: rgb(0, 0, 0);
 }

 .overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  padding: 4%;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.overlay.blurred {
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 90%;
  margin: auto;
}

.overlay img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  margin: auto;
}

#overlayCaption {
  color: rgb(255, 255, 255);
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-size: 300;
  padding: 5px;
  text-align: center;
  box-sizing: border-box;
  margin-top: 5px;
  margin-left: 5%;
  width: 100%;
  pointer-events: none;
  max-width: 90%;
}

.grid-item__text {
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 6px;
  aspect-ratio: 1/1;
  background-color: rgb(0, 0, 0);
}

.grid-item__title {
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 6px;
  aspect-ratio: 1/1;
  background-color: rgb(0, 0, 0);
}

h1 {
  font-size: 24px;
  max-width: 100%;
  margin-top: 0px;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
}

.img__small {
  max-height: 100%;
  max-width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}

.img__big {
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}

.text__block {
  margin: 5px;
  font-size: 16px;
  font-weight: 300;
  max-height: 100%;
  max-width: 100%;
  aspect-ratio: 1/1;
  overflow-y: scroll;
}

.box__40__pad {
  position: relative;
  width: 40%;
  padding-right: 20px;
  z-index: 2000;
}

.box__60__pad {
  width: 60%;
  padding-right: 20px;
  padding-left: 6px;
  z-index: 2000;
}

.box__60 {
  width: 60%;
  font-weight: 300;
}

.box__40 {
  width: 40%;
}



@media screen and (max-width: 1200px) and (min-width: 0px) {

  .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .container-big {
    display: grid;
    grid-template-columns: 1fr;
  }
  
  .grid-item {
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 6px;
    aspect-ratio: 1/1;
    background-color: rgb(0, 0, 0); 
  
  }

  .grid-item__big {
    align-items: center;
    justify-self: center;
    min-width: 0;
    margin: 6px;
    aspect-ratio: 1/1;
    background-color: rgb(0, 0, 0);
   }

  .grid-item__text {
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 6px;
    background-color: rgb(0, 0, 0);
  }

  .grid-item__title {
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 6px;
    aspect-ratio: 1/0.2;
    background-color: rgb(0, 0, 0);
  }

  .img__small {
    max-height: 100%;
    max-width: 100%;
   aspect-ratio: 1/1;
    object-fit: contain;
  }

  .img__starter {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0; 
    transition: opacity 300ms ease-in-out;
  }

  .img__big {
    max-width: 100%;
    max-height: 100%;
    justify-self: center;
  }

  .text__block {
    margin: 5px;
    font-size: 16px;
    font-weight: 300;
    max-height: none;
    max-width: none;
    aspect-ratio: auto;
    overflow-y: visible;
  }

  h1 {
    font-size: 24px;
    max-width: 100%;
    margin-top: 0px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
  }

}
