/* 
author: Baumann Danièl
created: 2022-09-29
changed: 2023-06-05
version: 2.2
*/

/* General Styling */

:root {
    --header-height: 6rem;
    --footer-height: 4rem;
    --header-footer-color: #232323;
    --primary-color: #0ca7b0;
    --secondary-color: #bb06cf;
    --white: #e1e1e1;
    --gray: #232323;
    --background-color: #e1e1e1;
}


a{
    text-decoration: none;
    color: unset;
    border: none;
    padding: none;
    margin: none;
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 100vh;
    display: grid;
    grid-template-rows: 6rem auto 6rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: var(--background-color);
    /* background-image: url("../images/wall-1801952.jpg");
    background-repeat: none;
    background-size: cover;
    background-position: center; */
}

.vspace {
    display: inline-block;
    width: 100%;
    height: .4rem;
}

.bold{
    font-weight: bold;
}

.header {
    grid-row: 1;

    height: var(--header-height);
    width: 100vw;
    user-select: none;
    position: relative;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.header .logo{
    position: absolute;
    top: 0;
    left: 0;
    height: var(--header-height);
}

.header .logo img{
    height: 100%;
}

.header,
.footer {
    background-color: var(--header-footer-color);
    color: #fff;
}

.content {
    grid-row: 2;
}

.footer {
    grid-row: 3;

    width: 100vw;
    height: var(--footer-height);
    display: flex;
    font-size: 0.8rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-nav{
    display: flex;
    flex-direction: row;
}

.content {
    position: relative;
    /* max-width: 1050px;
    width: 90%; */
    /* align-items: center; */
    
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: calc(100vh - var(--header-height) - var(--footer-height));
    filter: none;
    padding: 1rem 4rem;
    overflow-y: scroll;
    backdrop-filter: blur(2px);
}

.btn-inverse{
    display: block;
    padding: .2rem 1.4rem;
    margin: .4rem 1rem ;
    border-radius: 1rem;
    transition: all 250ms ease-out;
    border: 1px solid var(--primary-color);
}

.btn-inverse:hover,
.btn-inverse:focus,
.btn-inverse:focus-within{
    background-color: var(--primary-color);
}

.content-head{
    background-color: #0ca7b0;
    padding: 1.4rem 0.8rem;
    font-size: 1.4rem;
    border-radius: 0.6rem;
    text-align: center;
    color: var(--gray);
}

.section{
    padding: 0.8rem;
    margin-top: 2rem;
    background-color: rgb(23, 23, 23,0.85);
    color: var(--white);
    border-radius: 0.6rem;
}

.section-head{
    font-weight: bold;
    font-size: 1.1rem;
    padding-bottom: 0.4rem;
}

/* Smarthpone */

/* @media only screen and (min-device-width: 200px) and (max-device-width: 813px) { */

.footer,
.logo {
    transition: filter 300ms ease-out;
}

.blured {
    filter: blur(1.6px);
    transition: filter 300ms ease-out;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

/* Mobile Menu */

.navbar {
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    z-index: 10;
}

.navbar .nav-container li {
    list-style: none;
}

.navbar .nav-container a {
    text-decoration: none;
    color: rgb(240, 248, 255);
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.7rem;
}

.nav-container {
    display: block;
}

.nav-container .checkbox {
    position: absolute;
    display: block;
    font-size: 1em;
    height: 1.62em;
    width: 1.68em;
    top: 1.8em;
    right: .98em;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

.nav-container .hamburger-lines {
    display: block;
    height: 1.35em;
    width: 1.6em;
    position: absolute;
    top: 2em;
    right: 1em;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-container .hamburger-lines .line {
    display: block;
    z-index: 20;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #fff;
}

.nav-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
}

.navbar{
    position: absolute;
}

.navbar .menu-items {
    background-color: rgba(10, 10, 10, 0.75);
    height: 100vh;
    max-height: 0;
    width: 100vw;
    display: flex;
    opacity: 0;
    justify-content: center;
    flex-direction: column;

    transition: all 0.3s ease-in-out;
    position: absolute;
    left:0;
    z-index: 2;
}

.navbar .menu-items li {
    position: relative;
    font-size: 1.3rem;
    padding: 1rem 0;
    height: 4rem;
    width: max-content;
    left: 6rem;
    border-bottom: 1px solid var(--primary-color);
}

.navbar .menu-items li:hover {
    background-color: var(--primary-color);
}

.navbar .menu-items li:last-child {
    border: none;
}

.logo {
    position: absolute;
    top: 1rem;
    right: 15px;
}

.nav-container input[type="checkbox"]:checked~.menu-items {
    opacity: 1;
    max-height: 100vh;
    
}

.nav-container input[type="checkbox"]:checked~.hamburger-lines .line1 {
    transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked~.hamburger-lines .line2 {
    transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked~.hamburger-lines .line3 {
    transform: rotate(-45deg);
}

.nav-container .hamburger-lines:hover .line{
    background-color: var(--primary-color);
}

/* Content Mobile */

.content {
    font-size: 1rem;
}

.content p{
    margin: 1rem 0;
}



/* about */

.team{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.team .person{
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team .person img{
    width: 4rem;
}