nav,
main,
/* article,
aside, */
footer {
  border-radius: 0.5em 0.5em 0.5em;
  border: 1px solid;
  padding: 10px;
  margin: 10px;
}

/*-------------------------------------------- Allgemeinerbereich---------------------------*/

body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 110px 1fr 100px;
  grid-template-areas: "nav nav nav nav" "main main main main" "footer footer footer footer";
  height: 100vh;
  margin: 5px;
  padding: 5px;
}

/*---------------------------------------- navbar ----------------------------------------*/

nav {
  grid-area: nav;
  background: #153009;
  border-color: #e7c157;
  display: flex;
  float: left;
  justify-content: center;
  align-items: center;
  left: 0;
  right: 0;
  top: 0;
}

.logo {
  margin-left: 0;
  margin-right: auto;
}

.logo img {
  width: 240px;
  height: 60px;
}

.links {
  float: right;
  padding: 0;
  margin-right: 5%;
  width: 30%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.links a,
#copyright {
  color: #cbb26a;
  font-size: 20px;
  font-weight: bold;
}

ul {
  text-decoration: none;
  list-style: none;
  margin-right: 0;
}

nav li {
  display: inline;
  list-style-type: none;
}

nav a,
footer a,
aside a {
  text-decoration: none;
  padding: 4px 8px;
}

#nav-toggle {
  position: absolute;
  top: -100px;
}
nav .icon-burger {
  display: none;
  position: absolute;
  right: 5%;
  top: 55px;
  transform: translateY(-50%);
}
nav .icon-burger .line {
  width: 30px;
  height: 5px;
  background-color: #cbb26a;
  margin: 5px;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/*---------------------------------------------- footer ---------------------------------------*/
footer {
  grid-area: footer;
  background: #153009;
  border-color: #e7c157;
  display: flex;
  float: right;
  justify-content: center;
  align-items: center;
}

footer .links {
  margin-left: 5%;
  margin-right: auto;
  width: 20%;
  height: 100%;
}
footer li {
  display: inline;
  list-style-type: none;
}

#copyright {
  margin-right: 5%;
  margin-left: auto;
}
/*---------------------------------------main--------------------------------------*/

main {
  grid-area: main;
  background-image: url(https://taschenuhr-herren.de/cdn/shop/articles/Taschenuhr_f59a2c39-9fb4-42aa-8da6-c8ff0bda67ff_1200x1200.jpg?v=1655577757);
  background-repeat: no-repeat;
  background-size: cover;
width: 98%;
  margin: 0 auto;
  padding: 10px;
  border-radius: 5px;
  overflow-y: auto;
/*   opacity: 0.6; */

}

#container  {

      margin: 0 10%;
      padding: 10px;
      width: 600px;
      background-color: #fff;
      opacity: 0.8;


}

h1,
h2,
h3,
p,
aside,
li {
  color:    #153009; 
  font-weight: bold;
  font-size: 18px;
}

h1 {
  font-size: 27px;
}

aside {
  height: auto;
}

#preismod {
  text-align: center;
  font-size: 45px;
}
.price {
  color: #cbb26a;
  font-size: 27px;
  text-align: center;
  border: 1px solid #cbb26a;
  background-color: #153009;
  margin: 5px;
}

.price_p {
  box-sizing: border-box;
  color: #153009;
  padding: 5px;
  margin: 5px;
  border: 5px solid #cbb26a;
  border-radius: 50px;
  font-weight: bold;
  font-size: 27px;
  text-align: center;
}

.price_p li {
  text-align: start;
  margin-left: 15%;
  padding: 5px;
  font-size: 25px;
}

/*------------------------------------------- mobile --------------------------------------------*/
@media screen and (max-width: 900px) {
  nav {
    width: 95%;
    margin: 0;
  }
  nav .logo {
    float: none;
    width: auto;
    justify-content: center;
  }
  nav .links {
    float: none;
    position: fixed;
    z-index: 9;
    left: 0;
    right: 0;
    top: 110px;
    bottom: 100%;
    width: auto;
    height: auto;
    flex-direction: column;
    justify-content: space-evently;
    background-color: #153009;
    opacity: 0.9;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    font-family: "Montserrat", sans-serif;
    margin: 2%;
  }
  nav .links a {
    font-size: 27px;
    color: #cbb26a;
  }
  nav .icon-burger {
    display: block;
  }
  nav :checked ~ .links {
    bottom: 0;
  }
  nav :checked ~ .icon-burger .line:nth-chiild(1) {
    transform: translateY(10px) rotate(225);
  }

  nav :checked ~ .icon-burger .line:nth-chiild(3) {
    transform: translateY(-10px) rotate(-225);
  }

  nav :checked ~ .icon-burger .line:nth-chiild(2) {
    opacity: 0.2;
  }

  footer .links a,
  #copyright {
    font-size: 14px;
    margin-left: 5%;

  }

  #copyright {
    margin-right: 0;

  }

  footer {
 
    width: 95%;
    margin: 0;

  }

 #footli{
    box-sizing: border-box;
    padding: 5px;
    margin-left: 50px;
    justify-content: center;
    text-align: center;
 
  }

  #container  {

    margin: 0 5%;
    padding: 5px;
    width: 300px;
    background-color: #fff;
    opacity: 0.8;


}
  main {
    grid-area: main;
    background-image: url(../images/taschenuhrgoldmobil.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 95%;
    margin: 5px  auto;
  }
  h1,
  h2,
  h3,
  p,
  aside,
  li {
    color: #153009;
  }
  p {
    font-weight: bold;
    font-size: 18px;
  }

  .price_p li {
    text-align: start;
    margin-left: 5%;
    padding: 5px;
    font-size: 15px;
  }
}
