/*@import url("/style/header.css");*/

body {
    background-color: #287d45;
    font-family: Arial, Helvetica, sans-serif;

    h1 {
      color: #e5e5e5;
      text-align: center;
      padding: 12px;
      margin: 20px;
      text-decoration: none;
      font-size: 18px;
      line-height: 25px;
    }

    div {
      border-radius: 10px;
    }

    section {
      border-radius: 20px;
      justify-content: center;
      display: flex;
      box-shadow: #c5c5c5;
      float: left;
    }
}

.margin {
  margin: 1%;
}

.book {
  border-radius: 10px;
  width: 200px;
  height: 320px;
}

.center {
  justify-content: center;
}

.header {
  position: sticky;
  top: 1%;
  margin-left: 1%;
  margin-right: 1%;
  justify-content: space-evenly;
  display: flex;
  overflow: hidden;
  background-color: #f1f1f1;
  text-align: center;
  max-height: 200px;
  box-shadow: 0 2px 4px 0 rgba(48,49,51,0.8);
}

/* Style the header links */
.header a, .header-button {
  float: left;
  /* color: #73be1a; */
  color: #527F5C;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
  margin-right: 10px;
}

/* Change the background color on mouse-over */
.header a:hover, .header-button:hover {
  background-color: #ddd;
  /* color: #73be1a; */
  /* color: #228b22; */
  /* color: #527F5C; */
  color: #287d45;
  outline: 2px solid #0075d4;
  outline-offset: 4px;
}

/* Style the active/current link*/
.header-button.active {
  background-color: dodgerblue;
  color: white;
}

/* Float the link section to the right */
.header-right {
  float: right;
  align-items: center;
  display: flex;
}

.header h1 {
  color: #287d45;
  font-size: 100px;
  font-weight: bold;
  margin-top: 60px;
  margin-bottom: 60px;
}

/* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
@media screen and (max-width: 500px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }
  .header-right {
    float: none;
  }
}

.footer {
  overflow: hidden;
  background-color: #f1f1f1;
  padding: 20px 10px;
  justify-content: space-between;
  display: flex;
  bottom: 1%;
  margin-left: 1%;
  margin-right: 1%;
  box-shadow: 0 2px 4px 0 rgba(48,49,51,0.8);
}

/* Style the footer links */
.footer a {
  float: left;
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;  
  width: 90%;
}

/* Style the logo link (notice that we set the same value of line-height and font-size to prevent the footer to increase when the font gets bigger */
.footer a.logo {
    min-height: 200px;
    min-width: 200px;
    /*background-image: url("./images/logo_tiramo_200x200px.svg");*/
}

/* Change the background color on mouse-over */
.footer a:hover {
  background-color: #ddd;
  color: black;
  outline: 2px solid #0075d4;
  outline-offset: 4px;
}

/* Style the active/current link*/
.footer a.active {
  background-color: dodgerblue;
  color: white;
}

/* Float the link section to the right */
.footer-right {
  float: right;
  
}

/* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
@media screen and (max-width: 500px) {
  .footer a {
    float: none;
    display: block;
    text-align: left;
  }
  .footer-right {
    float: none;
  }
}

.light {
  background-color: #e5e5e5;

}
.dark {
  background-color: #c5c5c5;
}


.product a {
  color: #287d45;
  text-align: left;
}

.product-heading {
  justify-content: center;
  display: flex;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  color: #287d45;
  width: 100%;
}

.product-list {
  padding: 12px;
  margin: 50px;
  
  h3 {
    text-align: left;
  }
}

.product {
  margin-left: 2%;
  margin-right: 2%;
  margin-top: 1%;
  margin-bottom: 1%;
  box-shadow: 0 2px 4px 0 rgba(48,49,51,0.8);
  background-color: #e5e5e5;
}

.product:hover {
  background-color: #c5c5c5;
  outline: 2px solid #0075d4;
  outline-offset: 4px;
}

.product-img {
  float: right;
}

.cover {
  height: 450px;
  width: 300px;
  border-radius: 10px;
  margin: 1%;
}

.vertical {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  gap: 5%;
}

.right {
  justify-content: flex-end;
}

.product-text {
  width: 45%;
  color: #000;
}

.product-links {
  width: 45%;
}

/* Full-width input fields */
input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* Set a style for all buttons */
button {
  background-color: #287d45;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

button:hover {
  opacity: 0.8;
}

/* Extra styles for the cancel button */
.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}

/* Center the image and position the close button */
.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

img.avatar {
  width: 40%;
  border-radius: 50%;
}

.container {
  padding: 16px;
}

span.psw {
  float: right;
  padding-top: 16px;
}