/** General **/

@font-face {
      font-family: "Poppins";
      src: url("font/Poppins-Medium.ttf");
  }


* {
      box-sizing: border-box;
}

html {
      margin: 0;
      padding: 0;
      width: 100%;
      height: 100vh;
      scroll-behavior: smooth;
}

body {
      margin: 0;
      padding: 0;
      width: 100%;
      height: 100vh;
      font-family: 'Poppins';
      font-weight: 300;
      color: #2e3225;;
    
   

}

h1{
      padding-top: 1.5rem;
      font-size: 3rem;
}

/** Map **/

#placeholder-map{
      height: 400px;
      width: 100%;
      background-color: rgb(243, 240, 240);
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: absolute;
}

#placeholder-map a {
      color: #000;
      text-decoration: underline;
}

#placeholder-map a:hover {
      cursor: pointer;
}





#map {
      position: relative;
      height: 400px;
      width: 100%;
    }

/** Button **/

button {
      cursor: pointer;
      background-color: #2E3225;
      border: none;
      color: #EFF6F5;
      height: 2.5em;
      padding-left: 2em;
      padding-right: 2em;
      font-size: 1em;
      font-family: var(--serif-font);
    }

button:hover {
      opacity: 0.9;
}

button:active {
      transform: scale(0.95);
    }

@media (max-width: 600px) {
 button {
        padding: 0 1em;
      }
}    


/** Nav **/




nav {
      padding: 3rem;
      margin-left: 16%;
      margin-right: 16%;
      
      
     
}

    .texts a {
      position: relative;
    }
    
    .texts a::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
    
        border-radius: 4px;
        background-color: #2e3225;
        bottom: 0;
        left: 0;
        transform-origin: right;
        transform: scaleX(0);
        transition: transform .5s ease-in-out;
      }
    
      .texts a:hover::before {
      transform-origin: left;
      transform: scaleX(1);
    }



nav ul {
      float: left;
}



nav ul li {
      display: inline-block;
}

nav ul li:not(:first-child) {
      margin-left: 48px;
}

nav ul li:last-child {
      margin-right: 24px;
}

.logos {
      float: right;
      
}

i:hover {
      cursor: pointer;

}


nav ul li a {
      display: inline-block;
      outline: none;
      color: #2e3225;
      text-transform: uppercase;
      text-decoration: none;
      font-size: 14px;
      letter-spacing: 1.2px;
      font-weight: 600;
}

.mobile-logos {
      display: none;
     
}

/** Main Page **/

.main-page{
      text-align: center;
}

.zeitvertrauen {
      margin-top: 1rem;   
      width: 60%;
      border: 0px solid black;
      box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.5);
    
   }


   .line {
      margin: auto;
      border-top: 2px solid black;
      width: 55%;
}


.psychotherapie{
      margin-left: 20%;
      margin-right: 20%;
      text-align: start;
      font-size: 1.2rem;
}

.ueber-mich{
      margin-left: 20%;
      margin-right: 20%;
      text-align: start;
      font-size: 1.2rem;
}

.kontakt{
      margin-left: 20%;
      margin-right: 20%;
      text-align: start;
      font-size: 1.2rem;
      
}

.quote {
      text-align: center; 
      font-size: 1.2rem;
}

.profil {
      display: flex;
      box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.5);
      margin: auto;
      width: 40%;
}     





.img-container {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .steine-img {
      max-width: 100%;
      border: 0px solid black;
      box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.5);

    }
    
    .steine {
      flex-basis: 100%
    }
    
    .img-text {
     
      padding-left: 30px;
    }

    .mobile-img {
      display: none;
    }

    .new-img {
      display: flex;
      box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.5);
      margin: auto;
      width: 100%;
}
  


/** Media Settings **/



@media screen and (max-width: 864px) {

      h1{
            padding-top: 5rem;
      }

      .container {
            position: fixed;
            background-color: rgb(243, 240, 240);
            opacity: 90%;
            top: 0;
            width: 100%;
            height: 4.2rem;
            z-index: 100;
      } 

      h1 {
            margin: 0;
      }
      .psychotherapie {
            margin: 0;
            margin-left: 1.5rem;
            margin-right: 1.5rem;
            font-size: 1rem;
      }

      .ueber-mich {
            margin: 0;
            margin-left: 1.5rem;
            margin-right: 1.5rem;
            font-size: 1rem;
      }

      .kontakt {
            margin: 0;
            margin-left: 1.5rem;
            margin-right: 1.5rem;
            font-size: 1rem;
      }

      .quote {
            margin-left: 1.5rem;
            margin-right: 1.5rem;
            text-align: center; 
            font-size: 1.2rem;
      }

      .zeitvertrauen {
            width: 96%;
            margin: auto;
           }


      .img-container {
            display: none;          
      }

      .mobile-img {
            display: flex;
            margin: auto;
            width: 100%;
      }



      .nav-wrapper {
            pointer-events: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: #fff;
            opacity: 0;
            transition: all 0.2s ease;
            border: 2px #2E3225 solid;
      }

      .nav-wrapper ul:first-child {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
      }



      .nav-wrapper ul:last-child {
            position: relative;
            top: 60%;
            transform: translateY(-60%);
      }
  

      .nav-wrapper ul:first-child li {
            display: block;
            float: none;
            width: 100%;
            text-align: right;
            margin-bottom: 10px;
      }

      .nav-wrapper ul:last-child li {
            padding-left: 35px;
      }

    


      .nav-wrapper ul:first-child li:nth-child(1) a {
            transition-delay: 0.2s;
      }

      .nav-wrapper ul:first-child li:nth-child(2) a {
            transition-delay: 0.3s;
      }

      .nav-wrapper ul:first-child li:nth-child(3) a {
            transition-delay: 0.4s;
      }

      .nav-wrapper ul:first-child li:nth-child(4) a {
            transition-delay: 0.5s;
      }

      .nav-wrapper ul:first-child li:nth-child(5) a {
            transition-delay: 0.4s;
      }

      .nav-wrapper ul:first-child li:nth-child(6) a {
            transition-delay: 0.5s;
      }
      

     

    

      .nav-wrapper ul li:not(:first-child) {
            margin-left: 0;
            
      }

      .nav-wrapper ul li a {
            padding: 10px 24px;
            opacity: 0;
            color: #000;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 1.2px;
            transform: translateX(-20px);
            transition: all 0.2s ease;
            
      }



      .nav-btn {
            position: fixed;
            right: 10px;
            top: 10px;
            display: block;
            width: 48px;
            height: 48px;
            cursor: pointer;
            z-index: 9999;
            border-radius: 50%;
        
       
      }

      .nav-btn i {
            display: block;
            width: 20px;
            height: 2px;
            opacity: 100%;
            background: #2E3225  ;
            border-radius: 2px;
            margin-left: 14px;
      }

      .nav-btn i:nth-child(1) {
            margin-top: 16px;
      }

      .nav-btn i:nth-child(2) {
            margin-top: 4px;
            opacity: 1;
      }

      .nav-btn i:nth-child(3) {
            margin-top: 4px;
      }

      .footer-text{
            display: none;
          
      }

      .mobile-logos {
            display: block;;
      }

      .logos{
            display: none;
      }

      .signature{
            display: none;
            
      }

      .mobile-img {
            display: flex;
            margin: auto;
            width: 100%;
      }

      .profil{
            position: relative;
            margin-bottom: 1rem;
            width: 100%;
            box-shadow: none;
      }

    

}

/** Side menu **/

#nav:checked + .nav-btn {
      transform: rotate(45deg);
}

#nav:checked + .nav-btn i {
      background: #000;
      transition: transform 0.2s ease;
}

#nav:checked + .nav-btn i:nth-child(1) {
      transform: translateY(6px) rotate(180deg);
}

#nav:checked + .nav-btn i:nth-child(2) {
      opacity: 0;
}

#nav:checked + .nav-btn i:nth-child(3) {
      transform: translateY(-6px) rotate(90deg);
}

#nav:checked ~ .nav-wrapper {
      z-index: 9990;
      opacity: 1;
      pointer-events: auto;
}

#nav:checked ~ .nav-wrapper ul li a {
      opacity: 1;
      transform: translateX(0);
}

.hidden {
      display: none;
}


/* The Modal (background) */
.modal {
      display: none; /* Hidden by default */
      position: fixed; /* Stay in place */
      z-index: 1; /* Sit on top */
      left: 0;
      top: 0;
      width: 100%; /* Full width */
      height: 100%; /* Full height */
      
      background-color: rgb(0,0,0); /* Fallback color */
      background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    }
    
    /* Modal Content/Box */
    .modal-content {
      background-color: #fefefe;
      margin: 6% auto; /* 15% from the top and centered */
      padding: 40px;
      border: 1px solid #888;
      width: 80%; /* Could be more or less, depending on screen size */
    }
    
    /* The Close Button */
    .close {
      color: #2e3225;
      float: right;
      font-size: 28px;
      font-weight: bold;
    }
    
    .close:hover,
    .close:focus {
      color: black;
      text-decoration: none;
      cursor: pointer;
    }

    form {
        display: flex;
        flex-direction: column;
        padding: 0 1rem 1rem 1rem;
        
    }

    .modal-content h2{
     padding-left: 1rem;
     padding-bottom: 1.5rem;
    }

    form label {
      font-size: 1.2rem;
    }

    form input, form textarea {
      border: 0;
      margin: 0.2rem 2rem 1rem 0;
      padding: 20px 0 20px 10px;
      font-size: 1.2rem;
      outline: none;
      background: #f5f5f5;
      
      
    }

    .name {
      display: flex;
    }

    form button{
      width: 150px;
      margin-top: 2rem;
    }

    #checkbox {
      margin-right: 0.6rem;
      margin-top: 0.4rem;
      align-self: start;
      transform: scale(1.2);
      
    }

   
  /* footer */

  .footer {
      display: flex; 
      flex-direction: column;
      justify-content: center;
      text-align: center;
      background-color: rgb(243, 240, 240);
      width: 100%;
      height: 12%;
      
  }

  .footer-links a {
      font-size: 0.9rem; 
      color: #2E3225;
      text-decoration: underline;
  
      
  }

  .footer-links a:hover {
      cursor: pointer;
  }

