/*=================================================== Large Product 01 721 above ===================================================     */
body {
  margin-bottom: 0;
}

#main {
  display: grid;
  grid-template-columns: 30% 75%;
  margin: auto;
  width: 1300px;
  height: 1200px;
}

#card {
  margin: auto;
  margin-top: 20px;
}

#container {
  padding-top: 25px;
  width: 90%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2%;
  height: 97%;
  margin-left: 5%;
  text-align: center;
  margin-bottom: 100px;
}

#catergories {
  margin-top: 40px;
  height: 50%;

}
    #heading{
            width:100%;
            height:350px;
           background-image: url(https://hdqwalls.com/wallpapers/raspberry-good-fruit-plant-4k-um.jpg);
           background-size: cover;
             background-attachment: fixed;
  /* Center the background image */
  background-position: center;
  /* Set the background image to no repeat */
  background-repeat: no-repeat;
  /* Scale the background image to be as large as possible */
  background-size: cover;
  color: white;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  text-align: center;
        }

#heading > h1 {
  padding-top: 80px;
}

#product-img {
  margin: auto;
  width: 90%;
  border-radius: 5%;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  transition: 0.2s ease-out;
  cursor: pointer;
}

#product-img:hover {
  transform: translateY(20px);
}

h2 {
  transition: 0.5s;
  font-weight: bold;
}

h2:hover {
  color: forestgreen;
  cursor: pointer;
}

#sort {
  margin: auto;
  background-color: khaki;
  width: 1500px;
  height: 90px;
}
#product{
  text-align: center;
}
.button-anmt1{
  margin-left: 100px;
  margin-top: 30px;
  width: 200px;
  height: 50px;
  font-size: 2rem;
  border-radius: 20px;
  color: white;
  background-color: rgb(255, 0, 68);
  border: none;
  box-shadow: inset 0 0 0 #f9e506;
  transition: ease-in-out 0.3s;
  outline: none;
}
#page-flex{
  margin-top :200px;
}
#page{
  margin-left:50%;
  margin-bottom: 30px;
  margin-top: 0;
  font-size: 20px;

  border-radius: 50%;
  color: white;
  background-color: rgb(255, 0, 68);
  border: none;
  box-shadow: inset 0 0 0 #f9e506;
  transition: ease-in-out 0.3s;
  outline: none;
}
.button-anmt {

  width: 200px;
  height: 50px;
  font-size: 2rem;
  border-radius: 20px;
  color: white;
  background-color: rgb(255, 0, 68);
  border: none;
  box-shadow: inset 0 0 0 #f9e506;
  transition: ease-in-out 0.3s;
  outline: none;
}

.button-anmt:hover,#page:hover {
  box-shadow: inset 200px 0 0 #f9e506;
  cursor: pointer;
  color: black;
}

#page_btn {
  margin-left: 50%;
  margin-top: 25px;
  font-size: 20px;
}

#page_btn > a {
  display: inline-flex;
  width: 60px;
  height: 60px;
  color: black;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  border: none;
  text-decoration: none;
  transition: background 0.4s;
}

.prod_1 {
  background-color: #8ec038;
}

.prod_2 {
  background-color: #f3f5ed;
}

.rounded_button {
  background-color: #f3f5ed;
}

#page_btn > a:hover {
  background-color: black;
  color: white;
}

h3 {
  font-size: 25px;
  color: tomato;
}
/* ------Sorte--------- */
#sorted {
  display: flex;
  justify-content: space-between;
  width: 55%;
  margin-bottom: 5px;
  margin-top: 20px;
  position: relative;
  float: right;
  height: 70px;
  border-radius: 30px;
  background-color: transparent;
}
#sorted > p {
margin:100px,0px,100px,0px;
  font-size: 15px;
}
select {
margin-right: 100px;
  width: 200px;
  height: 69px;
  border-radius: 30px;
  font-size: 15px;
  padding: 5px;
}
select:hover{
  color: tomato;
}

/* --------------------------------------------------SMALL screen = PRoduct 01 (0 to 320) ------------------------------------------------------*/

@media only screen and (min-width: 0px) and (max-width: 320px) {
  body {
    width: 321px;
  }

  #card {
    font-size: 17px;
    width: 150px;
    height: 40px;
    margin-top: 10px;
    margin-left: 4%;
  }

  #container {
    width: 10px;
    margin-top: 45px;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(6, 1fr);
    margin-left: 7%;
  }
  #container > div {
    width: 250px;
    height: 550px;
    margin-bottom: 0px;
  }
  #heading {
    width: 100%;
    height: 150px;
  }

  #heading > h1 {
    padding-top: 50px;
  }

  #product-img {
    border-radius: 5%;
  }

  .button-anmt {
    margin-left: 0px;
    font-size: 1.3rem;
    border-radius: 50px;
  }

  h3 {
    font-size: 30px;
    color: tomato;
  }
  /* ------Sorte--------- */
  #sorted {
    display: flex;
    justify-content: space-between;
    width: 80%;
    height: 10px;
    margin-bottom: 5px;
    margin-top: 10px;
    margin-right: 50px;
    position: relative;
    float: right;
    height: 45px;
    border-radius: 30px;
    background-color: lightgray;
  }
  #price_sort {
    height: 45px;
  }
  #sorted > p {
    margin-left: 10px;
    margin-top: 8px;
    font-size: 14px;
    text-align: center;
  }
  select {
    width: 200px;
    height: 69px;
    border-radius: 30px;
    font-size: 15px;
  }
}

/*--------------------------------------------------- MEDIUM SCREEN for product 01 = 321 to 721 ----------------------------------------------*/

@media only screen and (min-width: 321px) and (max-width: 720px) {
  body {
    width: 100%;
  }
  #card {
    font-size: 20px;
    width: 150px;
    height: 40px;
    margin-top: 10px;
    margin-left: 3%;
  }
  #container {
    padding: 1%;
    /* background-color: violet; */
    width: 88%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    row-gap: 1%;
  }
  #container > div {
    /* background-color: wheat; */
    width: 270px;
    height: 550px;
  }
  #heading {
    width: 100%;
    height: 150px;
  }
  #heading > h1 {
    padding-top: 50px;
  }
  #product-img {
    border-radius: 5%;
  }

  .button-anmt {
    margin-left: 0px;
    font-size: 1.3rem;
    border-radius: 50px;
  }
  h3 {
    font-size: 25px;
    color: tomato;
  }
  /* ------Sorte--------- */
  #sorted {
    display: flex;
    justify-content: space-between;
    width: 55%;
    height: 45px;
    margin-bottom: 5px;
    margin-top: 10px;
    position: relative;
    float: right;
    height: 45px;
    border-radius: 30px;
    background-color: lightgray;
  }
  #price_sort {
    height: 45px;
  }
  #sorted > p {
    margin-left: 10px;
    margin-top: 13px;
    font-size: 15px;
  }
  select {
    width: 200px;
    height: 69px;
    border-radius: 30px;
    font-size: 15px;
  }
}
