/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
    box-sizing: border-box;
  }
/* 2. Remove default margin */
* {
  margin: 0;
}
body {
  /* 3. Add accessible line-height */
  line-height: 1.5;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}
/* 6. Inherit fonts for form controls */
input, button{
  font: inherit;
}
/* 7. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}
/*
  9. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}


body{
  font-family: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
  /* font-weight: bold; */
  display: flex;
  flex-direction: column;
  padding: 2vw;
  /* overflow-x: hidden; */
}

.main-cont{
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: calc(15px + 1vw);;
  gap: calc(15px + 0.8vw);
  border-radius: 5px;
}

.bold{
  font-weight: bold;  
}

.button-cont{
  display: flex;
  flex-direction: column;
  gap: calc(10px + 0.5vw);
  padding: calc(15px + 0.8vw);
}

.buttons{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

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

.button-cont button{
  border-radius: 5px;
  padding: 8px;
  font-weight: bold;
}

.gallery{
  display: flex;
  flex-wrap: wrap;
  gap: calc(15px + 0.8vw);
  width: 100%;
  align-self: center;
}

.item{
  border-radius: 5px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 23%;
  min-width: 320px;
}

.item img{
  max-width: 47%;
}

.item img:hover{
  transform: rotate(2deg);
}

.item p{
  width: 100%;
}

.lightbox{
  display: none;
  text-align: center;
  /* Overlay entire screen */
  position: fixed;
  /* make sure the z-index(controls overlapping order) here is less that the .next and .previous */
  z-index: 998;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: calc(15px + 0.8vw);
}

.lightbox img{
  /* Full width and height */
  max-width: 100%;
  max-height: 100%;

  /* centers image */
  display: block;
  margin: auto;
}
  