/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

/* Base styles */
body {
    font-family: Roboto, sans-serif;
}

/* Layout container */
.layout {
    max-width: 960px;
    margin: 0 auto;
}

/* Flex container */
.flex-container {
    box-sizing: border-box;
    display: inline-flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
}

/* Flex items */
.flex-item {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 10px;
    background-color: #efefef;
    border-radius: 10px;
    border: 1px solid white;
}

/* Clock component */
#clock {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

/* Floating icon */
.floating-icon {
    position: fixed;
    top: 60px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    z-index: 2; /* Höherer z-index als das Clock-Element */
}

/* Media Queries */
/* Small devices (tablets, 576px and up) */
@media (min-width: 576px) {
    .flex-item {
        width: 50%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .flex-item {
        width: 33%;
    }
}

/* Large devices (desktops, 950px and up) */
@media (min-width: 950px) {
    .flex-item {
        width: 25%;
    }
    #clock {
        display: block;
    }
}

