html, body {
    font-family: 'Istok Web', 'sans-serif';
    font-size:16px;
	min-height: 100%;
}

h3 {
    font-size: 18px;
    font-weight: 400;
}

.container {
    display: flex;
    background: #575f6f;
    max-width: 1044px;
    margin: auto;
    flex-wrap: wrap;
    padding-bottom: 1rem;
}

.styled-select {
    /* width:80px; */
    overflow:hidden;
}

.styled-select select {
    /* width: 100px; */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 2px 2px 2px 2px;
    border: none;
    
}

.question .styled-select select {
    background: #dedfe3 url("https://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png") no-repeat 98% center;
}

.birthyear .styled-select select {
    background: #dedfe3 url("https://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png") no-repeat 95% center;
}

#teaser {
    width: 35%;
    padding-left: 2rem;
    padding-right: 2rem;
    color: white;
    line-height: 120%;
}

#teaser h2 {
    font-size: 22px;
    line-height: 120%;
}

#teaser p {
    font-style: italic;
    line-height: 120%;
    
}

#content {
    display: flex;
    flex-wrap:wrap;
    width: 56%;
    color: white;
}

.logo {
    width: auto;
}

.select-container {
    display: flex;
    height: 0%;
    flex-wrap: nowrap;
    
}

.birthyear {
    margin-right: 1rem;
    min-width: 8rem;
    font-weight: 600;
}


.question {
    min-width: 15rem;
    font-weight: 600;
}

#year-select, #question-select {
    height: 45px;
}

#year-select {
    width: 100%;
    font-size: 18px;
}

#question-select {
    width: 100%;
    font-size: 18px;
    padding-right: 2rem;
}

select, option.selected {
    width: 150px;
    overflow: hidden; 
    white-space: nowrap; 
    text-overflow: ellipsis;
    
}

.swiper-container {
    display: none;
    width: 600px;
    margin-top: 3rem;
}

.swiper-wrapper {
    margin-top: 1rem;
}

.swiper-slide {
    background:#666c7c;
}

.swiper-button-prev, .swiper-button-next {
   /*  height:30px;
    width:30px; */
    background: #b2babd;
    position:relative;

}

.swiper-button-prev{
    height:30px;
    width:30px;
    position:absolute;
}

.swiper-button-next {
    height:30px;
    width:30px;
    position: absolute;
}


.swiper-button-prev:after {
    /* content:"\2039";
    font-size:30px;
    color: black; */
    content:"\A";
    border-style: solid;
    border-width: 8px 11px 8px 0;
    border-color: transparent #5d6065 transparent transparent;
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 99;
}

.swiper-button-next:after {
    content:"\A";
    border-style: solid;
    border-width: 8px 0 8px 11px;
    border-color: transparent transparent transparent #5d6065;
    position: absolute;
    left: 11px;
    top: 8px;
    z-index: 99;
}

.answer {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
    padding-bottom: 2rem;
}

.answer p {
    font-size: 16px;
    font-weight: 400;
    line-height: 110%;

}

.answer-counter {
    font-size: 12px;
}



@media all and (max-width: 1003px) {
    .container {
        flex-direction: column;
    }

    #teaser {
        width: 92%;
    }

    #content {
        width: 92%;
        position: relative;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .swiper-container {
        width: 100%;
    }
}

@media all and (max-width: 600px) {
    .container {
        padding: 1rem;
		flex-direction: row;
		height: 100%;
    }

    #teaser {
        width: 100%;
        padding: 0;
    }

    #content {
        padding: 0;
        width: 100%;
    }

    .select-container {
        flex-wrap: wrap;
        order: 1;
        margin-top: 0;
        
    }

    .birthyear {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-right: 0;
        
    }

    .birthyear div{
        width: 110px;
        
    }

    .swiper-container {
        position: relative;
        order: 2;
        margin-top: 5rem;
    }

    .logo {
        width: 100%;
    }

    .answer p {
        font-size: 14px;
    }
}
