/* Theme Name: AfA Mehr Mitbestimmung */
/* Text Domain: afa-mehr-mitbestimmung */

:root
{
  /* CSS HEX */
--maximum-red: #e3000f;
--maximum-red-dark: #b6000c;
--honey-yellow: #ffae03ff;
--midnight-green-eagle-green: #353b3c;
--white: #fbfbfbff;
--cultured: #f3f3f4ff;
--footer: #25292a;

--space-s: 10px;
--space-m: 25px;
--space-x: 50px;

--content-width: 960px;
}

*
{
  box-sizing: border-box;
}

html, body {
    scroll-behavior: smooth;
}

html
{
  font-size: 100%;
}

body
{
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

/* Colors */

body
{
  background: var(--midnight-green-eagle-green);
  color: var(--white);
}

/* .headercontent
{
  border: 1px solid red;
} */
/*
nav
{
  border: 1px solid green;
}

header
{
  border: 1px solid yellow;
} */

.red
{
  background: var(--maximum-red-dark);
  color: var(--cultured);
}

.red:hover
{
  background: var(--maximum-red);
  color: var(--white);
  cursor: pointer;
}

/* Dimensions */

header .logo img
{
  height: 3rem;
  width: auto;
}

body
{
  /* padding: var(--space-m); */
}

header
{
  padding: var(--space-m);
}

nav ul
{
  padding: 0;
  margin: 0;
}

header,
section,
.headercontent
{
  width: 100%;
}

.headercontent
{
  max-width: var(--content-width);
}

/* Alignments */

div,
header,
nav,
nav ul,
section,
.hero-header,
.heroshot
{
  display: inline-flex;
  position: relative;
}

header,
nav ul,
.button,
section,
.heroshot
{
  justify-content: center;
  align-items: center;
}

.hero,
.hero-header
{
  flex-flow: column;
}

nav,
.headercontent
{
  justify-content: space-between;
  align-items: center;
}

nav ul
{
  list-style: none;
  padding: 0;
  margin: 0;
}

section
{
  margin: 0 auto;
}

.content,
.hero-header
{
  width: var(--content-width);
}

.content
{
  display: flex;
  flex-flow: column;
}

.content h1
{
  font-size: 1.5rem;
}

.hamburger {
  width: 2rem;
  cursor: pointer;
}

.search-icon
{
  height: 67px;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -8px;
  padding: 0 10px;
}

.button
{
  padding: 15px 30px;
  border-radius: 6px;
  margin-top: -12px;
  margin-left: 20px;
}

.heroshot
{
  width: 100vw;
  height: calc(100vw/3.84);
  background: url(img/afa-mobile-background.jpg) center center no-repeat;
  background-size: cover;
}

section.hero-text
{
  width: 100vw;
  background: var(--maximum-red-dark);
  color: var(--cultured);
  margin-top: -10px;
}

.hero-header
{
  padding-top: 40vh;
}

h1.hero-video,
h2.hero-video,
.hero-header h1,
.hero-header h2
{
  padding: var(--space-m);
  background: var(--honey-yellow);
  color: var(--midnight-green-eagle-green);
  margin: var(--space-s) 0;
}

.page ul
{
  padding: 0;
  margin: 0;
}

.page ul li
{
  padding: 1rem;
  padding-left: 2rem;

}

/* Typography */

.page ul li,
.page p
{
  font-size: 1.5rem;
  line-height: 2rem;
}

.page p a
{
  color: var(--honey-yellow);
  text-decoration-style: dotted;
}


.page p a:hover
{
  color: lightblue;
  text-decoration-style: solid;
}

h1
{
  text-transform: uppercase;
}

h1.hero-video,
.hero-header h1
{
  font-size: 2rem;
}

h2.hero-video,
.hero-header h2
{
  font-size: 1.75rem;
}

nav ul
{
  margin-top: 10px;
}

.videoshot
{
  width: 100vw;
  height: auto;
  background: #000;
  padding: 0;
  margin: 0;
}

video
{
  padding: 0;
  margin: 0;
}

.videoheader:first-child
{
  margin-top: 25px;
}

.videoheader:last-child
{
  margin-bottom: 35px;
}

footer
{
    background: var(--footer);
    padding: 30px;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    color: #86898a;
    margin-top: 2rem;
}

a.download-link,
.afa-block a
{
  text-decoration: none;
  color: #86898a;
}

a.download-link
{
  text-decoration: none;
  color: #fff;
}

a.download-link:hover,
.afa-block a:hover
{
  color: var(--honey-yellow);
  text-decoration: underline;
  text-decoration-style: dotted;
}

.afa-block span
{
    display: block;
    padding: 5px;
}

.afa-block
{
  display: flex;
  flex-flow: column;
  padding: 30px;
}

footer .list-top
{
  color: #fff;
}

.footer-content
{
  width: 100%;
  max-width: var(--content-width);
  display: flex;
  justify-content: space-evenly;
}

.signbox
{
  width: 5vw;
  height: 5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden !important;
  vertical-align: center;
}

.signbox > div
{
  width: 15%;
  height: 7vw;
  transform: rotate(15deg);
  background: var(--honey-yellow);
  margin: 5%;
}

.ytwrapper
{
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}


.youtube-responsive-container {
    position:relative;
    padding-bottom:56.25%;
    padding-top:30px;
    height:0;
    overflow:hidden;
    margin: auto;
    width: 100vw;
}

.youtube-responsive-container iframe, .youtube-responsive-container object, .youtube-responsive-container embed {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}


form
{
  display: flex;
  flex-flow: column;
  width: 100%;
  margin: 0 auto;
}

input,
textarea,
select
{
  appearance: none;
  outline: none;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #333;
  border-radius: 6px;
  background: #eee;
  color: #333;
}

input[type="checkbox"],
input[type="radio"]
{
  appearance: auto;
}

input[type="submit"]
{
  background: var(--honey-yellow);
  color: #333;
}

textarea
{
  height: 30vh;
  resize: none;
}

label
{
  font-size: .75rem;
  color: var(--honey-yellow);
}

.form-group
{
  display: flex;
  flex-flow: column-reverse;
  padding: 8px 0;
  position: relative;
  width: var(--content-width);
  max-width: var(--content-width);
}

.form-checkbox
{
  display: flex;
  flex-flow: row;
  align-items: center;
}

.form-checkbox input[type="checkbox"]
{
  margin-right: 1rem;
}

.form_message
{
  background: var(--footer);
  color: #fff;
  border-left: 5px solid red;
  padding: 1rem;
  padding-left: 1rem;
  border-radius: 6px;
  margin-top: .5rem;
  margin-bottom: .5rem;
}

.success
{
  border-left: 5px solid green;
}

a.button
{
  text-decoration: none;
}
