  /* over all */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #0200a6;
}

section {
  margin-top: 5rem;
}

#top {
  margin-top: 3rem;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #0200a6;
  color: #f2ce05;
  cursor: pointer;
  padding: 10px;
  border-radius: 100%;
  border-color: #f2ce05;
  border: 2px solid #f2ce05;
  width: 50px;
  height: 50px;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: none;
  float: right;
}

li {
  float: right;
  margin-top: 1.5rem;
}


  /* text */
p {
  font-family: Overpass;
  font-style: normal;
  font-weight: normal;
  font-size: 1.4rem;
  color: #f2ce05;
  margin-top: 0.5rem;
}

h1 {
  font-family: Overpass;
  font-style: normal;
  font-weight: 800;
  font-size: 3rem;
  color: #f2ce05;
  text-shadow: 0px 4px 10px rgba(15, 15, 15, 0.3);
  text-align: center;
}

h2 {
  font-family: Overpass;
  font-style: normal;
  font-weight: 800;
  font-size: 3rem;
  color: #f2ce05;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

h3 {
  font-family: Overpass;
  font-style: normal;
  font-weight: bold;
  font-size: 2.3rem;
  color: #f2ce05;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

h4 {
  font-family: Overpass;
  font-style: normal;
  font-weight: bold;
  font-size: 1.9rem;
  margin-top: 2rem;
  color: #f2ce05;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

h5 {
  font-family: Overpass;
  font-style: normal;
  font-weight: 800;
  font-size: 15rem;
  color: #f2ce05;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  text-align: right;
}

h6 {
  font-family: Overpass;
  font-style: normal;
  font-weight: 800;
  font-size: 3rem;
  color: #0200a6;
  text-shadow: 0px 4px 10px rgba(15, 15, 15, 0.3);
  display: flex;
  justify-content: center;
      text-align: center;
  margin-top: 4rem;
}

.btn-outline {border-color: #f2ce05}
.aufzaehlung {
  text-align: left;
  font-family: Overpass;
  font-style: normal;
  font-weight: normal;
  font-size: 1.4rem;
  color: #f2ce05;
}

a {
    font-size: 1.4rem;
    text-decoration: none;
    background-color: transparent;
    border-color: transparent;
}

.zitat {
    font-style: italic;
    letter-spacing: 0.1rem;
    text-align: center;
}



  /* gestaltgesetze pagination */
.page-link{
  font-family: Overpass;
  font-style: normal;
  font-weight: 600;
  font-size: 2.2rem;
  color: #f2ce05!important;
  background-color: #0200a6;
  cursor: pointer;
  padding: 1px;
  border-radius: 100%;
  border: 2px solid #f2ce05;
  width: 50px;
  height: 50px;
}

.page-link:hover{
  background-color: #f2ce05;
  border: 2px solid #0200a6;
color: #0200a6!important;
}

.page-item{
 float: none;
}

.pagination {
    padding-left: 1px;
    z-index: 2;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    right: 30px;
    top: 105px;
    bottom: 105px;
}

.strich{
    	fill:none;
        stroke:#F2CE05;
        stroke-width:3;
        stroke-miterlimit:10;
}


 
  /* header */
#menu {
  scroll-margin-top: 200px;
}

.logo {
  width: 100%;
}



/* menue */
.masthead {
  min-height: 100vh;
  background-color: #0200a6;
  background-size: cover;
}

li a,
.dropbtn {
  display: inline-block;
  color: #f2ce05;
  text-align: center;
  padding: 14px 70px;
  text-decoration: none;
  font-family: Overpass;
  font-size: 1.4rem;
}

li a:hover,
.dropdown:hover .dropbtn {
  background-color: none;
  text-decoration: underline;
  color: #f2ce05;
}

li.dropdown {
  display: inline-block;
  position: static;
}

.dropdown-content {
  font-family: Overpass;
  display: none;
  position: absolute;
  background-color: #0200a6;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  margin-left: 3rem;
}

.dropdown-content-sidebar {
  font-family: Overpass;
  display: none;
  position: absolute;
  background-color: #0F0F0F;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  margin-left: 3rem;
}

.dropdown-content a {
  color: #f2ce05;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-family: Overpass;
  font-size: 1.4rem;
}

.dropdown-content a:hover {
  text-decoration: underline;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropdown-content-sidebar {
  display: block;
}

.menuesidebar{
    left:0;
}



  /* seite startseite */
.video {
 margin-top: -2rem;
}

.pb-5, .py-5 {
    padding-bottom: 3rem!important;
}



/* seite gestaltgesetze */
.gesetze {
  width: 100%;
}

img-gesetz {
  width: 200px;
}



/* seite icon */
.icon {
  width: 50%;
  display: block;
  margin-left: auto;
    margin-right: auto;
}



  /* seite kontrast */
.kontrast {
  width: 100%;
}



/* tabellen*/
table,
td,
th {
    background-color: #f2ce05;
	border: 2px solid #0200a6;
    color: #0200a6;
	size: 1.4rem;
	font-family:overpass;
}
th, td {padding-left:2rem;}

table {
  border-collapse: collapse;
}

table {
  width: 100%;
}

td, th {
  height: 35px;
}



  /* sidebar */
.openbtn {
  font-size: 2rem;
  cursor: pointer;
  background-color: transparent;
  color: #f2ce05;
  padding: 10px 12px;
  border: none;
  margin-top: 1.18rem;
}

.openbtnposition {
    text-align: right;
}

.sidepanel  {
  width: 0;
  position: fixed;
  z-index: 3;
  height: 100%;
  top: 0;
  right: 0;
  background-color: #0F0F0F;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidepanel a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 1.4rem;
  color: #f2ce05;
  display: block;
  transition: 0.3s;
}

.sidepanel .closebtn {
  position: absolute;
  top: 0;
  right: 30px;
  font-size: 3rem;
  margin-top: 0.5rem;
}

.logosidebar {
      width: 60%;
}

.instagramsidebar {
 text-align: left;
 padding: 1rem;
 width: 20%;
 margin-top: -4rem;  
}



/* footer */
.logofooter {
  width: 40%;
  margin-top: 3rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.smcontent {
  text-align: center;
}

.smfooter {
  width: 6%;
  margin-left: 0.2rem;
  margin-right: 0.2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.quellen {
  font-family: Overpass;
  font-style: normal;
  font-weight: 800;
  font-size: 0.8rem;
  color: #0200a6;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.copyright {
  font-family: Overpass;
  font-style: normal;
  font-weight: normal;
  font-size: 0.8rem;
  color: #0200a6;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}



  /* responsive */   
@media screen and (max-width: 770px) {
 
    p {
        font-size: 1.2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1 {
        font-size: 2.1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h2 {
        font-size: 2rem;
        padding-top: 3rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h3 {
        font-size: 1.8rem;        
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h4 {
        font-size: 1.6rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h5 {
        font-size: 12rem;
        text-align: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h6 {
        font-size: 2.1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
 
    ul.topnav li.right,
    ul.topnav li {
        float: none;
  }
    .logo {
        width: 65%;
  }

    .smfooter {
        width: 10%;
    }
    
    .pagination {
        display:none;
    }
    
    li {
        float: left;
        margin-top: -1rem;
    }
    
    .btn-outline {
        border-color: #f2ce05;
    }
    
    .aufzaehlung {
        font-size: 1.2rem;
    }
    
    a{
        font-size: 1.2rem;
    }
    
    li a,
    .dropbtn {
        font-size: 1.2rem;
    }
    
   .textsidebar {
        margin-left: 2rem!important;
        margin-right: 2rem!important;
    }
}

    

@media (min-width: 771px) and (max-width: 992px) {
   .logo {
        width: 40%;
    }
    
    .openbtn {
      font-size: 2rem;
      cursor: pointer;
      background-color: transparent;
      color: #f2ce05;
      border: none;
      margin-top: 1.18rem;
    }

    .openbtnposition {
      text-align: right;
    }

    .pagination {
        margin-right: 0.8rem;
    }
    .page-link{
      font-size: 1.2rem!important;
      color: #f2ce05!important;
      background-color: #0200a6;
      cursor: pointer;
      padding: 1px;
      border-radius: 100%;
      border: 2px solid #f2ce05;
      width: 30px;
      height: 30px;
    }
    
    .page-item{
        margin-top: 1.5rem;
    }
}



@media (min-width: 992px) {
    h1 {
      display: none;
    }
}
 


@media (max-width: 991px) {
    .menueoben {
       display: none;
    }
    
    li {
       float: left;
       margin-top: -1rem;
    }
}



@media (min-width: 992px){
    .menuesidebar {
        display: none;
    }
}