@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Oxygen&family=Ubuntu:wght@300;400&display=swap');

/* Website stefaniedrinndoerfer */
/* Startseite */


/* Reset *****/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html{
    position: relative;
    min-height: 100%;
    font-size: 100%;  /* Browserstandard: 16px */
}

/* Layout *****/

.wrapper{
    max-width: 1200px;
    margin: 0 auto; 
}

img{
    max-width: 100%;
}

header{ 
        background:#f1223b; 
        height: 100px;
        text-align: center;
        z-index: 1;    
}

.flex-container-1{ 
        background-color: #fabcd5;
        height: 100vh; 
        display: flex;
        flex-wrap: wrap;
        margin-top: 5%;
        margin-bottom: 3%;
        justify-content: space-evenly;
        align-items: center;
        overflow-y: hidden;
} 


.flex-container-1 > * {
        flex-grow: 0;
        flex-shrink: 1;
        flex-basis: 600px;
}
    
aside { 
    padding: 3% 1em;
}

.main-teaser-pic{
    max-width: 600px;
}

article {
        text-align: center;
        padding: 20px 0;
}

.box{
    width: 100%; 
}

.special {
    background-color: transparent;
}

.grid-container { 
        height: 100vh; 
        display: grid; 
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 45% 45%;
        row-gap: 1rem;
        column-gap: 1rem;
        text-align: center;
        margin-bottom: 5vh !important;
} 

.grid-item-1 { 
        background: #ececec; 
        grid-column-start:1; 
        grid-column-end:1; 
        grid-row-start:1; 
        grid-row-end:1; 
        padding: 5%;
} 

.grid-item-2 { 
        background: #ececec; 
        grid-column-start:2; 
        grid-column-end:2; 
        grid-row-start:1; 
        grid-row-end:1; 
        padding: 5%;
} 

.grid-item-3 { 
        background: #ececec; 
        grid-column-start:3; 
        grid-column-end:3; 
        grid-row-start:1; 
        grid-row-end:1; 
        padding: 5%;
} 

.grid-item-4 { 
        background: #ececec; 
        grid-column-start:1; 
        grid-column-end:1; 
        grid-row-start:2; 
        grid-row-end:2; 
        padding: 5%;
} 

.grid-item-5 { 
        background: #ececec; 
        grid-column-start:2; 
        grid-column-end:2; 
        grid-row-start:2; 
        grid-row-end:2; 
        padding: 5%;
} 

.grid-item-6 { 
        background: #ececec; 
        grid-column-start:3; 
        grid-column-end:3; 
        grid-row-start:2; 
        grid-row-end:2;   
        padding: 5%;
} 

.middle {
        text-align: center;
        width: 60%;
        margin: 0 20%;
}

.year {
        background-color: #f1223b;
        color: white;
        font-size: 1.67vw;
        border-radius: 20%;
        padding: 10px;
        text-align: center;
        display: inline-block;
        margin: 1.5rem 0;
}

        /* Adaptive to Screen */

        .year {
            font-size: 24px;
            font-size: 1.67vw;   
        }

        @media screen and (min-width: 480px) {
        body{
        font-size: calc(20px + (24 - 12) * ((100vw - 480px) / (1200 - 480)));
        line-height: calc(22px + (26 - 13) * ((100vw - 480px) / (1200 - 480)));
        }
        }
        @media screen and (min-width: 992px) {
        body {
        font-size: 24px;
        }
        }

/* Accordion */

.accordion {
        background-color: #fabcd5;
        color: black;
        cursor: pointer;
        padding: 5px 5px 5px 50px;
        width: 100%;
        border: none;
        text-align: center;
        outline: none;
        font-family: 'Ubuntu', sans-serif; 
        font-weight: 400;
        font-size: 1.7vw;
        text-transform: uppercase;
        transition: 0.4s;
}


            /* Adaptive to Screen */

            .accordion {
                font-size: 24px;
                font-size: 1.7vw;
            }
            @media screen and (min-width: 480px) {
            .accordion{
            font-size: calc(14px + (24 - 12) * ((100vw - 480px) / (1200 - 480)));
            }
            }
            @media screen and (min-width: 992px) {
            .accordion {
            font-size: 24px;
            }
            }

  
  .active, .accordion:hover {
        background-color: #ececec; 
  }
  
  .panel {
        padding: 10px 18px;
        display: none;
        background-color: white;
        overflow: hidden;
  }

  .accordion:after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 1.3vw;
    float: right;
    margin-right: 20px;
  }
  
  .active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
  }


/* Impressum und Datenschutz */

.box-data-files{
    margin-bottom: 35vw !important;
}

.box-data-files-2{ 
    margin-bottom: 3vw !important;
}

/* Allgemeine Definition der Schriften */

body{
    font-family: 'Oxygen', sans-serif;
    font-weight: 400;
    color: #130f01;
    background-color: #cacaca;
    font-size: 1.1vw;
    line-height: 1.8vw;
}

    /* Adaptive to Screen */

            body {
                font-size: 16px;
                font-size: 1.1vw;
            }
            @media screen and (min-width: 480px) {
            body{
            font-size: calc(12px + (16 - 8) * ((100vw - 480px) / (1200 - 480)));
            line-height: calc(16px + (26 - 13) * ((100vw - 480px) / (1200 - 480)));
            }
            }
            @media screen and (min-width: 992px) {
            body {
            font-size: 16px;
            line-height: 26px;
            }
            }

/* Typographie *****/

h1{
    font-family: 'Ubuntu', sans-serif; 
    font-weight: 400;
    font-size: 4.2vw;
    line-height: 5.2vw;
    text-align: right;
    color: #f1223b;
    margin-bottom: 3%;
    margin-right: 5%;
}
    /* Adaptive to Screen */

            h1, h1.align_left { 
                font-size: 4.2vw;
                font-size: 60px;
            }
             @media screen and (min-width: 480px) {
            h1, h1.align_left {
             font-size: calc(30px + (60 - 30) * ((100vw - 480px) / (1200 - 480)));
            }
            }
            @media screen and (min-width: 992px) {
             h1, h1.align_left {
            font-size: 60px;
            line-height: 74px;
            }
            }

h1.align_left{
    text-align: left;
    margin-top: 5%;
    margin-bottom: 5%;
}

h2{
    font-family: 'Ubuntu', sans-serif; 
    font-weight: 300;
    color: #130f01;
    font-size: 3vw;
    line-height: 3.9vw;
    text-align: right;
    margin-right: 5%;
    margin-left: 3%;
}

            /* Adaptive to Screen */

            h2, h2.align_left {
                font-size: 3vw;
                font-size: 38px;
            }
            @media screen and (min-width: 480px) {
            h2, h2.align_left {
            font-size: calc(19px + (38 - 19) * ((100vw - 480px) / (1200 - 480)));
            }
            }
            @media screen and (min-width: 992px) {
            h2, h2.align_left {
            font-size: 38px;
            line-height: 56px;
            }
            }

h2.align_left{
    text-align: left;
    margin-left: 0;
    margin-top: 3%;
}

h3, h4, h5, h6{
    font-family: 'Ubuntu', sans-serif; 
    font-weight: 400;
    color: black;
    background-color: #fabcd5;
    text-transform: uppercase;
    text-align: center;
    padding: 5px;
    margin-bottom: 1rem;
}


h3{
    font-size: 2.5vw;
    line-height: 3.5vw;
}

        /* Adaptive to Screen */

        h3 {
            font-size: 2.5vw;
            font-size: 36px;
        }
        @media screen and (min-width: 480px) {
        h3 {
        font-size: calc(22px + (36 - 18) * ((100vw - 480px) / (1200 - 480)));
        }
        }
        @media screen and (min-width: 992px) {
        h3 {
        font-size: 36px;
        line-height: 50px;
        }
        }


h4{
    font-size: 2.0vw;
    line-height: 3vw;
}

        /* Adaptive to Screen */

        h4 {
            font-size: 2.0vw;
            font-size: 30px;
        }
        @media screen and (min-width: 480px) {
        h4 {
        font-size: calc(18px + ( 30 - 15) * ((100vw - 480px) / (1200 - 480)));
        }
        }
        @media screen and (min-width: 992px) {
        h4 {
        font-size: 30px;
        line-height: 42px;
        }
        }

h5{
    font-size: 2vw;
    line-height: 2.8vw;
}

        /* Adaptive to Screen */

        h5 {
            font-size: 2vw;
            font-size: 28px;
        }
        @media screen and (min-width: 480px) {
        h35{
        font-size: calc(16px + ( 28 - 14) * ((100vw - 480px) / (1200 - 480)));
        }
        }
        @media screen and (min-width: 992px) {
        h5 {
        font-size: 28px;
        line-height: 40px;
        }
        }

h6{
    font-size: 1.7vw;
    line-height: 2.5vw;
}

        /* Adaptive to Screen */

        h6 {
            font-size: 1.7vw;
            font-size: 24px;
        }
        @media screen and (min-width: 480px) {
        h6 {
        font-size: calc(14px + ( 24 - 12) * ((100vw - 480px) / (1200 - 480)));
        }
        }
        @media screen and (min-width: 992px) {
        h6 {
        font-size: 24px;
        line-height: 36px;
        }
        }

.hl-between, .hl-between-2{
    font-size: 2.25vw;
    line-height: 2.6vw;
    text-align: center;
    display: inline-block;
    color: white;
    background-color: #f1223b;
    padding: 8px 10px;
    margin-bottom: 2rem;
    margin-top: 3rem;
}
             /* Adaptive to Screen */

            .hl-between, .hl-between-2 {
                font-size: 2.25vw;
                font-size: 32px;
            }
            @media screen and (min-width: 480px) {
            .hl-between, .hl-between-2 {
            font-size: calc(20px + (32 - 16) * ((100vw - 480px) / (1200 - 480)));
            }
            }
            @media screen and (min-width: 992px) {
            .hl-between, .hl-between-2 {
            font-size: 32px;
            line-height: 36px;
            }
            }

.hl-between-2{
    margin-bottom: 0.8rem;
}

p.intro-copy {
    font-size: 1.25vw;
    line-height: 2.1vw;
    color: white;
    width: 70%;
    margin: 0 15% 15px;
    text-align: center;
}

             /* Adaptive to Screen */

            p.intro-copy {
            font-size: 1.25vw;
            font-size: 18px;
            }
            @media screen and (min-width: 480px) {
            p.intro-copy  {
            font-size: calc(12px + (18 - 9) * ((100vw - 480px) / (1200 - 480)));
            line-height: calc(16px + (30 - 15) * ((100vw - 480px) / (1200 - 480)));
            }
            }
            @media screen and (min-width: 992px) {
            p.intro-copy {
            font-size: 18px;
            line-height: 30px;
            }
            }

a {
    color: #f1223b;
    text-decoration: none;
}

a:hover {
    color: black;
    background-color: #fabcd5;
}


blockquote{
    display: inline-block;
    margin: 0 25% 3rem;
    text-align: center;
    font-family: 'Oxygen', sans-serif;
    font-weight: 400;
    color: black;
    font-size: 2.8vw;
    line-height: 3.3vw;
}

blockquote::before{
    content: "\201C"; &nbsp;
    font-family: Georgia, serif;
    font-size: 6vw;
    font-weight: bold;
    color: #f1223b;
  }

.quote {
    font-family: 'Oxygen', sans-serif;
    font-weight: 400;
    color: white;
    text-transform: uppercase;
    font-size: 1.3rem;
    line-height: 2rem;
    display: inline-block;
}


/* Navigation *****/

ul#navigation{
    float: left;
    margin-top: 2em;
}

ul#navigation li{
    display: inline;
    list-style: none;
    margin-right: 2.5em;
    position: relative;
}

:root {
    --mainColor: #fabcd5;
  }

ul#navigation li a{
    font-family: 'Oxygen', sans-serif;
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1.9rem;
    color: white;
    text-transform: uppercase;
    background:
       linear-gradient(
         to bottom, var(--mainColor) 0%,
         var(--mainColor) 100%
       );
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 4px 4px;
    text-decoration: none;
    transition: background-size .3s;
}
  
ul#navigation li a:hover{
    color: black;
    background-color: #fabcd5;
    padding: 2px;
    text-decoration: none;
    background-size: 4px 50px;
}

.btn{
    display: none;
}

/* Sticky Footer *****/

#footer{
    background-color: #fff;
    padding: 1.25rem 2rem 3rem;
    min-height: 80px;
    position: absolute;
    left: 0;
    bottom:-7%;
    width: 100%;
}

/* Footer Box und Typo *****/

.footer-box, .footer-box-2{
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.footer-hl, .footer-links{
    font-size: 1.125rem;
    line-height: 2rem;
    font-weight: 400;
    color: #000;
}

        /* Adaptive to Screen */

            .footer-hl, .footer-links{
            font-size: 1.125vw;
            font-size: 16px;
            }
            @media screen and (min-width: 480px) {
            .footer-hl, .footer-links {
            font-size: calc(12px + (16 - 8) * ((100vw - 480px) / (1200 - 480)));
            line-height: calc(18px + (28 - 14) * ((100vw - 480px) / (1200 - 480)));
            }
            }
            @media screen and (min-width: 992px) {
            .footer-hl, .footer-links {
            font-size: 16px;
            line-height: 28px;
            }
            }

.footer-links-2 {
    font-size: 32px;
}

.footer-hl{
    color: #f1223b;
    background-color: #fff;
}

.footer-links a{
    color: #000;
    text-decoration: none;
    padding: 0 10px;
}

.footer-links a:hover{
   color: #f1223b;
}


.row {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
    background-color: white;
  }
  
  /* Responsive Image Grid */
  /* Four columns */
  .column {
    -ms-flex: 12.5%; /* IE10 */
    flex: 12.5%;
    max-width: 12.5%;
    padding: 0 5px;
  }
  
  .column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
  }
  
  /* Responsive layout - two column-layout instead of four columns */
  @media screen and (max-width: 992px) {
    .column {
      -ms-flex: 25%;
      flex: 25%;
      max-width: 25%;
    }
  }
  
  /* Responsive layout - two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .column {
      -ms-flex: 50%;
      flex: 50%;
      max-width: 50%;
    }
  }


/* Media Queries Layout *****/

/* On screens that are 992px or less */

@media screen and (max-width: 992px) {

header { 
    height: 120px;
}

.aside {
        max-height: 50vh;
}

.main-teaser{
    max-height: 50vh;
    }

#about, #competence {
    margin-top: -5vh !important;
    }

#contact {
    margin-top: 20vh !important;
}

.grid-container { 
    height: 80vh; 
    display: grid; 
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    row-gap: 1rem;
    column-gap: 1rem;
    text-align: center;
} 

.grid-item-1 { 
    background: #ececec; 
    grid-column-start:1; 
    grid-column-end:1; 
    grid-row-start:1; 
    grid-row-end:1; 
    padding: 3%;
} 

.grid-item-2 { 
    background: #ececec; 
    grid-column-start:2; 
    grid-column-end:2; 
    grid-row-start:1; 
    grid-row-end:1; 
    padding: 3%;
} 

.grid-item-3 { 
    background: #ececec; 
    grid-column-start:1; 
    grid-column-end:1; 
    grid-row-start:2; 
    grid-row-end:2; 
    padding: 3%;
} 

.grid-item-4 { 
    background: #ececec; 
    grid-column-start:2; 
    grid-column-end:2; 
    grid-row-start:2; 
    grid-row-end:2; 
    padding: 3%;
} 

.grid-item-5 { 
    background: #ececec; 
    grid-column-start:1; 
    grid-column-end:1; 
    grid-row-start:3; 
    grid-row-end:3; 
    padding: 3%;
} 

.grid-item-6 { 
    background: #ececec; 
    grid-column-start:2; 
    grid-column-end:2; 
    grid-row-start:3; 
    grid-row-end:3;   
    padding: 3%;
} 

#footer{
    bottom:-5%;
}

}

/* 759px or less */

@media screen and (max-width: 759px){

.aside {
    width: 100%;
    max-height: 50vh;
    }

.main-teaser{
    width: 100%;
    max-height: 50vh;
    }

#about, #competence {
    margin-top: -5vh !important;
}

#references { 
    margin-top: 50vh !important;
}

#contact { 
    margin-top: 60vh !important;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20em, 1fr));
    margin-bottom: 40vh !important;
}

.grid-item-1,
.grid-item-2,
.grid-item-3,
.grid-item-4,
.grid-item-5,
.grid-item-6 {
grid-column: 1 / -1;
grid-row: span 1;
}

#footer{
    bottom:-5%;
}

/* layout mobile screen 480px or less */    
        
/* Navigation small screen and mobile */

#navigation {
    background-color: #f1223b;
    width: 100vw;
    z-index: 1;
}

/* Hide menu */
.menu{
    display: none;
}

.container{
    width: 100%;
}

/* Hamburger */

.btn{
    top: 0;
    left: 0;
    height: 60px;
    width: 60px;
    padding: 16px;
    background: black;
    position: absolute;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

.btn .bar1, .btn .bar2, .btn .bar3{
    height: 4px;
    width: 100%;
    display: block;
    background: white;
}

/* close btn */

.close-btn{
    top: 0;
    left: 0;
    height: 60px;
    width: 60px;
    padding: 20px;
    background: black;
    position: absolute;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

.close-btn .bar1{
    transform: rotate(-130deg);
    height: 4px;
    width: 90%;
    display: block;
    background: white;
    position: absolute;
}

.close-btn .bar2{
    display: none;
}

.close-btn .bar3{
    transform: rotateZ(130deg);
    height: 4px;
    width: 90%;
    display: block;
    background: white;
    position: absolute;
}

/*  Menu styling */

.open-menu{
    width: 100%;
    height: 100vh;
    background-color: #f1223b;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 5s all;
    z-index: 1
}

.open-menu ul{
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}

.open-menu ul li{
    list-style: none;
    padding: 10px;
}

.open-menu ul li a{
    text-decoration: none;
    font-size: 4vw !important;
}

.open-menu ul li a:hover{
transition: 0.2s all;
}
}

/* 600px or less */

@media (max-width: 600px) {

.aside {
    width: 100%;
    max-height: 50vh;
}
.main-teaser{
    width: 100%;
    max-height: 50vh;
    }

#about{
    margin-top: -5vh !important;
}

#competences {
    margin-top: -20vh !important;
}

#cv {
    margin-top: 5vh !important;
}

#references { 
    margin-top: 50vh !important;
}

#contact { 
    margin-top: 50vh !important;
}

.grid-container {
		display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
	}

.grid-item-1,
.grid-item-2,
.grid-item-3,
.grid-item-4,
.grid-item-5,
.grid-item-6 {
    grid-column: 1 / -1;
	grid-row: span 1;
}

#footer{
    bottom: -4%;
}

/* Navigation small screen and mobile */
 
#navigation {
    background-color: #f1223b;
    width: 100vw;
    z-index: 1;
}
/* Hide menu */

.menu{
    display: none;
}

.container{
    width: 100%;
}

/* Hamburger */

.btn{
    top: 0;
    left: 0;
    height: 60px;
    width: 60px;
    padding: 16px;
    background: black;
    position: absolute;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

.btn .bar1, .btn .bar2, .btn .bar3{
    height: 4px;
    width: 100%;
    display: block;
    background: white;
}

/* close btn */

.close-btn{
    top: 0;
    left: 0;
    height: 60px;
    width: 60px;
    padding: 20px;
    background: black;
    position: absolute;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

.close-btn .bar1{
    transform: rotate(-130deg);
    height: 4px;
    width: 90%;
    display: block;
    background: white;
    position: absolute;
}

.close-btn .bar2{
    display: none;
}

.close-btn .bar3{
    transform: rotateZ(130deg);
    height: 4px;
    width: 90%;
    display: block;
    background: white;
    position: absolute;
}

/*  Menu styling */

.open-menu{
    width: 100%;
    height: 100vh;
    background-color: #f1223b;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 5s all;
    z-index: 1;
}

.open-menu ul{
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}

.open-menu ul li{
    list-style: none;
    padding: 10px;
}

.open-menu ul li a{
    text-decoration: none;
    font-size: 4vw !important;
}

.open-menu ul li a:hover{
transition: 0.2s all;
}

}

/* typography and layout for mobile */

@media screen and (max-width: 480px) and (min-width: 320px) {
    
    body{
        font-size: 18px;
        line-height: 30px;
    }

    h1, h1.align_left { 
        font-size: 60px;
        line-height: 74px;
    }

    h2, h2.align_left {
        font-size: 38px;
        line-height: 56px;
    }

    h3 {
        font-size: 36px;
        line-height: 50px;
    }

    h4 {
        font-size: 30px;
        line-height: 42px;
    }

    h5 {
        font-size: 28px;
        line-height: 40px;
    }

    h6 {
        font-size: 24px;
        line-height: 36px;
    }

    .hl-between, .hl-between-2 {
        font-size: 32px;
        line-height: 36px;
    }

    p.intro-copy {
        font-size: 18px;
        line-height: 30px;
        }

    .accordion, .year {
        font-size: 20px;
        line-height: 32px;
        }

    .accordion:after,.active:after {
        font-size: 18px;
        }

    blockquote{
        font-size: 40px;
        line-height: 52px;
    }
        
    blockquote::before{
        font-size: 84px;
    }
        
    .quote {
        font-size: 20px;
        line-height: 28px;
    }

    #references { 
        margin-top: 200vh !important;
    }

    #contact { 
        margin-top: 200vh !important;
    }
}

/* Druckformatierung */

@media print {
    #header, #footer{
    display: none;
    }
}