@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
}

body {
    background-color: #ceebf2;
    font-family: "Raleway", sans-serif;
    color: #2F3E46;
}

.header {
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.header h1 {
    font-size: 40px;
}

.header input {
    text-decoration: none;
    color: #f1feff;
    text-transform: uppercase;
    font-size: 12px;
    padding: 6px 8px;
    background-color: #5c7583;
    transition: background-color 0.2s ease;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    border: none;
}

.header input:hover {
    background-color: #7e98ab;
    transition: background-color 0.2s ease;
}

/* ----- andmete lisamine ----- */
.temperatuur {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 60px;
}

.lisamine {
    background-color: #ffffff;
    padding: 60px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    height: 100%;
}

.lisamine h2 {
    text-transform: uppercase;
}

#maakondLisamine {
    max-width: 800px;
}

#maakondLisamine input[type="text"], input[type="date"] {
    width: 100%;
    padding: 12px 18px;
    margin-bottom: 18px;
    border: 1px solid #292929;
    font-size: 18px;
    outline: none;
}

#temperatuurLisamine input[type="number"], input[type="datetime-local"], select {
    width: 100%;
    padding: 12px 18px;
    margin-bottom: 18px;
    border: 1px solid #292929;
    font-size: 18px;
    outline: none;
}

.lisa {
    text-decoration: none;
    color: #f1feff;
    text-transform: uppercase;
    font-size: 18px;
    padding: 12px 30px;
    background-color: #5c7583;
    transition: background-color 0.2s ease;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    border: none;
}

.lisa:hover {
    background-color: #7e98ab;
    transition: background-color 0.2s ease;
}

/* ------------------------------------ */


/* ----- sorteerimine ----- */

.sort {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #6a9493;
    color: #f1feff;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.sortButton {
    background: none;
    color: #f1feff;
    text-transform: uppercase;
    font-size: 15px;
    transition: background-color 0.2s ease;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    border: none;
}

.otsi input[type="text"] {
    padding: 4px 8px;
    width: 150px;
    /*background-color: #ebeadf;*/
    border: 1px solid #292929;
    font-size: 18px;
    outline: none;
}

/* ------------------------------------ */


/* ----- tabel ----- */

.tempAndmed {
    border-collapse: collapse;
    width: 100%;
    max-width: 1500px;
    margin: 20px auto;
    background-color: #cee9eb;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.tempAndmed a {
    text-decoration: none;
    color: #2F3E46;
}

.tempAndmed th {
    text-transform: uppercase;
    font-size: 22px;
    /* #d0e2e9 */
}

.tempAndmed td {
    font-size: 20px;
}

.tempAndmed th, td {
    padding: 20px;
    text-align: center;
}

.tempAndmed tr:nth-child(even) {
    background-color: #e0f2f4;
}

/* ------------------------------------ */


/* ----- login ----- */

.login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    width: 500px;
    padding: 60px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    margin-top: 60px;
}

.login h1 {
    font-size: 32px;
    text-transform: uppercase;
}


.loginAndmed {
    max-width: 260px;
    justify-content: center;
}

.loginAndmed input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px 18px;
    margin-bottom: 18px;
    border: 1px solid #292929;
    font-size: 18px;
    outline: none;
}

.error {
    text-align: center;
    margin: 12px 0;
}

.buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.signup {
    color: #323638;
    margin-top: 18px;
    text-align: center;
}
/* ------------------------------------ */
