* {
    box-sizing: border-box;
}

:root {
    --bg-color: white;
    --bgtwo-color: #1162b3;
    --text-color: black;
    --accent-color: #2290ff;
    --accent-green: rgb(42, 77, 42);
    --impressum-color: rgb(148, 3, 3);
    --alt-color: rgb(7, 2, 31);
}

.darkmode {
    --bg-color: #070b1d;
    --bgtwo-color: #0c1127;
    --text-color: white;
    --accent-color: #2290ff;
    --accent-green: rgb(0,150,0);
    --cool: rgba(255,255,255,1);
    --alt-color: white;
}

.material-symbols-outlined {
    font-variation-settings: 
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}

#cardio {
    background-color: var(--bg-color);
    border: solid 1px var(--text-color.0.3);
    box-shadow: 0 0 5px var(--bg-color);
    font-size: 1.25rem;
    background: rgba(0,0,0,0);
}

#switch {
    width: 3rem;
    height: 3rem;
    padding: 2rem;
    padding-bottom: -1rem;
    margin-bottom: 0;
    border-radius: 50%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    position: fixed;
    right: 20px;
    top: 1rem;
    border: solid var(--text-color);
    box-shadow: 0 0 5px var(--bg-color);
    transition: 0.5s ease-in-out;
    align-items: center;
    z-index: 1000000;
}

#switch:hover {
    margin-left: -1rem;
    padding: 2.5rem;
    margin-top: -0.5rem;
    z-index: 1000000;
}

#switch .material-symbols-outlined {
    color: var(--text-color);
    z-index: 1000000;
}

#switch .material-symbols-outlined:last-child {
    display: none;
    z-index: 1000000;
}

.darkmode #switch .material-symbols-outlined:first-child {
    display: none;
    z-index: 1000000;
}

.darkmode #switch .material-symbols-outlined:last-child {
    display: block;
    z-index: 1000000;
}

* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}

header {
    position: relative;
}

body {
    background-color: var(--bg-color);
    animation: fadeIn 0.75s ease-in-out;
    opacity: 1;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

nav {
    font-weight: bold;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    font-size: 3rem;
    padding: 2rem;
    border-bottom: solid 5px var(--alt-color);
    background-color: rgba(var(--text-color), 0.3);
    backdrop-filter: blur(5px);
    color: var(--bg-color);
    transition: all 0.3s ease;
    z-index: 10000;
}

#p-1 {
    position: absolute;
    background-color: rgba(0,0,0,0);
    white-space: nowrap;
    align-items: center;
    top: 2rem;
}

#p-2 {
    position: absolute;
    left: 50%;
    top: -50%;
    transform: translate(-50%,-50%);
    background-color: rgba(0,0,0,0);
    margin: 0;
    white-space: nowrap;
    font-size: 3rem;
}

h1 {
    font-size: 4vw;
    text-decoration: underline;
    color: var(--text-color);
    margin-bottom: 1vw;
    text-align: center;
}

h2 {
    text-align: center;
    margin-top: 2rem;
}

p{
    font-size: 1.5rem;
}

h3 {
    text-align: center;
    font-size: 2.5rem;
    background-color: var(--bgtwo-color);
    padding: 2rem;
    color: white;
}

.outerContainer {
    padding-top: 5rem;
    display: flex;
    justify-content: center;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.upperContent {
    margin-top: 5vh;
    text-align: left;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.upperContent p {
    text-align: center;
}

.midContent {
    position: relative;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    background-color: var(--bgtwo-color);
    box-sizing: border-box;
    border: solid 1px var(--alt-color);
    color: white;
}

table {
    margin: 0 auto;
}

table, tr, td {
    border-collapse: collapse;
    background-color: var(--bgtwo-color);
    text-align: left;
    color: white;
}

#td1, #td2, #td3 {
    padding: 1.5rem;
    padding-left: 3rem;
    padding-right: 3rem;
    border-bottom: solid 1px;
}

#td4 {
    border-bottom: 1px solid;
    padding-left: 3rem;
}

#td1, #td3 {
    font-weight: bold;
}

#td5, #td6 {
    border-bottom: none;
    font-weight: bold;
    padding: 1.5rem;
    padding-left: 3rem;
    padding-right: 3rem;
}

td {
    padding: 1rem;
    vertical-align: center;
    width: 50%;
    box-sizing: border-box;
}

#p-3 {
    padding-bottom: 2rem;
}

#kassen-box {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background-color: var(--bgtwo-color);
    color: var(--text-color);
    margin-bottom: 2rem;
    color: white;
    
    border: solid 1px var(--alt-color);
}

#under-kassen {
    background-color: var(--bgtwo-color);
    color: var(--text-color);
}

footer {
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(var(--text-color), 0.3);
    backdrop-filter: blur(5px);
    z-index: 10;
}

footer a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.5rem;
    transition: 0.5s ease-in-out;
    background-color: rgba(var(--text-color), 0.3);
    backdrop-filter: blur(5px);
    font-weight: bold;
}

footer a:hover {
    color: var(--accent-color);
}

@media only screen and (max-width: 950px) {
    #p-2 {
        left: 100%;
        top: 45%;
        transform: translate(-100%, -45%);
        border-bottom: none;
        font-size: 1.5rem;
    }
    #switch {
        bottom: 0;
        top: auto;
        z-index: 2;
        margin-bottom: 20px;
    }
    #switch:hover {
        padding: 2.5rem;
        margin-top: -1rem;
    }
}

.team {
    padding-bottom: 3rem;
}

#arzt {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
}

#arzt-text {
    display: block;
    margin: 0 auto;
    font-size: 3.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    color: var(--alt-color);
    font-weight: bold;
    border-bottom: 2px var(--text-color) solid;
    text-align: center;
    width: 12rem;
    position: relative;
    background-color: rgba(240,248,255,0);
    z-index: 2;
}

#arzt-pfp {
    border-radius: 100%;
    z-index: 1;
    border: 2px var(--alt-color) solid;
    box-shadow: 0 0 40px var(--alt-color);
    width: 20vh;
}

#arzt-text-p {
    display: block;
    color: var(--bg-color);
    background-color: var(--alt-color);
    padding: 0.5rem 1rem;
    width: 12rem;
    margin: 0 auto;
    font-size: 1.5rem;
    position: relative;
    border-radius: 2rem;
    font-weight: bold;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    text-align: center;
    transition: all 0.3s ease;
    margin-top: -1.5rem;
}

#arzt-text-p:hover {
    transform: scale(1.05);
}

#arzt-members {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10%;
    margin-top: 2rem;   
}

.arzt {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.assistenten {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
}

#assistenten-text {
    display: block;
    margin: 0 auto;
    font-size: 3.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    color: blue;
    font-weight: bold;
    border-bottom: 2px var(--text-color) solid;
    text-align: center;
    width: 22rem;
    position: relative;
    background-color: rgba(240,248,255,0);
    z-index: 2;
}

.assistenten {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
}

.assistenten-member img {
    border-radius: 100%;
    z-index: 1;
    border: 2px blue solid;
    box-shadow: 0 0 40px blue;
    width: 20vh;
}

#assistenten-01-text {
    color: white;
    background-color: blue;
    padding: 0.5rem 1rem;
    width: fit-content;
    margin: 0 auto;
    font-size: 2rem; 
    margin-top: 2rem;
    positioN: relative;
    border-radius: 2rem;
    font-weight: bold;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    text-aligN: center;
    transition: all 0.3s ease;
    margin-top: -1.5rem;
    z-index: 0;
}

#assistenten-01-text:hover {
    transform: scale(1.05);
}

#assistenten-02 {
    display: flex;
    flex-direction: column;
}

.assistenten-members {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10vw;
}

#howto {
    text-align: center;
    border: solid 3px var(--alt-color);
    box-shadow: 0 0 5px 5px blue;
    width: 80%; 
    margin: 3rem auto;
}

h4 {
    text-align: center;
    font-size: 1.75rem;
    text-decoration: underline;
}

#ecard p {
    text-align: left;
}

#terminvereinbarung {
    margin-top: 2rem;
}

#terminvereinbarung p {
    text-align: left;
}


#urlaub {
    margin-top: 2rem;
}

#urlaub p {
    text-align: left;
}

#impressum-p {
    color: var(--text-color);
    text-align: center;
    margin-top: 0;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

#impressum-box {
    margin-left: 10%;
    margin-right: 10%;
    padding: 1.5vw;
    border: 3px ridge var(--text-color);
    box-shadow: 0px 0px 5px 5px rgba(255,0,0,0.675);
    padding-bottom: 2.25rem;
    margin-bottom: 25rem;
}

#p-imp-box-p {
    text-align: left;
    color: var(--text-color);
    margin-top: 0.5rem;
}

.body-type {
    padding-top: 7rem;
    padding-bottom: 9rem;
}

#switcher {
    font-size: 2rem;
}

.switch {
    z-index: 10000000;
}

.kalender {
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255,255,255,0.25);
    padding: 1rem;
    display: flex;
    position: relative;
    flex-wrap: wrap;
}

.törmin {
    background-color: var(--cool);
    color: black;
    width: auto;
    text-align: center;
    border: solid 2.5px blue;
    box-shadow: 0 5px 5px blue;
}


.törmin p {
    background-color: var(--cool);
    color: black;
    text-align: center;
    display: flex;
    justify-content: center;
}

#day {
    font-size: 2rem;
    font-weight: bold;
}

#date {
    font-size: 1.5rem;
}

#reason {
    font-size: 1rem;
}
