﻿.searchSection {
    width: 100%;
    min-height: 30vh;
    background-color: var(--corLogo);
    display: flex;
    gap: 5px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.searchSection__title {
    font-family: var(--defaultFont);
    font-size: 30px;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
    color: white;
}

.searchSectionInput {
    display: flex;
    margin-top: 20px;
    gap: 10px;
    align-items: center;
    border-radius: 50px;
    padding: 10px 20px;
    background-color: var(--backgroundColor);
}

    .searchSectionInput input {
        padding: 20px;
        border-radius: 15px;
        min-width: 300px;
        background-color: transparent;
        border: none;
        font-size: 20px;
        outline: none;
        color: var(--fontColor1);
        font-family: var(--defaultFont);
    }

        .searchSectionInput input::-webkit-search-cancel-button {
            display: none;
        }

.searchSectionButton {
    background-color: transparent;
    display: flex;
    justify-content: center;
    padding: 10px;
    align-items: center;
    border: none;
    border-radius: 40%;
    transition: .3s;
    cursor: pointer;
}

    .searchSectionButton span {
        color: var(--fontColor1);
        font-size: 30px;
    }

    .searchSectionButton:hover {
        background-color: var(--corLogo);
    }
        .searchSectionButton:hover span {
            color: white;
        }
.fastSearchContainer {
    min-width: 350px;
    max-height: 0;
    margin-top: 4px;
    background-color: var(--backgroundColor);
    display: flex;
    box-shadow: 0 10px 10px 0 var(--backgroundColor);
    flex-direction: column;
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
    transition: .3s;
}

.fastSearchHeader {
    width: 100%;
    background-color: var(--corLogoEscuro);
    padding: 20px;
    border-radius: 10px 10px 0 0;
    box-sizing: border-box;
    font-family: var(--defaultFont);
    color: white;
}



.fastSearchResults {
    min-height: 0px;
    max-height: 0px;
    max-width: 350px;
    overflow-y: auto;
    padding: 0px;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    gap: 5px;
    flex-direction: column;
    transition: height 3s, padding .2s;
}

.fastSearchContainer.show {
    max-height: 400px;
}

    .fastSearchContainer.show .fastSearchResults {
        min-height: 100px;
        max-height: 100%;
        padding: 5px;
    }

.fastSearchResult {
    padding: 5px;
    min-height: fit-content;
    text-decoration: none;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    background-color: var(--corLogo);
    border-radius: 5px;
    font-size: 20px;
    color: white;
    position: relative;
    text-overflow: ellipsis;
    font-family: var(--defaultFont);
}


@media (max-width: 968px) {
    .searchSectionInput {
        max-width: 90%;
        flex-direction: column;
        box-sizing: border-box;
        border-radius: 20px;
    }

    .fastSearchContainer {
        max-width: 90%;
        flex-direction: column;
        box-sizing: border-box;
    }

        .searchSectionInput input {
            min-width: 100px;
            width: 100%;
        }

    .searchSectionButton {
        width: 100%;
    }
}

    /*Menu*/
.menu {
    width: 100%;
    min-height: 60vh;
    display: flex;
    background-color: var(--backgroundColorHighlight);
    justify-content: center;
    align-items: center;
}

.menu__menuItems {
    display: flex;
    gap: 20px;
    align-items: center;
    width: 100%;
    padding: 30px 10px;
    box-sizing: border-box;
    justify-content: center;
    flex-wrap: wrap;
}

.menuItem {
    border-radius: 15px;
    text-decoration: none;
    width: 100%;
    max-width: 400px;
    min-height: 40vh;
    background-color: var(--backgroundColor);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    gap: 10px;
    transition: .2s;
}


    .menuItem:hover {
        opacity: .9;
        box-shadow: 6px 5px 16px var(--backgroundColor2);
    }

    .menuItem img {
        width: 100px;
        stroke: var(--fontColor2);
    }

    .menuItem .menuText {
        font-size: 25px;
        text-align: center;
        color: var(--fontColor1);
        font-family: var(--defaultFont);
    }

.menuIcon {
    font-size: 100px;
    color: var(--corLogo)
}

@media (max-width: 968px) {
    h2 {
        font-size: 40px !important;
    }
}
  