/* ==========================================
/*  Title:  UWG STYLE SHEET
/*  Author: Alejandra Criado
/*  Date:   6 Feb 2020
/* ==========================================*/
/* RESET CSS */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}
/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}
/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}
/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}
/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}
/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}
/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}
/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}
/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:root {
  font-size: 62.5%;
}
:root body {
  margin: 0;
  font-size: 1.6rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
h1 {
  font-size: 4.1rem;
  line-height: 4.8rem;
  font-weight: 900;
  color: #71B0B0;
  text-align: left;
  text-transform: uppercase;
}
h2 {
  font-size: 2.8rem;
  line-height: 2.8rem;
  font-weight: 600;
  letter-spacing: 0.61px;
  color: #000;
  margin-bottom: 4rem;
}
h3 {
  font-size: 2.8rem;
  line-height: 3.5rem;
  color: #71B0B0;
  font-weight: 600;
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}
p,
li {
  font-size: 2.4rem;
  line-height: 3.5rem;
  letter-spacing: 0.52px;
}
li p {
  font-weight: 600;
}
li p.no-bold {
  font-weight: 500;
}
.bold {
  font-weight: 600;
}
.main-color {
  color: #71B0B0;
}
ul.list {
  list-style-image: url('../img/list-item.png');
  margin-left: 0;
  padding-left: 2.5rem;
  margin-top: 4rem;
}
ul.list li {
  padding-left: 2.5rem;
  padding-bottom: 3.8rem;
}
.font-17px26px {
  font-size: 1.7rem;
  line-height: 2.6rem;
}
.font-18px25px {
  font-size: 1.8rem;
  line-height: 3.5rem;
}
.font-23px28px {
  font-size: 2.3rem;
  line-height: 2.8rem;
}
.font-24px35px {
  font-size: 2.4rem;
  line-height: 3.5rem;
}
.font-28px35px {
  font-size: 2.8rem;
  line-height: 3.5rem;
}
.font-41px20px {
  font-size: 4.1rem;
  line-height: 4.8rem;
}
.font-28px28px {
  font-size: 2.8rem;
  line-height: 2.8rem;
}
.font-28px32px {
  font-size: 2.8rem;
  line-height: 3.2rem;
}
.font-37px32px {
  font-size: 3.7rem;
  line-height: 3.2rem;
}
.font-white {
  font-size: 6.5rem;
  letter-spacing: 1.41px;
  color: #fff;
}
.block {
  border-bottom: 2px solid #71B0B0;
  padding: 7rem 0;
}
.block.no-border {
  border-bottom: none;
}
.block > div,
.block > h1,
.block > h3,
.block > ul,
.block > p {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}
.block--gray {
  border-bottom: none;
  background-color: #EAEAEA;
  padding: 7rem 0 3rem;
}
.block--green {
  background-color: #71B0B0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 11.8rem;
  margin-top: 7rem!important;
  margin-bottom: 7rem!important;
}
.block--green h2 {
  text-transform: uppercase;
  display: flex;
  margin-bottom: 0;
}
.block--green h2 span {
  padding: 0 2rem;
}
header {
  background-image: url('../img/Eggstaett.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 450px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  margin-bottom: 1.2rem;
}
.header-content {
  width: 50%;
  background-color: #fff;
  display: flex;
  justify-content: flex-end;
  min-width: 576px;
}
.header-content-left {
  display: flex;
  background-color: #fff;
  padding-top: 4rem;
  padding-right: 3rem;
  padding-bottom: 1rem;
}
.header-content__logo {
  margin-right: 3rem;
}
.header-content__title {
  display: flex;
  flex-direction: column;
  padding-top: 6px;
}
.header-content__title span {
  font-size: 2.3rem;
  line-height: 2.8rem;
  color: #3B4145;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.candidates {
  margin-top: 7rem !important;
  display: flex;
  flex-wrap: wrap;
}
.candidate {
  display: flex;
  flex: 0 0 56rem;
  margin-top: 2.6rem;
  margin-bottom: 2.6rem;
}
.candidate:nth-child(2n+1) {
  padding-right: 2.6rem;
}
.candidate:nth-child(2n) {
  border-left: 3px solid #71B0B0;
  padding-left: 2.6rem;
}
.candidate__picture {
  position: relative;
  margin-right: 3rem;
  flex: 0 0 26rem;
}
.candidate__picture p {
  position: absolute;
  left: 0;
  top: 0;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background-color: #fff;
}
.candidate__picture p span {
  font-size: 3.7rem;
  line-height: 3.2rem;
  font-weight: 600;
  color: #71B0B0;
  letter-spacing: 0.8px;
}
.candidate__picture img {
  height: 26rem;
  widows: 26rem;
}
.candidate__info {
  flex: 0 0 24rem;
}
.candidate__info p {
  font-size: 1.7rem;
  line-height: 2.6rem;
  font-weight: 500;
  color: #3B4145;
  letter-spacing: 0.37px;
}
.candidate__info p.candidate__name {
  font-size: 2.8rem;
  line-height: 3.2rem;
  font-weight: 600;
  letter-spacing: 0.61px;
  margin-bottom: 2rem;
}
@media (max-width: 1200px) {
  .candidates {
    flex-direction: column;
    align-items: center;
  }
  .candidates .candidate {
    flex: auto;
  }
  .candidates .candidate:nth-child(2n+1) {
    border-left: 2px solid #71B0B0;
    padding-left: 2.6rem;
  }
  .candidates .candidate:nth-child(2n) {
    padding-right: 2.6rem;
  }
}
footer {
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 3rem;
}
footer p,
footer a {
  font-size: 1.8rem;
  line-height: 3.5rem;
  font-style: italic;
  color: #000000;
  letter-spacing: 0.52px;
  text-decoration: none;
}
footer p:hover,
footer a:hover {
  text-decoration: none;
}
