
*{
    box-sizing: border-box;
    font-family: 'Lucida Sans', Geneva, Verdana, sans-serif;
    font-size: 16px;
}
:root{
    
     --blue: #1e90ff;
     --white: #f7eeee;
     --hell: rgb(107, 68, 68);
     --grau:rgb(47, 44, 61);
     --schoko:rgb(70, 51, 36);
     --gesamtbreite:calc(screen.width*0.8);
     --einheit:10vw;
}
body{
    background-color: var(--grau);
    margin: 0;
    padding: 0;
    color:#2b2626;
}
header{
    height: 50px;
}
.container{
    max-width: 960px;
    margin: 0 auto;
    font-size: 24px;
    padding: 25px;
    background: #c1c4d6;
    margin-top: 50px; 
  }
  .parallax{
      background-image: url("../dreiecke/dreibilder/mathebild.jpeg"); 
      background-size: cover;
      background-attachment: fixed;
      height: 340px;
  }
  p{
      font-size: large;
      font-family: Verdana, Geneva, Tahoma, sans-serif;
  }
  ein{
      font-size: x-large;
      margin-top: 40px;
      margin-left: 310px;
  }
  ein2{
    font-size: x-large;
    margin-top: 40px;
    margin-left: 250px;
}
h2{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
@media (max-width:600px){
    .navmobile{   
        display: block;
        background-color: rgb(60, 55, 77);
    }
    .klappmenue{
        position: relative;
        left:74vw;
        top:30px;
        display: block;
        border: 2px solid grey;
    }
    .ham{
        position: absolute;
        right: 0;
        width: 30px;
        border: 2px solid black;
        background-color: rgb(200, 208, 212);
        display: block;
    }
    .klappmenue a{
        display: block;  
        width: 100px;
        border: none;
        padding: 4px;
        box-shadow: none;
    }
    
    .nav1{
        display: none;
     
    }
    #canvas1{
        width: 350px;
        height:auto;
    }
}
@media (max-width:400px){
    #canvas1{
        width: 280px;
        height:auto;
    }
}
.bild{
    width: 60px;
    position: absolute;
    top:10px;
    left:5px;
}
/*==========Navigationsleiste 1 einfach===================*/
.nav1{
    display: flex;
    width: 100%;
    height:4em;
    background-color: rgb(60, 55, 77);
    justify-content: flex-end;
    align-items: center;
    text-align: center;
}
.navmobile{
    width:100%;
    height: 50px;
 
    margin-top: 10px;

}
.ham{
    position: absolute;
    right: 0;
    width: 40px;
    background-color: rgb(200, 208, 212);
    display: none;
}
.klappmenue{
    position: relative;
    top:30px;right:100px;
    display:none;
}
.klappmenue a{  
    width: 100px;
    display:none;
}
a{
    width: 10%;
    color: rgb(216, 207, 207);
    text-decoration: none;
    background-color: rgb(41, 46, 63, 0.5);
    font-size: 0.8rem;
    margin: 0 15px;
    padding:0 10px ;
    border: 1px solid rgb(39, 35, 35);
    box-shadow: 3px 3px 3px  rgb(187, 177, 177);
}
a:hover{
    font-weight: 600;
    color: white;
}
.aktiv{
    border: 1px solid rgb(216, 207, 207);
    border-radius: 4px;
    box-shadow: 3px 3px 3px  rgb(165, 157, 157);
}
a:active{
    color: rgb(151, 138, 138);
    border: 1px solid rgb(216, 207, 207);
    border-radius: 6px;
}