@charset "UTF-8";
/* CSS Document */
* {
  box-sizing: border-box;
}

body {
  background-color: rgb(236, 236, 236);
  padding: 0px;
}

/* Center website */    
main {
  max-width: 1000px;
  margin: auto;
  padding-top: 50px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: 10px;
  row-gap: 20px;
  font-family: 'Arial', 'Inconsolata', monospace,  'Helvetica', sans-serif, 'Times', serif;
  
}
main a{
    text-decoration: none;
    color: black;
}
.product-box{
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    color: black;

}

.product-box:hover{
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.4);
}

.product-box img{
    width: 200px;
    height: 200px;
    text-align: center;
    background-color: rgb(245, 245, 245) ;
    border-radius: 10px;
}



.product-box h1 {
    font-size: 18.72px;
    word-break: break-all;
    word-break: break-all;
    opacity: 0.5;
    font-weight:700;
    text-decoration: none;
}

.product-box p {
    font-size: 13px;
    word-break: break-all;
    opacity: 0.5;
    font-weight:lighter;
    text-decoration: none;
}


/* /* Responsive layout - makes a four columns layout*/
@media (min-width: 1060px) {
    main {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

/*Responsive layout - makes a three column-layout  */
@media (min-width: 690px) and (max-width: 1059px) {
  main{
      grid-template-columns: 1fr 1fr 1fr;
  }

}
/*Responsive layout - makes a two column-layout*/
@media (min-width: 500px) and (max-width: 689px) {
  main {
      grid-template-columns: 1fr  1fr;
  }
}
/*Responsive layout - makes a one column-layout */
@media (max-width: 499px) {
    main {
        grid-template-columns: 1fr;
    }
}
  