:root {
  --red: #CD2600;
  --yellow: #FFAF0F;
  --white: #FFEDCA;
  --black: #0A0701;
}

@font-face {
  font-family: "Quentin";
  src: url("assets/quentin_2/Quentin-2.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Milker';
  src: url('assets/milker/Milker.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}


body {
  width: 100vw;
  background-color: var(--black);
}

header {
  display: flex;
  padding: 22px 91px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--white);

}

header p {
  color: var(--red);
  font-family: 'Quentin';
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

ul {
  list-style-type: none;
  display: flex;
  gap: 34px;
}

ul li a {
  color: var(--red);
  font-family: 'Poppins';
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

.sound_checkbox {
  display: none;
}

.icon_unmuted {
  display: none;
}

.sound_checkbox:checked + .sound_toggle_btn .icon_muted {
  display: none;
}

.sound_checkbox:checked + .sound_toggle_btn .icon_unmuted {
  display: inline;
}

.section_1 {
  background-image: url(assets/bg.png);
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 722px;
  background-size: cover;
}

#titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#titles h1 {
  color: var(--yellow);
  font-family: 'Milker';
  font-size: 224.39px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

#titles h2 {
  color: var(--yellow);
  text-align: center;
  font-family: 'Milker';
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.section_2 {
  background-image: url(assets/windows.png);
  background-repeat: no-repeat;
  display: flex;
  width: 100%;
  height: 1000px;
  background-size: cover;
}

.building_grid {
  width: 80vw;
  max-width: 1100px;
  margin: 50px auto;
  aspect-ratio: 1 / 1.3;
  background-size: cover;
  background-position: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 140px;
  row-gap: 80px;
}

.window_cell {
  position: relative;
  cursor: pointer;
}

.window_overlay {
  position: absolute;
  inset: 0;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.4),
    transparent
  );
}

.window_cell:hover .window_overlay {
  opacity: 1;
  transform: translateY(0);
}

.window_label {
  font-family: "Quentin";
  font-size: 32px;
  color: var(--yellow);
}

.window_overlay h3 {
  font-family: "Poppins";
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
}

.window_btn {
  align-self: flex-start;
  padding: 8px 20px;
  border-radius: 999px;
  font-family: "Poppins";
  font-size: 14px;
  color: var(--red);
  background-color: var(--white);
  text-decoration: none;
  margin-top: 8px;
  display: inline-block;
}

.story {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto;
  position: relative;
}

.story_frame {
  position: relative;
}

.story_img {
  width: 100%;
  display: block;
}

.story_text {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Quentin";
  font-size: 24px;
  color: var(--white);
  text-align: center;
}

.story_arrows {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
}

.story_arrows button {
  background: none;
  border: none;
  color: var(--yellow);
  font-size: 28px;
  cursor: pointer;
}

.story_arrows img {
  width: 25px;
}

.footer {
  background-color: var(--white);
  color: var(--white);
  padding: 40px 20px;
  margin-top: 60px;
  font-family: Poppins, sans-serif;
}

#footer_container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

#footer_section h3 {
  color: var(--red);
  font-family: 'Quentin';
  font-size: 36px;
  margin-bottom: 10px;
}

#footer_section p {
  font-family: "Poppins";
  color: var(--black);
}

.social_links a {
  font-family: "Poppins";
  display: inline-block;
  margin-right: 10px;
  color: var(--black);
  text-decoration: none;
}

.social_links a:hover {
  color:var(--yellow);
}

.newsletter_form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.newsletter_form input {
  padding: 10px;
  border: none;
  border-radius: 4px;
  width: 200px;
}

.newsletter_form button {
  padding: 10px 16px;
  border: none;
  background-color: var(--yellow);
  color: #111;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Poppins';
}

.newsletter_form button:hover {
  background-color: #e89c0d;
}

#footer_copy {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  opacity: 0.7;
}

.scroll_up_btn {
  position: sticky;
  top: calc(100vh - 120px); 
  left: 95%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  border: none;
  text-decoration: none;
}

.scroll_up_btn img {
  width: 30px;
  height: 30px;
}





