/* ================================================================

    Stylesheet for Website of Alexander Stepanov
    Layout for repertoire

    File: repertoire.css
    Date: 28.09.2019
    Author: Daniel Schreiber

    Layout includes three sizes:
        1. smartphone (max-width 480px)
        2. tablet (min-width 480) and (max-width 960)
        2. screen (min-width 960px)

================================================================ */

/* =============================
    Import other css files
============================== */

@import url(reset.css) all;
@import url(startpage.css) screen;
@import url(kontakt.css) screen;
@import url(referenzen.css) screen;
@import url(impressum.css) screen;
@import url(repertoire.css) screen;
@import url(aufnahmen.css) screen;
@import url(lebenslauf.css) screen;
@import url(links.css) screen;
@import url(engrus.css) screen;

/* =============================
    Variables
============================== */

:root {
  --primary: antiquewhite;
  --text: black;
  --text_background: antiquewhite; /* fallback color, when hsla is not supported */
  --text_background_alpha: hsla(34, 78%, 91%, 0.7);
}

/* ============================
    Font and Background Image
============================= */

body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  background-image: url("../res/images/background_less_contrast.jpeg");
}

/* =============================================================
    Smartphone
================================================================ */

@media screen and (max-width: 480px) {
  header {
    background-color: var(--primary);
    padding-left: 20px;
    padding-top: 5px;
  }

  h2 {
    margin-bottom: 0;
  }

  h3 {
    text-align: center;
    font-size: 2em;
    margin-top: 0.6em;
  }

  #navbar {
    background-color: var(--primary);
    padding: 5px 20px 5px 20px;
  }

  ul.navmain {
    margin: 0;
  }

  ul.navmain a {
    color: black;
    text-decoration: none;
  }

  ul.navmain a:hover,
  ul.navmain a:focus {
    background-color: black;
    color: var(--primary);
    transition: 0.7s;
  }

  ul.navmain a:active {
    background-color: transparent;
    color: #d90000;
  }

  ul.navmain li {
    display: inline;
    list-style-type: none;
    margin: 0 10px 0 0;
  }

  address {
    margin-top: 30px;
    text-align: center;
    font-size: 85%;
    font-style: normal;
    letter-spacing: 1.5;
    line-height: 1.5;
    clear: both;
  }
}

/* =============================================================
    Tablet
================================================================ */

@media screen and (min-width: 480px) and (max-width: 960px) {
  header {
    background-color: var(--primary);
    padding-left: 20px;
    padding-top: 5px;
  }

  h2 {
    margin-bottom: 0;
  }

  h3 {
    text-align: center;
    font-size: 2em;
    margin-top: 0.6em;
  }

  #navbar {
    background-color: var(--primary);
    padding: 5px 20px 5px 20px;
  }

  ul.navmain {
    margin: 0;
  }

  ul.navmain a {
    color: black;
    text-decoration: none;
  }

  ul.navmain a:hover,
  ul.navmain a:focus {
    background-color: black;
    color: var(--primary);
    transition: 0.7s;
  }

  ul.navmain a:active {
    background-color: transparent;
    color: #d90000;
  }

  ul.navmain li {
    display: inline;
    list-style-type: none;
    margin: 0 10px 0 0;
  }

  address {
    margin-top: 30px;
    text-align: center;
    font-size: 85%;
    font-style: normal;
    letter-spacing: 1.5;
    line-height: 1.5;
    clear: both;
  }
}

/* =============================================================
    screen
================================================================ */

@media screen and (min-width: 960px) {
  body {
    width: 960px;
    margin: 0 auto;
  }

  header {
    background-color: var(--primary);
    padding-left: 20px;
    padding-top: 5px;
  }

  h2 {
    margin-bottom: 0;
  }

  h3 {
    text-align: center;
    font-size: 2em;
    margin-top: 0.6em;
  }

  #navbar {
    background-color: var(--primary);
    padding: 5px 20px 5px 20px;
  }

  ul.navmain {
    margin: 0;
  }

  ul.navmain a {
    color: var(--text);
    text-decoration: none;
  }

  ul.navmain a:hover,
  ul.navmain a:focus {
    background-color: black;
    color: var(--primary);
    transition: 0.7s;
  }

  ul.navmain a:active {
    background-color: transparent;
    color: #d90000;
  }

  ul.navmain li {
    display: inline;
    list-style-type: none;
    margin: 0 10px 0 0;
  }

  address {
    text-align: center;
    font-size: 85%;
    font-style: normal;
    letter-spacing: 1.5;
    line-height: 1.5;
    margin-top: 30px;
    clear: both;
  }
}
