* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-size: cover;
    background-image: url(Pinguin.jpg);/*hintergrundbild*/
   
}

a{
    text-decoration: none;
    
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    background-color: rgb(25, 26, 50);
    justify-content: center;
    align-items: center;
    box-shadow: 0px 14px 32px 3px rgba(25, 26, 50);
    -webkit-box-shadow: 0px 14px 32px 3px rgba(25, 26, 50);
    -moz-box-shadow: 0px 14px 32px 3px rgba(25, 26, 50);
    z-index: 1;
    flex-wrap: wrap;
}

header nav ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}

header nav ul li {
    display: flex;
    align-items: center;
    margin: 5px 15px;
    padding: 12px 20px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

header nav ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

header nav ul li:hover {
    background-color: rgb(10, 13, 119);
    text-decoration: underline;
}
.visited{
    background-color: rgb(10, 13, 119);
}
.Pinguingif{
    height: 53px;
    width: auto;
    margin: 0 10px;
}

.Pinguingif:hover{
    background-color:rgba(25, 26, 50) ;
}

/* Mobile Menu Styles */
.hamburger {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 767px) {
    .hamburger {
        display: block; /* Show on mobile */
        order: 3; /* Move to the right */
    }

    header nav {
        display: none; /* Hide nav by default on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgb(25, 26, 50);
    }

    header nav.nav-open {
        display: block; /* Show nav when open */
    }

    header nav ul {
        flex-direction: column;
        width: 100%;
    }

    header nav ul li {
        width: 100%;
        text-align: center;
        margin: 0;
    }
}


.zentrieren{
    display: flex;
    align-items: center;
    justify-content: center;/*content zentrieren*/
    padding-top: 80px;
}

section.content {/*größe farbe platzierung der gliederung*/
    text-align: center;
    max-width: 80%; /* Make items smaller on mobile */
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff98;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    section.content {
        grid-template-columns: repeat(2, 400px); /* Make items slightly larger on PC */
        justify-content: center; /* Center the grid */
        
    }
    .text{
    font-size: 28px;
   

}
}

figure {
    aspect-ratio: 1 / 1;
    border: white solid;
    background-color: white;
    border-radius: 20px;
    width: 100%;
    height: 85%;
    padding: 10px; /* Added padding to figures */
}
figure:hover{
    border: black solid;/*bei hover border andere farbe*/
}
figure, .Eisscholle{
    border-radius: 30px;/*abgerundete ecken*/
}

.Eisscholle{/*größe der bilder*/
    width: 100%;
    height: auto;
    }
.imgp{/*schriftfarbe, größe,weite von dem untertitel*/
    color: black;
    font-size: 20px;
    text-decoration: none;
    width: 100%;
   
}
.text{
    grid-column: 1 / -1;
    text-decoration: underline;

}


footer {
    text-align: center;
     margin-top: 20px ;
    padding: 10px;
    bottom: 0;
    background-color: white;
}
footer p {
font-size: 18px;
background-color: white;
bottom: 0;
}
section.PinguinPate {/* größe des bereiches in dem das formular ist*/
    
    max-width: 95%;
    
    margin:100px auto 20px auto;
    background-color: #d8d5d5cc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

section.PinguinPate .Pinguin-content {/*platzierung*/
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

section.PinguinPate img {
    width: 150px;
    height: auto;
    margin: 20px; /* Abstand zwischen Bild und Text */
}


.togglebuttons { /*platzierung und abstand*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 10px;
}

.togglebuttons label {/* style der einzelnen möglichkeiten*/
    cursor: pointer;
    display: block;
    color: #333;
    border-radius: 20px;
    padding: 12px 20px;
    background: #efefef;
    border: 1px solid #e0e0e0;
    font-size: clamp(1rem, 4vw, 1.5rem);
   
}

.togglebuttons label:hover {
    background: #ddd;
}

.togglebuttons input:checked + label {/*wenn ausgewählt blau*/
    background: #0193c2;
    border: 1px solid #0193c2;
    color: #ffffff;
    font-weight: bold;
}
.input1{
    display: none;
}
h1{
    top:0;
    font-size: clamp(2rem, 8vw, 3rem);
    color: rgb(25, 87, 0);
    text-align: center;
}
form{ /* größe formular*/
    width: 100%;
}
.pform{/*schriftgröße im formular*/
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    text-align: center;
}
.number{/*style letztes feld*/
    border: none;
    font-size: clamp(1rem, 4vw, 1.2rem);
    width: 80px;
    background-color: transparent;
    padding: 5px;
    text-align: center;
}

.custom-amount-label {
    padding-right: 5px !important;
}

input[type="radio"]:checked + .custom-amount-label {
    color: #fff;
}

input[type="radio"]:checked + .custom-amount-label .number {
    background-color: transparent;
    color: #fff;
    border-bottom: 1px solid #fff;
}

/* Remove number input arrows */
.number::-webkit-outer-spin-button,
.number::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.number[type=number] {
  appearance: textfield;
  -moz-appearance: textfield;
}



/*style submit button*/
.togglebuttons .classbutton{
    background: #2ea44f;
    border: none;
    box-shadow: none;
    width: 100%;
}
.togglebuttons .classbutton:hover{
    background: #2c974b;
}
/*style submit button*/
.button2 {
   
    background-color: #2ea44f;
    color: white;
     cursor: pointer;
    font-size: clamp(1rem, 4vw, 1.4rem);
    font-weight: 600;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 20px;
    
 }
 .button2:hover {
    background-color: #2c974b;
  }