:root {
            --primary-color: #2196F3;
            --danger-color: #f44336;
            --success-color: #4CAF50;
        }

        body {
            font-family: 'Arial', sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f5f5f5;
        }

        .container {
            max-width: 800px;
            margin: auto;
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .status-card {
            padding: 20px;
            margin: 20px 10px;
            border-radius: 8px;
            text-align: center;
        }

        .status-intrusion {
            font-family: 'Oswald', sans-serif;
            background-color: var(--danger-color);
            color: white;
            display: none;
        }

        .status-normal {
            background-color: green;
            color: white;
        }

        .sensor-data {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .sensor-card {
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        .sensor-value {
            font-family: 'Oswald', sans-serif;
            font-size: 24px;
            font-weight: bold;
            color: var(--primary-color);
        }

        h1 {
            font-family: 'Oswald', sans-serif;
            text-align: center;
            color: #333;
        }:root {
            --primary-color: #2196F3;
            --danger-color: #f44336;
            --success-color: #4CAF50;
        }

        body {
            font-family: 'Arial', sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f5f5f5;
        }

        .container {
            margin-top: 100px;
            max-width: 800px;
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .status-card {
            padding: 20px;
            margin: 20px 10px;
            border-radius: 8px;
            text-align: center;
        }

        .status-intrusion {
            font-family: 'Oswald', sans-serif;
            background-color: var(--danger-color);
            color: white;
            display: none;
        }

        .status-normal {
            font-family: 'Oswald', sans-serif;
            background-color: var(--success-color);
            color: white;
        }

        .sensor-data {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .sensor-card {
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        .sensor-value {
            font-family: 'Oswald', sans-serif;
            font-size: 24px;
            font-weight: bold;
            color: var(--primary-color);
        }

        h1 {
            text-align: center;
            color: #333;
        }
header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }

    nav {
        max-width: 1200px;
        margin: 0 auto;
    }

    nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 2rem;
    }

    nav a {
        color: white;
        text-decoration: none;
        font-size: 1.1rem;
        transition: color 0.3s;
    }

    nav a:hover {
        color: #ddd;
    }

    footer {
        background-color: #333;
        color: white;
        text-align: center;
        padding: 1rem;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
    }

    /* Ajustement pour le contenu principal */
    body {
        padding-top: 60px;
        /* Espace pour le header */
        padding-bottom: 60px;
        /* Espace pour le footer */
    }

/* Style pour les cartes de capteurs */
    .sensor-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        padding: 2rem;
    }

    .sensor-card {
        background: white;
        border-radius: var(--border-radius);
        padding: 1.5rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .sensor-card h2 {
        font-family: 'Oswald', sans-serif;
        margin-top: 0;
        color: #333;
    }

    .sensor-value {
        font-size: 2rem;
        font-weight: bold;
        color: #2196F3;
        margin: 1rem 0;
    }

    .sensor-status {
        padding: 0.5rem;
        border-radius: var(--border-radius);
        text-align: center;
        margin-top: 1rem;
    }

    .status-normal {
        background: #4CAF50;
        color: white;
    }

    .status-warning {
        background: #FFC107;
        color: black;
    }

    .status-alert {
        background: #F44336;
        color: white;
    }
h2{
    font-family: 'Oswald', sans-serif;
}
    * {
        box-sizing: border-box;
      }
      :root {
        --background-color: black;
        --text-color: hsl(0, 0%, 100%);
      }
      body {
        margin: 0;
      }
      .wrapper {
        border-radius: 10px;
        display: grid;
        place-content: center;
        background-color: var(--background-color);
        font-family: "Oswald", sans-serif;
        font-size: clamp(1.5rem, 1rem + 18vw, 3rem);
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-color);
      }
      
      .wrapper > div {
        grid-area: 1/1/-1/-1;
      }
      .top {
        clip-path: polygon(0% 0%, 100% 0%, 100% 48%, 0% 58%);
      }
      .bottom {
        clip-path: polygon(0% 60%, 100% 50%, 100% 100%, 0% 100%);
        color: transparent;
        background: -webkit-linear-gradient(177deg, black 53%, var(--text-color) 65%);
        background: linear-gradient(177deg, black 53%, var(--text-color) 65%);
        background-clip: text;
        -webkit-background-clip: text;
        transform: translateX(-0.02em);
      }
.row{
    margin-left: 35%;
}

