:root {
--primary-color: #000000;
--secondary-color: #FFFFFF;
--tertiary-blue-color: #0b25c6;
--tertiary-grey-color: #ccc8c0 ;
--primary-padding: 50px;
}

* {
  box-sizing: border-box;
  font-family: lato;
  }

html {
  font-size: 12px;
  height: 100vh;
  }
   
body {
  background-color:var(--secondary-color);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin: 0px;  
  width: 100vw;
  }

.header-background {
  margin-bottom: var(--primary-padding);
  }

.video-area {
  font-size: 0;
  width:100%;
  }

video{
  height:100%;
  object-fit: cover;
  width:100%;
  }

.product-area-homepage{
  padding-bottom: 0; 
  }

.product-homepage {
  cursor: pointer;
  }
  
.pos-img-grid {
  display: grid;
  grid-template: 5fr 5fr / 5fr 5fr;
  }

.pos-img {
  color: var(--secondary-color);
  cursor: pointer;
  position: relative;
  text-align: center;
  }

.pos-img-img {
  display: block;
  }

.pos-img-text, .text-img {
  color: var(--secondary-color);
  font-family: serif;
  font-size: 4rem;
  font-weight: bold;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  }

.overlay {
  background-color: var(--tertiary-blue-color);
  bottom: 0;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .5s ease;
  width: 100%;
  }

.scrunchie{
  background-image: url(../resources/content/haceli_scrunchie_photobooth_2.jpg);
  }  

.barette {
  background-image: url(../resources/content/haceli_barette.jpg);
  }

.pos-img-position{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  }

.pos-img:hover .overlay {
  opacity: 1;
  transition: .5s;
  }

.grid-news {
  display: grid;
  gap: 3px;
  grid-template: 10fr / 5fr 5fr;
  padding-top: 20px;
  }

.news-text-block{
  color: var(--secondary-color);
  position: relative;
  text-align: center;
  }

p.news-text {
  color: var(--primary-color);
  font-family: serif;
  font-size: 4rem;
  font-weight: bold;
  left: 50%;
  margin: 0;
  padding: 20px 40px;
  position: relative;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 100%;
  }

.news-img {
  color: var(--secondary-color);
  position: relative;
  text-align: center;
  }

@media screen and (min-width: 960px) {
  .pos-img-text, .text-img, p.news-text {
    font-size: 5rem;
    }
}

@media screen and (max-width: 875px) {
  .one-third-three{
    display: none;
  }
}

@media screen and (max-width: 620px) {
  .pos-img-grid {
    gap: 20px; 
    grid-template: 10fr / 10fr;
    padding: 20px;
    }

  .grid-news {
    gap: 40px;
    grid-template: 10fr / 10fr;
    }

  p.news-text {
    left: 0;
    top: 0;
    transform: translate(0);
    }
}

  

