* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff5d7;
    overflow: hidden;
}

.messageContent {
    float: right;
    background: #000000;
    color: white;
    padding: 20px;
    border-radius: 5px;
}

header {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    padding: 8px;
    background: rgb(0 145 206);
    color: white;
    border-radius: 0 0 20px 20px;

    nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        flex-wrap: wrap;
    }

    .locationForm {
        display: flex;
        padding: 12px;
        border-radius: 20px;
        gap: 5px;

        input[type=text] {
            border: none;
            border-bottom: 1px solid black;
            background-color: white;
            padding: 10px 20px;
            border-radius: 20px;
        }

        input[type=button] {
            padding: 5px;
            
            &:hover {
                cursor: pointer;
            }
        }
    }

    .historyCards {
        width: 100%;
        display: flex;
        gap: 8px;
        justify-content: center;
        color: black;

        .historyCard {
            display: flex;
            flex-direction: row;
            background: #ff0000;
            padding: 8px;
            border-radius: 8px;
            box-shadow: 3px 3px 8px 3px gray;
        }
    }

    .settingsDropdown {
        position: relative;

        .settingsDropdownContent {
            color: black;
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            min-width: 130px;
            box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
            padding: 12px 16px;
            user-select: none;
        }

        &:hover {
            cursor: pointer;

            &, .settingsDropdownContent {
                display: block;
            }
        }
    }
}

.cards {
    display: flex;
    gap: 20px;
    height: 50vh;
    margin: 0 auto;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;

    .card {
        min-width: 20vw;
        height: 8vw;
        display: flex;
        flex-direction: column;
        border-radius: 5px;
        padding: 20px;
        border: 1px solid gray;
    }

    .infos {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        overflow: hidden;
    }

    h2 {
        font-size: 2em;
    }
}

.title {
    margin: 20px;
    display: flex;
    justify-content: center;
}

.predictionCards {
    display: flex;
    gap: 8px;
    justify-content: center;

    .predictionCard {
        background: #00ff69;
        padding: 16px;
        border-radius: 8px;
    }
}