:root {

    --nav-h: 8vh;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;

    margin: 0 auto;
    display: flex;
    justify-content: center;
    font-family: monospace;
    background-color: #fcfcfc;
    /* background-image: linear-gradient(to right, rgba(97, 96, 96, .9), rgba(240, 240, 241, .9)), url('./pexels-josh-sorenson-1714208.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; */

    position: relative;
}

.navigation {
    position: fixed;
    top: 0;
    height: var(--nav-h);
    z-index: 1000;
    /* über den Inhalt stapeln */
    width: 100vw;
    border-bottom: 1px solid lightgrey;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fcfcfc;
    padding: 0 20px;
}

.menu ul {
    display: flex;
    list-style: none;
}

.logo h1 {
    font-size: 3rem;
    text-shadow: 0 0 10px lightgrey;
    background: linear-gradient(to right, rgb(97, 96, 96), darkblue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu ul li {

    font-size: 2rem;

}

a {
    text-decoration: none;
}

h1,
li {
    cursor: pointer;
    color: rgb(71, 68, 68);
}

.alwaysOn {
    color: red;

}

.hamburger {
    display: none;
}

.clock1 {
    color: lightgray;
    background-color: red;

}

#color {
    height: 100%;
    width: 50%;
}

#textColor {
    height: 100%;
    width: 50%;

}

.content {
    margin: 0;
    background-color: #fff;
    box-shadow: 0 0 10px lightgrey;
    padding: 15px 15px 15px 25px;
    box-sizing: border-box;
    margin: 0 auto;
    border-radius: 10px;



    /* height: 50vh; */
    font-family: "Roboto Mono", monospace;
    letter-spacing: 20px;
    font-size: clamp(14px, 8vmin, 35px);
    font-weight: 900;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;



}

.content p {
    margin: 0;
    padding: 0;


}

.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;

}

.contactHead {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 3vw;
    color: rgb(128, 126, 126);
    text-align: center;
}

.contactHead h1 {
    color: rgb(128, 126, 126);
}






.title {
    font-size: 6rem;
}

.subtitle {
    font-size: 3rem;
    color: lightgrey;
}

.main {
    padding-top: var(--nav-h);
    width: 80vw;
}



.about {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#about p {
    font-size: 2rem;
    color: rgb(128, 126, 126);
    text-align: center;
}

.card {
    width: 300px;
    height: 300px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card__icon {
    width: 300px;
    height: 300px;
}

.card p {
    font-size: 1.5rem;
}

.wrapper {
    width: 80vw;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 1fr 1fr;
    grid-gap: 10px;

}

.cloq {

    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

}



@media (max-width: 1280px) {
    body {
        font-size: 1rem;
    }

    .card {
        width: 250px;
        height: 250px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .card__icon {
        width: 250px;
        height: 250px;
    }


    .wrapper {
        width: 80vw;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        grid-auto-rows: 1fr 1fr;
        grid-gap: 10px;

    }

    .menu ul li {
        font-size: 1.5rem;
    }

    .content p {
        font-size: 2rem;
    }

    .logo h1 {
        font-size: 2.5rem;

    }

    #about p {
        font-size: 1.8rem;

    }


}

@media (max-width: 1024px) {
    body {
        font-size: 1rem;
    }

    .card {
        width: 200px;
        height: 200px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .card__icon {
        width: 200px;
        height: 200px;
    }


    .wrapper {
        width: 80vw;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-auto-rows: 1fr 1fr;
        grid-gap: 10px;

    }

    .hamburger {
        display: block;
    }

    .menu {
        display: none;

    }

    .menu ul li {
        font-size: 1.5rem;
    }

    .logo h1 {
        font-size: 3.0rem;

    }

    .content p {
        font-size: 2rem;
    }


    #about p {
        font-size: 1.7rem;

    }

    .navigation {
        width: 100vw;
    }


}

@media (max-width: 780px) {
    body {
        font-size: 1.8rem;
    }

    .menu ul li {
        font-size: 1.1rem;
    }

    .logo h1 {
        font-size: 2.5rem;

    }

    .content p {
        font-size: 2rem;
    }

    .card {
        width: 150px;
        height: 150px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .card__icon {
        width: 150px;
        height: 150px;
    }




    .wrapper {
        width: 100vw;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-auto-rows: 1fr 1fr;
        grid-gap: 10px;
    }





}

@media (max-width: 480px) {
    body {
        font-size: 1.5rem;
    }

    .logo h1 {
        font-size: 2.0rem;
    }

    .content p {
        font-size: 1.5rem;
    }

    .wrapper {
        width: 100vw;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        grid-auto-rows: 1fr 1fr;
        grid-gap: 10px;
    }

    .card {
        width: 100px;
        height: 100px;

    }

    .card__icon {
        width: 100px;
        height: 100px;
    }

    .card__icon img {
        width: 100px;
        height: 100px;
    }

}



@media (max-width: 400px) {
    body {
        font-size: 1.0rem;
    }

    .content p {
        font-size: clamp(16px, 2vmin, 20px);
    }

    .logo h1 {
        font-size: 1.7rem;
    }

    .wrapper {
        width: 100vw;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        grid-auto-rows: 1fr 1fr;
        grid-gap: 10px;
    }

    .card {
        width: 80px;
        height: 800px;

    }

    .card__icon {
        width: 60px;
        height: 60px;
    }

    /* .card__icon img {
        width: 100px;
        height: 100px;
    } */

}