*{box-sizing: border-box}

/* Header */
header {

    width: 100%;
    height: 80px;
    background-color: #fff;
    box-shadow: 0px 1px 5px rgba(0,0,0,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 999;
}

#Logo_FHNW img {
    height: 60px;
    display: flex;
    align-items: center;
}

#Titel_mit_menu {
    display: flex;
    flex-direction: column;
}

#Otitel_FHNW h1{
    font-family: verdana,sans-serif;
    font-size: 1em;
    color: #000;
    margin: 0;
    padding: 0;
    line-height: 25px;
    height: 25px;
    text-decoration: none;
}

#Utitel_FHNW h1 {
    font-family: verdana,sans-serif;
    font-size: 18px;
    color: #000;
    font-weight: normal;
    margin: 0;
    padding: 0;
    line-height: 25px;
    height: 25px;
    text-decoration: none;
}

/*Banner*/
#banner{
    width: 100%;
    margin-bottom:-7px;
    margin-bottom: 40px;
}

#banner img{
    max-width: 100%;
}


/*Zurück Knopf Header*/
#back-button {
    font-family: verdana, sans-serif;
    font-size: 18px;
    color: #000;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

#back-button:hover {
    text-decoration: underline;
}



/*Content*/
#Content_FHNW {
    font-family: verdana, sans-serif;

    display: flex;
    flex-direction: column;
    text-align: left;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    width: 100%;
    border: 20px solid #b5651d;
    background: radial-gradient(circle at center, #033e27, #008c49);
    color: white;
}

.content{
    margin-bottom:50px;
    padding: 0px 180px;
}

/* Video */
video{
    object-fit: contain;
    overflow-clip-margin: content-box;
    overflow: clip;
    width: 100%;
    height:auto;
}


/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typography */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Press Start 2P', Verdana;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    display:flex;
    width: fit-content;
    font-size: clamp(1rem, 11.3vw, 11rem);
}

h4, h5 {
    text-transform: uppercase;
    font-size: 24px;
    text-shadow: 2px 2px 2px #000;
}

p {
    margin-bottom: 1rem;
}

/* Links */
a {
    color: #0077c2;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/*Stichwort Cards*/
.card-container {
    display: flex;
    flex-wrap: wrap;
}
.card {
    background-color: rgba(5, 5, 5, 0.1);
    border-radius: 10px;
    height: auto;
    position: relative;

    padding: 20px;
    margin: 10px;

    display: inline-block;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    display: inline-block;
    margin: 5px 0px;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: #ccc;
    color: #fff;
    font-size: 16px;
    transition: background-color 0.3s ease;
    font-weight: bold;
    cursor: default;
}

.button-color-1{
    background-color: #084dbe;
}
.button-color-2{
    background-color: #88e2e1;
}
.button-color-3{
    background-color: #df9b21;
}
.button-color-4{
    background-color: #8d2324;
}

.link:hover {
    color:black;
    transform: translateY(-5px);
    cursor: pointer;
}

a {
    color: #fff;
    text-decoration: none;
}

.card h4 {
    text-align: center;
    margin: auto;
    padding-bottom: 15px;
    color: black;
    text-decoration: none;
    font-size: 100%;
    font-weight: bold;
}

.stichwort {
    cursor: default;
    background-color: blue;
    border-radius: 5px;
    font-weight: 700;
    display: inline-block;
    padding: 0 10px;
    margin: 3px;
    line-height: 1.5;
    font-size: 0.875rem;
    color: white;
    vertical-align: middle;
    white-space: nowrap;
}

.stichwort a {
    text-decoration: none;
    color: white;
}

/*Primeo Box*/

#primeo-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.primeo-box {
    flex-basis: 45%;
    line-height: 1.2;
    padding: 10px 0px 10px 0px;
    margin: 10px 10px;
    text-align: center;
    background-color: rgba(5, 5, 5, 0.1);
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    display: inline-block;
    height: 180px;


}
.primeo-box-name{
    font-weight: bold;
    font-size: 1.5em;
    padding-bottom: 10px;!important;
}
.primeo-box p{
    margin-bottom: 5px;
}
.primeo-box li{
    margin-top: 10px;
    margin-bottom: 0px;
}
.primeo-box img{
    max-width: 50%;
    text-align: center;
    vertical-align: middle;
    padding: 15px 0px;
}



/*Contact Boxes*/

#contact-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-box {
    flex-basis: 30%;
    line-height: 1.2;
    padding: 10px 0px 0px 0px;
    margin: 10px auto;
    text-align: center;
    background-color: rgba(5, 5, 5, 0.1);
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}
.contact-box-name{
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 5px;
}





/*Table Team*/

.three-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.team-box {
    flex-basis: 30%;
    line-height: 1.2;
    padding: 10px 10px 20px 10px;
    margin: 10px auto;
    text-align: center;
    background-color: rgba(5, 5, 5, 0.1);
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}
.team-box p{
    margin-bottom: 5px;
}


.team-box-name{
    font-weight: bold;
    font-size: 1.5em;
    padding-bottom: 10px;!important;
}
.team-box img{
    object-fit: contain;
    width: 200px;
    height: 200px;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

th, td {
    padding: 12px 0px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {

    color: white;
}

/* Slideshow */

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
    color: #fff;
    background-color: #b5651d;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}


/* Footer */

footer {
    width: 100%;
    height: 60px;
    background-color: #fff;
    box-shadow: 0px 1px 5px rgba(0,0,0,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 999;
}

.footer-wrapper {
    margin-left: 10px;
}

/*Zurück Knopf Footer*/
#back-button-footer {
    font-family: verdana, sans-serif;
    font-size: 18px;
    color: #000;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

#back-button-footer:hover {
    text-decoration: underline;
}






/* Media queries */
@media only screen and (max-width: 767px) {
    header {
        height: auto;
        padding: 10px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #Logo_FHNW {
        position: static;
        margin-bottom: 10px;
        display: none;
    }

    #Otitel_FHNW h1,
    #Utitel_FHNW h1 {
        position: static;
        text-align: center;
        margin: 0;
        padding: 0;
        line-height: 25px;
        height: 25px;
        display: none;
    }

    .content{
        margin-bottom:50px;
        padding: 0px 20px;
    }

    .team-box {
        flex-basis: 100%;}

    .primeo-box {
        flex-basis: 100%;}

    .contact-box {
        flex-basis: 100%;}

}
