/*
  Variables
*/

:root {
  --white: #fffffe;
  --red: #db342a;
  --tan: #e4d9d3;
  --black: #0a0b09;
  --purple: #FF00E6;
  --gold: #9b7932;

  --font: "Caslon Ionic Rounded", serif;
}

/*
  Fonts
*/

@font-face {
  font-family: "Caslon Ionic Rounded";
  src: url("./fonts/subset-CaslonIonicRounded-Light.woff2") format("woff2"),
    url("./fonts/subset-CaslonIonicRounded-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Caslon Ionic Rounded";
  src: url("./fonts/subset-CaslonIonicRounded-Bold.woff2") format("woff2"),
    url("./fonts/subset-CaslonIonicRounded-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Caslon Ionic Rounded";
  src: url("./fonts/subset-CaslonIonicRounded-LightItalic.woff2")
      format("woff2"),
    url("./fonts/subset-CaslonIonicRounded-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Caslon Ionic Rounded";
  src: url("./fonts/subset-CaslonIonicRounded-Thin.woff2") format("woff2"),
    url("./fonts/subset-CaslonIonicRounded-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/*
  Reset & defaults 
*/

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  font-family: var(--font);
  background-color: var(--white);
  color: var(--black);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

input,
select,
button,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font);
  font-size: 16px;
}

input[type="email"],
input[type="text"],
input[type="password"],
input[type="search"] {
  display: block;
  width: 100%;
}

a,
button,
label,
input[type="submit"],
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/*
  Utility
*/

.width {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/*
  Top
*/

.top {
  padding: 80px 0;
}

.top h1 {
  max-width: 1100px;
}

.top h2 {
  font-size: 24px;
  font-weight: 300;
  max-width: 350px;
  margin-left: auto;
  margin-top: 10px;
}

.top h2 strong {
  color: var(--purple);
}

@media (min-width: 960px) {
  .top {
    padding: 140px 0;
  }
}

/*
  Video
*/

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

/*
  cover 
*/

.cover {
  padding: 80px 0;
  background-color: var(--tan);
}

.cover__img {
  margin: 0 auto;
  width: 100%;
  max-width: 700px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 960px) {
  .cover {
    padding: 140px 0;
  }
}

/*
  About
*/

.about {
  padding: 80px 0;
  color: var(--white);
  background-color: var(--black);
}

.about p {
  font-size: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.about p + p {
  margin-top: 32px;
}

@media (min-width: 960px) {
  .about {
    padding: 140px 0;
  }

  .about p {
    font-size: 24px;
  }
}

/*
  Pages
*/

.pages {
  padding: 80px 0;
}

.pages .width {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.page__image {
  max-width: 500px;
}

.page__image img {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
}

.page__text {
  font-size: 18px;
}

.page__text h3 {
  font-weight: bold;
}

.page__text h3 strong {
  color: var(--purple);
}

@media (min-width: 960px) {
  .pages {
    padding: 140px 0;
  }

  .page .width {
    flex-direction: row;
  }

  .page {
    flex-direction: row;
    gap: 64px;
  }

  .page__image {
    width: 50%;
    max-width: 500px;
  }

  .page__text {
    flex: 1;
    font-size: 28px;
  }

  .page__text * {
    max-width: 420px;
  }
}

/*
  Issue
*/

.issue {
  background-color: black;
  padding: 80px 0;
}

.issue__flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.issue__column--issue {
  color: var(--red);
  width: 100%;
}

.issue__column--editors {
  color: var(--white);
  width: 100%;
}

.issue__column--contributors,
.issue__column--contributors-2 {
  color: var(--purple);
  flex: 1;
}

@media (min-width: 960px) {
  .issue {
    padding: 140px 0;
    font-size: 18px;
  }

  .issue__column--issue,
  .issue__column--editors,
  .issue__column--contributors,
  .issue__column--contributors-2 {
    flex: 1;
    width: auto;
  }
}

/*
  Contacts
*/

.contacts {
  padding: 120px 0;
  background-color: var(--red);
  color: var(--white);
  font-size: 36px;
}

.contacts a {
  color: var(--white);
  transition: 0.2s color;
  text-decoration: underline;
}

.contacts a:hover {
  opacity: 0.7;
}

@media (min-width: 960px) {
  .contacts {
    padding: 160px 0;
  }
}

.contacts p {
  margin-bottom: 32px;
}


.contact-form {
  max-width: 700px;
}

.contact-form input,
.contact-form button {
  padding: 0 16px;
  line-height: 44px;
}

@media (min-width: 600px) {
  .contact-form input,
  .contact-form button {
    padding: 0 16px;
    line-height: 44px;
  }
}

.contact-form input {
  background-color: rgba(255,255,255,1);
  margin-bottom: 11px;

}


.contact-form textarea {
  background-color: var(--white);
  margin-bottom: 11px;
  display: block;
  width: 100%;
  padding: 16px;
  resize: none;
}



.contact-form button {
  background-color: var(--black);
  color: var(--white);
  display: block;
  width: 100%;
  transition: 0.2s opacity;
  cursor: pointer;
}

.contact-form button:hover {
  opacity: 0.8;
}