@font-face {
  font-family: Oswald;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("oswald-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Oswald;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("oswald-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #42484f;
  --green: #278569;
  --white: #fff;
  --display: oswald, "Arial Narrow", sans-serif;
  --text: arial, "Liberation Sans", arimo, helvetica, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  max-width: 980px;
  min-height: 138px;
  margin: 0 auto;
  padding: 36px 20px 0;
}

.brand {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.4;
  text-shadow: rgb(0 0 0 / 40%) 0 4px 5px;
}

.brand a {
  text-decoration: none;
}

.szechenyi {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
}

.ginop {
  padding: 13px 0 121px;
  font-size: 20px;
  line-height: 25px;
}

.ginop .wrap {
  max-width: 998px;
  padding: 0 9px 0 27px;
}

.ginop h1 {
  margin-bottom: 36px;
  padding-right: 48px;
  font-size: 23px;
  line-height: 1.2;
  text-align: center;
}

.ginop p + p {
  margin-top: 25px;
}

.ginop .author {
  margin-top: 50px;
}

.hero {
  height: 536px;
  background-color: var(--ink);
  background-image: url("irodahaz-1920.webp");
  background-attachment: fixed;
  background-position: 0 50%;
  background-size: cover;
}

.intro {
  padding: 38px 0 67px;
  font-size: 20px;
  line-height: 31px;
}

.intro h2 {
  margin-bottom: 34px;
  color: var(--green);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
}

.intro p + p {
  margin-top: 31px;
}

.activities,
.partners,
.site-footer {
  color: var(--white);
  font-family: var(--display);
  font-weight: 500;
}

.activities {
  margin-top: 5px;
  padding: 46px 0 80px;
  background: var(--ink);
}

.activities h2,
.partners h2 {
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
}

.activities ul {
  display: grid;
  grid-template-columns: 510px 1fr;
  row-gap: 54px;
  margin-top: 33px;
  padding: 0;
  list-style: none;
  font-size: 20px;
  line-height: 30px;
}

.activities li {
  display: flex;
  gap: 27px;
  align-items: center;
}

.activities li::before {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  content: "";
}

.partners {
  padding: 40px 0 49px;
  background: var(--green);
}

.partners .lead {
  margin-top: 42px;
  font-size: 20px;
  line-height: 31px;
}

.logos {
  padding: 80px 0 124px;
}

.logos .wrap {
  display: flex;
  gap: 70px;
  align-items: flex-start;
}

.logos figure {
  max-width: 486px;
}

.logos img {
  width: 140px;
  height: 197px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.logos figcaption {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
}

.site-footer {
  padding: 26px 0 8px;
  background: var(--ink);
  font-size: 20px;
  line-height: 35px;
  text-align: center;
}

.site-footer a {
  text-decoration: none;
}

.company {
  line-height: 29px;
}

address {
  margin-top: 27px;
  font-style: normal;
}

address > * {
  display: block;
}

.phone {
  margin-top: 40px;
}

.hours {
  margin-top: 35px;
}

@media (width < 1200px) {
  .szechenyi {
    position: static;
    width: min(100%, 350px);
    margin: 20px 0 0 auto;
  }
}

@media (width < 768px) {
  .site-header {
    min-height: 0;
    padding: 10px 20px 0;
  }

  .brand {
    font-size: 30px;
    line-height: 1.25;
  }

  .ginop {
    padding: 30px 0 60px;
    font-size: 18px;
    line-height: 22.5px;
  }

  .ginop .wrap {
    padding: 0 20px;
  }

  .ginop h1 {
    margin-bottom: 30px;
    padding-right: 0;
    font-size: 20px;
  }

  .ginop p + p {
    margin-top: 22.5px;
  }

  .ginop .author {
    margin-top: 45px;
  }

  .hero {
    display: none;
  }

  .intro {
    padding: 20px 0 50px;
    font-size: 18px;
    line-height: 28px;
  }

  .intro h2 {
    margin-bottom: 18px;
    font-size: 24px;
  }

  .intro p + p {
    margin-top: 28px;
  }

  .activities {
    margin-top: 0;
    padding: 20px 0 30px;
  }

  .activities h2,
  .partners h2 {
    font-size: 26px;
    line-height: 34px;
  }

  .activities ul {
    grid-template-columns: 1fr;
    row-gap: 24px;
    margin-top: 20px;
    font-size: 22px;
    line-height: 28px;
  }

  .activities li {
    gap: 22px;
  }

  .partners {
    padding: 20px 0 30px;
  }

  .partners .lead {
    margin-top: 14px;
  }

  .logos {
    padding: 30px 0 40px;
  }

  .logos .wrap {
    flex-direction: column;
    gap: 40px;
  }

  .logos img {
    width: 150px;
    height: 218px;
    margin: 0 0 14px;
  }

  .logos figcaption {
    font-size: 24px;
    line-height: 30px;
  }

  .site-footer {
    padding: 20px 0 12px;
    font-size: 17px;
    line-height: 28px;
  }

  .company,
  address > a,
  .phone {
    font-size: 20px;
  }

  address {
    margin-top: 14px;
  }

  .phone {
    margin-top: 10px;
  }

  .hours {
    margin-top: 28px;
  }
}
