body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1 {
  font-family: Luckiest Guy;
  font-weight: 400;
  font-style: Regular;
  font-size: 2rem;  
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
}

h2 {
  font-family: Open Sans;
  font-weight: 800;
  font-style: ExtraBold;
  font-size: 1.5rem;  
  line-height: 2rem;
  letter-spacing: 0%;
}

p {
  font-family: "Open Sans";
  font-weight: 400;
  font-style: Regular;
  font-size: 1rem;    
  letter-spacing: 0%;
}

button {
  width: 23.8125rem;
  height: 3.375rem;
  opacity: 1;
  border-radius: 28px;
  border: none;

  font-family: Open Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 1rem;  
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;

}

footer {
  background-color: #23272a;
  text-align: center;
}

.block-1 {
  padding: 4.375rem 1.5rem;
  height: 31.75rem;  
  background-image: url(images/header-bg.png);  
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  display: flex;
  flex-direction: column;
  justify-items: center;
  gap: 1.5rem;  
}

.block-1 h1, .block-1 p {
  color: #fff;
}

.buttons {
  display: flex;
  flex-direction: column;  
  gap: 1rem;
  cursor: pointer;
}

.button-windows {
  background-color: #fff;
  color: #23272a;
}

.button-nav {
  background-color: #23272a;
  color: #fff;
}

.block-main-white {
  display: flex;
  flex-direction: column;
  background-color: #fff;  
}

.block-main-grey {
  display: flex;
  flex-direction: column;
  background-color: #f6f6f6;  
}

.block-main1, .block-main2, .block-main3, .block-main4 {
  gap: 1.6875rem;    
  margin: 2.5rem 1.5rem;
  align-items: center;
}

.image-block {
  display: block;
  height: 15rem;
  width: auto;

  justify-items: start;
}

.footer {
  height: 8.75rem;
  align-content: center;
}

.footer img {
  width: 162px;
}

@media (min-width: 768px) { 
  
  h2 {
  font-family: Open Sans;
  font-weight: 800;
  font-style: ExtraBold;
  font-size: 2.5rem;  
  line-height: 3.5rem;
  letter-spacing: 0%;
}

h1 {
  font-family: Luckiest Guy;
  font-weight: 400;
  font-style: Regular;
  font-size: 2.5rem;  
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
}

  .block-1 h1 {
    font-family: Luckiest Guy;
    font-weight: 400;
    font-style: Regular;
    font-size: 3.5rem;    
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
  }

  .block-1 p {
    width: 47.31rem;
    font-family: Open Sans;
    font-weight: 400;
    font-style: Regular;
    font-size: 1rem;    
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    justify-content: center;
  }

  .buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    cursor: pointer;

    gap: 1rem;
  }

  .text {    
    justify-items: center;
  }

  .block-main-white, .block-main-grey {
    display: flex;
    flex-direction: row;
    justify-content: center;      
  }

  .block-main1, .block-main3 {
    display: flex;
    flex-direction: row;  
    width: 60.68rem;
    height: 24.625rem;
    padding-bottom: 40px  
  }

  .block-main2 {
    display: flex;
    flex-direction: row-reverse;  
    width: 60.68rem;    
    padding-bottom: 40px  
  }

   .block-main4 {
    display: flex;
    flex-direction: column;  
    width: 60.68rem;    
    padding-bottom: 40px;
    text-align: center;    
  }

  .desktop {
    display: flex;
    flex-direction: column;
  }
  
  #desktop-image {
    width: 37.93rem;
    height: auto;
  }

  #desktop-image-bigger {
    width: 49rem;
    height: auto;
  }
}