@font-face {
  font-family: Raleway;
  src: url(../fonts/Raleway-VariableFont_wght.ttf);
}

.custom-cursor {
  cursor: url('../img/icons/mauszeiger.svg'), default !important;
}
.custom-cursor-pointer{
  cursor: url('../img/icons/Cursormaus.png'), pointer !important;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"] + label {
  cursor: pointer;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(../img/icons/checkboxempty.png);
  background-size: cover;
  background-position: center;
}

input[type="checkbox"]:checked + label {
  background-image: url(../img/icons/checkboxchecked.png);
  width: 20px;
  height: 20px;
}

h2 {
  display: inline-block;
  position: relative;
  font-size: 24px;
  color: rgba(0 ,0 ,0, 1);
}

h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 5%;
  right: 5%;
  height: 2px;
  background-color: rgb(0, 0, 0, 0.2);
  width: 0;
  transition: width 0.5s ease;
}

section:hover h2::after {
  width: 90%;
}
.boxstyle:hover h2::after {
  width: 90%;
}
  
  

body {
  margin: 0px;
  font-family: "Raleway";
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 16px;
 
}

main {
  flex-grow: 1;
  margin-left: auto;
  margin-right: auto;
  max-width: 1920px;
}

button {
  background-color: #008000;
  border: none;
  border-radius: 2px;
  color: white;
  font-size: 16px;
  padding: 8px 32px;
}

button:hover {
  cursor: pointer;
  text-decoration: underline;
  font-weight: 700;
  box-shadow: 1px 1px 10px gray;
}

button a {
  color: white;
  text-decoration: none;
}

button a:hover {
  text-decoration: underline;
  font-weight: 700;
}
  

.gray_bg {
  background-color: #EFEFEF;
}

h1{
  font-size: 2em;
}

.img-mainpage {
  width: 500px;
  height: 300px;
  border-radius: 8px;
  object-fit: cover;
}
  
.img-mainpage-small {
  width: 250px;
  border-radius: 8px;
  height: 250px;
  object-fit: cover;
  transition: transform .2s;
}
.img-mainpage-small:hover {
  box-shadow: 0px 0px 3px #008000;
  transform: scale(1.21);
}
  
.img-recipe {
  border-radius: 8px;
}
  
section {
  padding: 0px 124px;
}
  
.slider-container {
    overflow: hidden;
    width: 100%;
    height: 300px;
    background-color: white;
    position: relative;
}
  
.slider-recipe {
  width: 100%;
  height: 100%;
  display: flex;
  object-fit: cover;
  position: absolute;
  transition: transform 125ms ease-in-out;
}
  
.recipe-of-the-day {
  height: 300px;
  display: flex;
  justify-content: center;
  padding-top: 15vh;
  padding-bottom: 100px;
}
  
.img-mainpage {
  margin-right: 40px;
  align-items: center;
}
  
.reciep-slider-box h2 {
  margin-top: 0;
}


.recipe-new {
  text-align: center;
}
  
.recipe-new h2 {
 margin: 40px 0px;
}
  
.images-middle {
  display: flex;
  justify-content: space-around;
}
  
.images-middle h3 {
  margin: 0;
  padding-bottom: 80px;
}
  
.kitchen-news {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 100px;
}
  
.kitchen-news h2 {
  margin: 40px 0px;
  justify-content: center;
}
  
.wok {
  display: flex;
  justify-content: space-between;
}
.wok p {
  margin: 0;
}

.wok img {
  margin-left: 100px;
}

.box {
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-sizing: border-box;
}

#box1 {
  display: flex;
}

@media(max-width: 1250px){
  .slider-container{
    height: 400px;
  }
  .recipe-of-the-day {
    height: 400px;
  }
  .reciep-slider-box p {
    font-size: 16px;
  }
  .reciep-slider-box button {
    font-size: 16px;
  }
  .recipe-new h2 {
    font-size: 20px;
  }
  .images-middle h3{
    font-size: 18px;
  }
  .kitchen-news h2 {
    font-size: 20px;
  }
  .wok {
    font-size: 16px;
  }
}

@media(max-width: 1100px){
  .slider-container{
    height: 360px;
  }
  .recipe-of-the-day {
    height: 360px;
  }
  .img-mainpage {
    width: 400px;
    height: 250px;
    border-radius: 6px;
  }
  .reciep-slider-box p {
    font-size: 16px;
  }
  .reciep-slider-box button {
    font-size: 16px;
  }
  .recipe-new h2 {
    font-size: 18px;
  }
  .images-middle h3{
    font-size: 16px;
  }
  .kitchen-news h2 {
    font-size: 18px;
  }
}

@media(max-width: 1050px){
  .slider-container{
    height: 300px;
  }
  .recipe-of-the-day {
    height: 300px;
  }
  .img-mainpage-small {
    width: 200px;
    border-radius: 6px;
    height: 200px;
  }
  .hideOnMobile-br{
    display: none;
  }
}

@media(max-width: 906px){
  section{
    padding: 0 62px;
  }
  .slider-container{
    height: 470px;
  }
  .recipe-of-the-day {
    height: 470px;
    padding-bottom: 60px;
  }
  .slider-recipe {
    flex-direction: column;
    align-items: center;
  }
  .hideOnMobile-br{
    display: none;
  }
  .h2-ctn{
    display: flex;
    justify-content: center;
  }
  .reciep-slider-box h2{
    padding-top: 10px;
    text-align: center;
  }
  .reciep-slider-box button {
    position: relative;
    left: 33%;
  }
  .recipe-of-the-day {
    padding-top: 15vh;
  }
  .img-mainpage-small{
    width: 400px;
  }
  .images-middle {
    flex-direction: column;
  }
  .images-middle h3 {
    padding-bottom: 28px;
  }
  .wok {
    font-size: 16px;
  }
  .wok img{
    height: 300px;
    
  }
}

@media(max-width: 850px){
  .wok {
    flex-direction: column-reverse;
    justify-content: center;
  }
  .wok img {
    margin: auto;
  }
  .wok p {
    padding-top: 10px;
  }
}

@media(max-width: 710px){
  section{
    padding: 0 16px;
  }
  .recipe-of-the-day {
    height: 420px;
    padding-bottom: 40px;
  }
  .slider-container{
    height: 420px;
  }
  .img-mainpage {
    width: 400px;
    height: 200px;
    margin: auto;
  }
}

@media(max-width: 580px){
  .img-mainpage {
    width: 400px;
    height: 300px;
    margin: auto;
  }
  .recipe-of-the-day {
    height: 520px;
  }
  .slider-container{
    height: 520px;
  }
  .reciep-slider-box button {
    position: relative;
    left: 33%;
    padding: 6px 16px;
  }
}

@media(max-width: 450px){
  .recipe-of-the-day {
    height: 500px;
  }
  .slider-container{
    height: 500px;
  }
  .reciep-slider-box button {
    left: 33%;
  }
  .img-mainpage {
    width: 220px;
    height: 220px;
    margin: auto;
  }
  .img-mainpage-small {
    width: 260px;
    border-radius: 4px;
    height: 260px;
  }
  .reciep-slider-box h2 {
    font-size: 16px;
  }
  .reciep-slider-box p {
    font-size: 16px;
  }
  .reciep-slider-box button {
    font-size: 16px;
  }
  .recipe-new h2 {
    font-size: 16px;
  }
  .images-middle h3{
    font-size: 16px;
  }
  .kitchen-news h2 {
    font-size: 16px;
  }
  .wok {
    font-size: 16px;
  }
}

@media(max-width: 400px){
  .reciep-slider-box button {
    left: 25%;
  }
}

@media screen and (max-width: 900px) {
  #recipe-2{
    display: none;
  }
  #recipe-3{
    display: none;
}
}