/* Navbar */

* {
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

:root {
    --main-color: #222;
}

#start,
#lebenslauf,
#kontakt {
    min-height: 100vh;
}

h1, h2 {
    color: white;
}

body {
    min-height: 100vh;
    background-color: var(--main-color);
}

.navigation {
    position: fixed;
    top: 4%;
    width: 100vw;
    height: 70px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navigation ul {
    display: flex;
    width: 350px;
}

.navigation ul li {
    position: relative;
    list-style: none;
    width: 70px;
    height: 70px;
    z-index: 1;
}

.navigation ul li a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    text-align: center;
    font-weight: 600;
}

.navigation ul li a .icon {
    position: relative;
    display: block;
    line-height: 75px;
    font-size: 1.5em;
    text-align: center;
    color: var(--main-color);
    transition: 0.5s;
}

.navigation ul li.active a .icon {
    transform: translateY(-38px);
}

.navigation ul li a .text {
    position: absolute;
    font-size: .75em;
    color: var(--main-color);
    opacity: 0;
    transition: 0.5s;
    transform: translateY(20px);
}

.navigation ul li.active a .text {
    transform: translateY(10px);
    opacity: 1;
}

.bubble {
    position: absolute;
    top: -50%;
    width: 70px;
    height: 70px;
    background-color: yellowgreen;
    border-radius: 50%;
    transition: 0.5s;
    border: 6px solid var(--main-color);
}

/* .bubble::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -22px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-top-right-radius: 20px;
    box-shadow: 0 -10px 0 0 var(--main-color);
}

.bubble::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -22px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-top-left-radius: 20px;
    box-shadow: 0 -10px 0 0 var(--main-color);
    box-shadow: 0 -10px 0 0 var(--main-color);
} */

.navigation ul li:nth-child(1).active ~ .bubble {
    transform: translateX(calc(70px * 0));
}

.navigation ul li:nth-child(2).active ~ .bubble {
    transform: translateX(calc(70px * 1));
}

.navigation ul li:nth-child(3).active ~ .bubble {
    transform: translateX(calc(70px * 2));
}

/* Lebenslaufseite */

main {
    
    width: 600px;
    margin: 0 auto;
}

section {
    display: flex;
    flex-direction: column;
    justify-items: start;
}

h3 {
    color: white;
}

p {
    color: white;
}

.Lebenslauf {
    border-radius: 29px;
}

.map {
    border-radius: 29px;
}

/* Footer */

footer {
    background-color: silver;
}

.footerContainer {
    width: 100%;
    padding: 70px 30px 20px;
}

.socialIcons {
    display: flex;
    justify-content: center;
}

.socialIcons a {
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin:  10px;
    border-radius: 50%;
}

.socialIcons a i {
    font-size: 2em;
    color: black;
    opacity: 0.9;
}

/* Hover Effekt auf Soziale Links */

.socialIcons a:hover {
    background-color: #111;
    transition: 0.5s;
}

.socialIcons a:hover i {
    color: white;
    transition: 0.5s;
}

.footerNav {
    margin: 30px 0;
}

.footerNav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.footerNav ul li a {
    color: white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7s;
    transition: 0.5s;
}

.footerNav ul li a:hover {
    opacity: 1;
}

.footerBottom {
    background-color: #000;
    padding: 20px;
    text-align: center;
}

.footerBottom p {
    color: white;
}

.designer {
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}

/* footer Mobile */

@media (max-width: 700px) {
    .footerNav ul{
        flex-direction: column;
    }
    .footerNav ul li {
        width: 100%;
        text-align: center;
        margin: 10px;
    }
}

/* Darkmode */

label {
    width: 500px;
    height: 200px;
    position: relative;
    display: block;
    background: #ebebeb;
    border-radius: 200px;
    box-shadow: inset 0px 50px 15px rgba(0,0,0,0.4), inset 0px -5px 15px rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.3s;
}

label:after {
    content: "";
    width: 180px;
    height: 180px;
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(180deg, #ffcc89, #d8860b);
    border-radius: 180px;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
}

input {
    width: 0;
    height: 0;
    visibility: hidden;
}

input:checked + label {
    background: #242424;
}

input:checked + label::after {
    left: 490px;
    transform: translateX(-100%);
    background: linear-gradient(180deg, #777, #3a3a3a);
}

label:active::after {
    width: 260px;
}

.background {
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: -1;
    position: absolute;
    transition: 0.3s;
}
input:checked + label + .background {
    background-color: #242424;
}