/*
Theme Name: Cornelia Durka
Theme URI: https://www.corneliadurka.net/
Author: Cornelia Durka
Author URI: https://www.corneliadurka.net/
*/



img,
embed,
object,
video {
    max-width: 100%;
    /*-to prevent overflow from its container-*/
}

body {
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

::selection {
    background: none;
    background: black;
    color: white;
}

.container{
    display: block;
    position: relative;
    padding: 15px;
     z-index: 2 !important;
}

.content {
    display: table;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 300px;
    height: 180px;
    background-color: white;
}

.box {
    display: block;
    margin: auto;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 300px;
    height: 180px;
    background-color: transparent;
    z-index: 3 !important;
}

.white-box {
    display: block;
    margin: auto;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 300px;
    height: 180px;
    background-color: white;
    z-index: 1 !important;
}


header{
    margin-top: 55px;
     text-align: center;
    vertical-align: middle;    
}

footer{
    display: table;
    margin: auto;
    position: absolute;
    bottom: 15px;
    right: 15px;
    text-align: right;
}

/* work-sans-regular - latin */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/work-sans-v18-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/work-sans-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/work-sans-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/work-sans-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/work-sans-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/work-sans-v18-latin-regular.svg#WorkSans') format('svg'); /* Legacy iOS */
}
/* work-sans-500 - latin */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/work-sans-v18-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/work-sans-v18-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/work-sans-v18-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/work-sans-v18-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/work-sans-v18-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/work-sans-v18-latin-500.svg#WorkSans') format('svg'); /* Legacy iOS */
}

/* font */
h1 {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 500;
    font-size: 1rem;
    color: black;
}

h2 {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    color: black;
}

p{
   font-family: 'Work Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    color: black;
}
a {
    text-decoration: none;
    color: black;
}

/* keyframes */
/* Maria Montessori zaehlt bis zehn: */
body {
    background-color: tomato;
    -webkit-animation: random 40s infinite step-end;
    animation: random 40s infinite step-end;
}

@keyframes random {

    0% {
        background-color: tomato;
    }

    10% {
        background-color: mediumseagreen;
    }

    20% {
        background-color: lightcoral;
    }

    30% {
        background-color: gold;
    }

    40% {
        background-color: cornflowerblue;
    }

    50% {
        background-color: purple;
    }

    60% {
        background-color: whitesmoke;
    }

    70% {
        background-color: sienna;
    }

    80% {
        background-color: steelblue;
    }

    90% {
        background-color: darkgoldenrod;
    }
}

