@media (prefers-color-scheme: dark){
    body {
        font-family: Arial, sans-serif;
        background: linear-gradient(to right, #022747, #1e3d3e);
        color: #ffffff;
        text-align: center;
        margin: 20px;
    }

    h1 {
        font-size: 28px;
        margin-bottom: 20px;
        color: white;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    }

    
    label {
        font-size: 18px;
        color: white;
        font-weight: bold;
    }

    select {
        padding: 10px;
        font-size: 16px;
        border-radius: 5px;
        border: none;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        background: linear-gradient(to right, #4EBC86, #a7e2e3);
        transition: 0.3s;
        color: black;
        text-align: center;
    }

    select:hover {
        background: linear-gradient(to right, #a7e2e3, #4EBC86);
        color: black;
    }

    
    table {
        width: 90%;
        max-width: 900px;
        margin: 20px auto;
        border-collapse: collapse;
        background: rgb(0, 0, 0);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.332);
        border-radius: 10px;
        overflow: hidden;
        font-size: 12px;
    }

    th, td {
        padding: 12px;
        border: 1px solid #000000;
        text-align: center;
    }

    th {
        background: #1e4a50c4;
        color: rgb(255, 255, 255);
    }

    tr:nth-child(even) {
        background: #303030;
    }

    tr:hover {
        background: rgba(155, 155, 155, 0.2);
        transition: 0.3s;
    }

  
    .chart-container {
        display: none;
        width: 90%;
        max-width: 700px;
        margin: 20px auto;
        padding: 15px;
        background: rgba(26, 26, 26, 0.827);
        border-radius: 10px;
        box-shadow: 0px 4px 10px rgba(42, 42, 42, 0.137);
        transition: all 0.5s ease-in-out;
    }

    canvas {
        max-width: 100%;
        border-radius: 5px;
    }

    #iFrameResizer0{
        border: none;
width: 100%;
overflow: hidden;
height: 368px;
filter: invert(90%);
border-radius: 10px;
    }

    #iFrameResizer01{
        border: none;
width: 100%;
overflow: hidden;
height: 368px;
filter: invert(90%);
border-radius: 10px;
    }

    .maree {
border-radius: 5px;
border: none;
font-size: 16px;
padding: 10px;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
background: linear-gradient(to right, #4EBC86, #A7E2E3);
color: black;
    }

    .maree:hover {
border-radius: 5px;
border: none;
font-size: 16px;
padding: 10px;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
background: linear-gradient(to right, #A7E2E3, #4EBC86);
color: black;
    }

    #windy {
        width: 90%;
    height: 500px;
    border-radius: 10px;
    margin: 20px auto;
        }
}

@media (prefers-color-scheme: light){
    body {
        font-family: Arial, sans-serif;
        background: linear-gradient(to right, #0662b3, #02969b);
        color: #000000;
        text-align: center;
        margin: 20px;
    }

    h1 {
        font-size: 28px;
        margin-bottom: 20px;
        color: rgb(0, 0, 0);
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    }

    
    label {
        font-size: 18px;
        color: white;
        font-weight: bold;
    }

    select {
        padding: 10px;
        font-size: 16px;
        border-radius: 5px;
        border: none;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        background: linear-gradient(to right, #389468, #54C7C9);
        transition: 0.3s;
        color: rgb(0, 0, 0);
        text-align: center;
    }

    select:hover {
        background: linear-gradient(to right, #54C7C9, #389468);
        color: rgb(0, 0, 0);
    }

    
    table {
        width: 90%;
        max-width: 900px;
        margin: 20px auto;
        border-collapse: collapse;
        background: rgb(255, 255, 255);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.332);
        border-radius: 10px;
        overflow: hidden;
        font-size: 12px;
    }

    th, td {
        padding: 12px;
        border: 1px solid #000000;
        text-align: center;
    }

    th {
        background: #000000c4;
        color: rgb(255, 255, 255);
    }

    tr:nth-child(even) {
        background: #c5c5c5;
    }

    tr:hover {
        background: rgba(211, 211, 211, 0.274);
        transition: 0.3s;
    }

  
    .chart-container {
        display: none;
        width: 90%;
        max-width: 700px;
        margin: 20px auto;
        padding: 15px;
        background: rgba(255, 255, 255, 0.827);
        border-radius: 10px;
        box-shadow: 0px 4px 10px rgba(42, 42, 42, 0.137);
        transition: all 0.5s ease-in-out;
    }

    canvas {
        max-width: 100%;
        border-radius: 5px;
    }

    #iFrameResizer0{
        border: none;
width: 100%;
overflow: hidden;
height: 368px;
border-radius: 10px;
    }

    #iFrameResizer01{
        border: none;
width: 100%;
overflow: hidden;
height: 368px;
border-radius: 10px;
    }
    
    .maree {
border-radius: 5px;
border: none;
font-size: 16px;
padding: 10px;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
background: linear-gradient(to right, #389468, #54C7C9);
cursor: pointer;
        color: black;
    }

    .maree:hover {
border-radius: 5px;
border: none;
font-size: 16px;
padding: 10px;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
background: linear-gradient(to right, #54C7C9, #389468);
        color: black;
    }

    #windy {
        width: 90%;
    height: 500px;
    border-radius: 10px;
    margin: 20px auto;
        }
    }

    .menu {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background: linear-gradient(to right, #3B6064, #55828B);
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
border-radius: 15px;
}

.menu a {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: white;
display: block;
transition: 0.3s;
}

.menu a:hover {
color: #bcbcbc;
}

.menu .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}

.openbtn {
font-size: 20px;
cursor: pointer;
background: linear-gradient(to right, #389468, #54C7C9);
color: rgb(0, 0, 0);
padding: 10px 15px;
border: none;
border-radius: 15px;
position: fixed;
        top: 10px;
        left: 10px;
z-index: 9999;
}

.openbtn:hover {
background: linear-gradient(to right, #54C7C9, #389468);
}

