/* General Body Style */

@font-face {
    font-family: 'HEXA';
    src: url('/fonts/Britannic Bold Regular.ttf') format('embedded-opentype'), /* Internet Explorer */
         url('/fonts/Britannic Bold Regular.ttf') format('woff2'),             /* Super Modern Browsers */
         url('/fonts/Britannic Bold Regular.ttf') format('woff'),              /* Pretty Modern Browsers */
         url('/fonts/Britannic Bold Regular.ttf') format('truetype'),          /* Safari, Android, iOS */
         url('/fonts/Britannic Bold Regular.ttf') format('svg');               /* Legacy iOS */
}

a {
    color: rgb(135, 8, 145);
  text-decoration: none;
}

body {
    
  height: 100vh;
  background: #0d0e1e;
  overflow: hidden;
  margin: 0; 
    color:white;
    font-family: HEXA;
}

#main {
  position: relative
}

.cs-container {
  width: 100%;  
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh; 
}

#video_background {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1000;
  overflow: hidden;
}

/* Social Media Footer */
#socialmedia {
  position: absolute;
  bottom: 1%;
  left: 50%;
  z-index: 10000;
  transform: translateX(-50%);
}
.fab {
  padding: 20px;
  font-size: 30px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  color: white; /* Common color for all icons */
}
.fa-facebook { background: #3b5998; }
.fa-youtube { background: #b00; }
.fa-tiktok { background: #000; }
.fa-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
 
.imprint{    
    font-size: 0.75rem;
    text-align: center;    
}
.wrapper{
    padding:50;
    position:relative;
    top:50%;
    transform: translateY(-50%);
}

#impressum.visible {
    display: block;
    opacity: 1;
}

#impressum{
    opacity: 0;
    transition: opacity 0.5s ease;
    background-color: rgba(0, 0, 0, 0.65);    
    display:none;    
    position: absolute;
    top:0px;
    bottom: 0px;
   
    padding: clamp(.5rem, 7vw, 3.25rem) 1.5rem;
    font-size: 0.75rem;
    text-align: center;    
}



img {opacity: 0.35}



.item {flex: 1}

.item-text-wrapper {
    display: contents;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
    z-index: 10;
    color: transparent;
    transition: color 1s ease; 
    
    padding: auto;
}

.text-element {
    text-align: center;
}

  #main .content {
    padding-left: 0;
    width: 100%;
    margin: auto;
    padding: auto;
    display: grid
  }

  #main .item {             
    max-height: 1.625rem;
    padding: clamp(.5rem, 7vw, 3.25rem) 0.5rem;
    box-sizing: border-box;
    display: flex;  
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative
  }

  #main .item:hover .cs-background img {
    opacity: 0.85;   
  }
    
    #main .item:hover .item-text-wrapper {
    color: white;
      
  }  

    #main .item-text-wrapper {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2em;
    text-transform: uppercase;
    max-width: clamp(9.375rem, 20vw, 16.5625rem)         
    }

    #main .cs-background {

        height: 100%;
        overflow: hidden;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -2;        
       width: 100%
    }
    
    #main .cs-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 1s
    } 
  

/*large screens */
@media only screen and (min-width:48rem) {
  #main .cs-container {
    max-width: 80rem;
  }

  #main .item {
    min-height: clamp(11.75rem, 27vw, 21.75rem); 
  }
}

/*tablet*/

@media only screen and (max-width:800px) {
  #main .item-text-wrapper {
    font-size: 1.75rem;
    font-weight: 100;
    line-height: 1.2em;
    color: white;
    text-transform: uppercase;
    max-width: clamp(9.375rem, 20vw, 16.5625rem)         
    }
        #main .item {             
    min-height: 10.625rem;
    
}
    
/*Smartphone*/
@media only screen and (max-width:600px) {
  #main .item-text-wrapper {
    font-size: 1rem;
    font-weight: 100;
    line-height: 1.2em;     
    }

  #socialmedia {
    position: absolute;
    bottom: 1%;
    left: 50%;

    white-space: nowrap;
      
  }

  #socialmedia .fab {
    padding: 15px;
    font-size: 25px;
    width: 25px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%
  }
    
    #impressum{
    
    font-size: 0.35rem;
    
}
    
}    
    


