html{
    font-family: Arial, Helvetica, sans-serif;
}

body{
      margin: 0;
}

.hidden{
    display: none;
}

#back-btn{
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 20px;
    background: none;
    text-decoration: none;
    background: darkred;
    z-index: 9999;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}



#back-btn span{
    font-size: 1.4em;
}

#page{
    
    text-align: center;
    height: calc(100vh - 20px);
padding: 10px;
}

.header{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    height: 25%;
}

.image{
    display: flex;
    flex-direction: column;
    width: 25%;
    font-size: 2vw;
    margin-right: 40px;
    height: 100%;
}

.image img{
    max-width: 100%;
    
    height: 100%;
    object-fit: contain;
}

#site-title{
    font-size: 4.7vw;
    margin-bottom: 10px;
}

.title{
    width: calc(75% - 40px);
}

.title h1{
    margin-top: 0px;
}

.title h2{
    font-size: 4.7vw;
    font-weight: 400;
    margin-top: 0px;
    margin-bottom: 10px;
}

.map-container{
    position: relative;
}

#map-legend{
    position: absolute;
    bottom: 40px;
    right: 0px;
    z-index: 9000;
}

.legend-entry{
    color: #fff;
    padding: 8px 4px;
}

#main{
/*    padding-bottom: 40px;*/
   
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
   
}

.erntegruppe{
    border: 10px solid #000;
    width: calc(20% - 40px);
      aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10vw;
    color: #000;
    text-decoration: none;
    margin-right: 20px;
    margin-bottom: 20px;
}

.feld{
    border: 10px solid #000;
    width: calc(25% - 40px);
      aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10vw;
    color: #000;
    text-decoration: none;
     margin-right: 20px;
    margin-bottom: 20px;
}

.sorte{
    border: 10px solid #000;
   height: 35vh;
      aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 2.9vw;
    color: #000;
    text-decoration: none;
     margin-right: 20px;
    margin-bottom: 20px;
    font-weight: bold;

}

.sorte img{
    max-height: 50%;
    margin-bottom: 20px;
    
}

.sorte-container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.menge{
     border: 10px solid #000;
    width: calc(25% - 40px);
      aspect-ratio: 1 / 1;
    display: flex;
   flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 3.5vw;
    color: #000;
    text-decoration: none;
     margin-right: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

.menge span{
    font-size: 3vw;
    font-weight: normal;
}

.gebinde-art{
    width: 100%;
    display: flex;
    margin-bottom: 20px;
    height: calc(25vh - 20px);
}

.gebinde-art:last-child{
    margin-bottom: 0px;
}

.gebinde-box{
     border: 4px solid #000;
    width: 20%;
    padding: 20px;
}



.gebinde-box img{
   height: 90%;
    max-width: 100%;
    padding-top: 10px;
    object-fit: contain;
}

.gebinde-name{
    font-weight: bold;
    font-size: 1.5vw;
    height: 14%;
}

.gebinde-img{
    height: 86%;
}

.menge-box{
    width: 80%;
    display: flex;
    padding-left: 20px;
}



.menge-box a.menge{
     margin-bottom: 0px;
    font-size: 2.5vw;
    aspect-ratio: auto;
    
}

@media(min-width: 3000px){
    .menge-box a.menge{
  
    font-size: 1.8vw;

    
}
}

.menge-box a.menge:last-child{
    margin-right: 0px;
}

.menge-box a.menge span{
    font-size: 2vw;
}

.confirm-container{
    display: flex;
    justify-content: space-between;
}

.data{
width: 100%;
    display: flex;
   
}

.confirm{
    width: calc(25% - 20px);
    display: flex;
}

.data{
     
    align-items: flex-start;
    flex-direction: column;
}

.confirm-title{
    font-size: 3vw;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
}

#number{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 60px;
    padding-top: 5px;
}

.data-box{
    display: flex;
    justify-content: space-between;
    width: 100%;
    
}

.data-title, .data-value{
    padding: 20px;
    border: 2px solid #000;
    margin-bottom: 20px;
    margin-right: 20px;
    font-size: 3vw;
}

.data-title{
      width: calc(30% - 20px);
}

.data-value{
      width: 70%;
    margin-right: 0px;
}

.confirm-title{
    margin-bottom: 20px;
}

.confirm-btn{
     padding: 50px 20px;
    border: 2px solid #000;
    width:  calc(50% - 80px);
    margin-right: 50px;
    font-size: 5vw;
    color: #000;
    text-decoration: none;
}

.confirm-btn:last-child{
    margin-right: 0px;
}

.data-box-container{
    width: 100%;
    height: 50vh;
}

#printPage{
    padding-top: 40px;
  
}

.print-title{
    font-size: 3vw;
    font-weight: bold;
    margin-bottom: 20px;
}

#amount-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amount-box{

    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(30vh - 20px);
    min-height: 20vh;
    font-size: 3vw;
    font-weight: bold;
    margin-right: 20px;
}

.amount-input input{
    font-size: 4vw;
    border: none;
    background: none;
    text-align: right;
    font-weight: bold;
      width: calc(20vw - 20px);
}

.amount-input{
    border-bottom: 4px solid #000;
    position: relative;
     width: calc(20vw - 20px);
    margin-right: 20px;
}

.amount-input:before{
    content: '';
    position: absolute;
    width: 4;
    height: 10px;
    background: #000;
    bottom: 0;
    left: 0;
}

.amount-input:after{
    content: '';
    position: absolute;
    width: 4;
    height: 10px;
    background: #000;
    bottom: 0;
    right: 0;
}

.amount-submit{
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(50vw);
    border: solid 10px #000;
    min-height: 20vh;
    font-size: 3vw;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}