/* Global styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    background-image:url(refresh.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    
}


/* Media query for screens wider than, for example, 600px (tablets and desktops) */
@media screen and (min-width: 600px) {
    body {
        font-size: 18px;
    }
    /* Add styles for a two-column layout here */
    .container {
        display: flex;
    }
    .column {
        flex: 1;
        padding: 10px;
    }
}


/* Default Mobile View: Stacks vertically */
.card-wrapper {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.card-image {
    max-width: 100%;
    height: auto;
}

/* Tablet/Desktop View: Lays out horizontally with 50/50 split */
@media screen and (min-width: 768px) {
    .card-wrapper {
        flex-direction: row;
    }
    .card-image, .card-body {
        flex: 1; /* Each takes up half the space */
    }
}




/* Hero section */
.hero {
    background-image: url('rename.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #a2a0a0;
    text-align: center;
    position: relative;
    max-width: 100%;
}

.hero .overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;

}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-btn {
    background-color: #00c853;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-btn:hover {
    background-color: #00e676;
    transform: scale(1.05);
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 50px 20px;
    background-color: #f9f9f9;
   
}

.feature {
    width: 30%;
    text-align: center;
    margin-bottom: 30px;
}

.feature h2 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: #333;
}

.feature p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #666;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #141313;
   
    color: #a06c6c;
}

/* Login forms */
.login-form {
    max-width: 400px;
    margin: 50px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
   
}

.login-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.login-form button {
    width: 100%;
    padding: 12px;
    background-color: #00c853;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.dashboard {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 50px auto;
    
}

.dashboard h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.dashboard .sensor-status {
    margin: 10px 0;
}

.alert {
    color: red;
    font-weight: bold;
}
