@import url("https://fonts.googleapis.com/css2?family=PT+Mono&display=swap");

:root {
  --beige: #e9dfba;
  --red: #9e2a2a;
  --white: #ffffff;
  --side: 50px;
}

* {
  box-sizing: border-box;
  font-family: "PT Mono", monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--beige);
  color: var(--red);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.screen {
  position: relative;
  width: 100%;
  margin: 0 0 100px;
  padding: 0 var(--side);
}

h1 {
  font-family: "PT Mono", monospace;
  font-size: clamp(70px, 15vw, 200px);
  font-weight: normal;
  line-height: 0.95;
  color: var(--red);
  margin: 0;
}

h2 {
  font-family: "PT Mono", monospace;
  font-size: 80px;
  font-weight: normal;
  text-align: center;
  margin: 0 0 50px;
}

p {
  font-size: 29px;
  line-height: 1.4;
}

/* ЭКРАН 1 */

.screen-1 {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  margin: 0 0 100px;
  padding: 0;
  overflow: hidden;
}

.screen-1 .main-title {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 4%;
}

.screen-1 .circus {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
}

/* ЭКРАН 2 */

.screen-2 {
  text-align: center;
}

screen-2 > img {
  width: 100%;
  height: auto;
  margin: 0 auto 35px;
}

.screen-2 p {
  max-width: 1100px;
  margin: 40px auto;
}

/* ЭКРАН 3 */

.screen-3 {
  text-align: center;
}

.screen-3 > img {
  width: 100%;
  height: auto;
}

.language-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  text-align: left;
  margin: 40px 0;
}

.language-info p {
  font-size: 25px;
  margin: 10px 0;
}

.language-info span {
  font-size: 40px;
}

.screen-3 > p {
  max-width: 1100px;
  margin: 40px auto;
}

/* ЭКРАН 4 */

.screen-4 {
  padding: 0;
  min-height: 650px;
}

.screen-4 img {
  width: 100%;
  height: auto;
}

/* ЭКРАН 5 */

.screen-5 {
  padding: 0;
}

.screen-5 img {
  width: 100%;
  height: auto;
}

/* ЭКРАН 6 */

.screen-6 {
  padding: 0;
  text-align: center;
}

.screen-6 > img {
  width: 100%;
  height: auto;
}

.screen-6 p {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 var(--side);
}

/* ФУТЕР */

footer {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

footer img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}

/* Небольшие экраны */

@media (max-width: 768px) {
  :root {
    --side: 20px;
  }

  .screen-1 {
    min-height: 600px;
    height: 100vh;
  }
  h2 {
    font-size: 42px;
  }

  p {
    font-size: 20px;
  }

  .language-info {
    gap: 15px;
  }

  .language-info p {
    font-size: 17px;
  }
}
