body {
    box-sizing: border-box;
    min-height: 100lvh;
}

main {
    min-height: calc(100lvh - 72px);
    margin: 72px auto 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

main > h1 {
    text-align: center;
}

.home-container {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    position: relative;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    border-radius: 7px;
    background-color: #FFFFFF;
}

@media screen and (min-width: 550px) {
    .home-container:not(:has(span)) {
        padding: 40px 40px 120px 40px;
    }
}

.home-container a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 550px) {
    main {
        padding: 72px 0;
        margin-left: 0;
        margin-right: 0;
    }

    .home-container {
        display: flex;
        max-width: 90%;
        padding: 40px 0 120px 0;
    !important;
        background-color: transparent;
        border: none;
    }
}

.home-container .input-group {
    margin: 0;
    flex-grow: 1;
}

.home-container .input-group input {
    height: 35px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.home-container button {
    display: block;
    min-width: 60px;
    padding: 0 20px;
    border: none;
    background-color: #184C65;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    flex-shrink: 0;
}

.home-container button:hover {
    background-color: #598EA7;
}

.search-group {
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
}

.search-suggestion:has(span) {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-radius: 4px;
    min-width: 100%;
    box-shadow: 0 4px 4px -4px rgba(0, 0, 0, 0.1);
}

.selectable-word {
    display: inline-block;
    font-weight: 600;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-family: "Poppins", sans-serif;
    margin: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.selectable-word:hover,
.selectable-word:focus {
    background-color: #598EA7;
    color: #F6F6F6;
}