.mainWrapper {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;

    position: relative;
}

/*wrappers*/

.lostWrapper, .foundWrapper {
    width: 100%;
    height: 50vh;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: column;

    padding: 15px;
}

.lostWrapper, .foundWrapper {
    background: var(--white);
}

.lostWrapperInner, .foundWrapperInner {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.lostWrapper {
    border-bottom: 1px solid var(--blue);
}

.foundWrapper {
    border-top: 1px solid var(--blue);
}

/*titles*/

.lostWrapperTitle, .foundWrapperTitle {
    text-transform: uppercase;
    text-align: center;
    font-size: 50px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 10px;
}

.lostWrapperInner p, .foundWrapperInner p {
    font-size: 16px;
    color: var(--darkBlue);
    max-width: 500px;
    text-align: center;
    opacity: .7;
}

.sectionButton {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-top: 15px;
    margin: 15px auto;
    margin-bottom: 0;
    width: 160px;
    background: transparent;
    border: 1px solid var(--blue);
    padding: 7px 14px;
    color: var(--blue);
    cursor: pointer;
    transition: .2s ease-in-out;

    display: flex;
    align-items: center;
    justify-content: center;
}

.sectionButton:hover {
    background: var(--blue);
    color: var(--white);
}

.sectionButton img {
    width: 12px;
    margin-left: 10px;
}

.sectionButton::after {
    content: '\2039';
    margin-left: 10px;
    font-size: 25px;
}

.sectionButton.found::after {
    transform: rotate(90deg);
}

.sectionButton.lost::after {
    transform: rotate(-90deg);
}

.sectionButton.found.active::after {
    transform: rotate(-90deg);
}

.sectionButton.lost.active::after {
    transform: rotate(90deg);
}

/*categories*/

.categoriesWrapper {
    margin-top: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 0;
    min-height: 0;

    visibility: hidden;
    opacity: 0;

    transition: .3s ease-in-out;
}

/*.lostWrapperInner.active {*/
    /*position: absolute;*/
    /*top: 61px;*/
/*    z-index: 999;*/
/*}*/

/*.foundWrapperInner.active {*/
    /*position: absolute;*/
    /*bottom: 61px;*/
/*    z-index: 999;*/
/*}*/

#lostCategories.active {
    height: auto;
    min-height: 40vh;

    height: auto;
    visibility: visible;
    opacity: 1;

    /*position: absolute;*/
    /*top: 0;*/
    /*bottom: 0;*/
    /*margin: auto 0;*/
    /*margin-top: 200px;*/
}

#foundCategories.active {
    height: auto;
    min-height: 40vh;

    height: auto;
    visibility: visible;
    opacity: 1;

    /*position: absolute;*/
    /*top: 0;*/
    /*bottom: 0;*/
    /*margin: auto 0;*/
    /*margin-bottom: 200px;*/
}

.lostWrapper, .foundWrapper {
    transition: height .5s ease-in-out;
}

.lostWrapper.active, .foundWrapper.active {
    height: 100vh;
}

.categoriesWrapperInner {
    display: flex;
    align-items: flex-start;
    height: 150px;
}

.categoryBlock {
    margin: 0 30px;
    cursor: pointer;
    width: 110px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.categoryBlock .categoryBlockImage {
    padding: 2px;
    background-color: var(--white);
    height: 80px;
    width: 80px;
    border-radius: 50%;
    /*border: 2px solid var(--blue);*/
    pointer-events: none;
}

.categoryBlock .categoryBlockImage img {
    object-fit: cover;
    width: 100%;
    height: 100%;    
    transition: .3s ease-in-out;
    pointer-events: none;
}

.categoryBlock h2 {
    color: var(--blue);
    font-size: 15px;
    margin-top: 15px;
    text-align: center;
    font-weight: 700;
    pointer-events: none;

    transition: .3s ease-in-out;
}

/*.categoryBlock:hover .categoryBlockImage {*/
    /*border: 2px solid var(--darkBlue);*/
/*}*/

.categoryBlock:hover h2 {
    color: var(--darkBlue);
}

/*media*/

@media (max-width: 1000px) {

    .lostWrapperTitle, .foundWrapperTitle {
        font-size: 30px;
    }

    .categoriesWrapper {
        flex-direction: column;
    }

    .categoriesWrapperInner {
        align-items: flex-start;
        margin: 20px 0;
        height: auto;
    }

}

@media (max-width: 768px) {

    .categoriesWrapper {
        width: 95%;
    }

    .categoryBlock .categoryBlockImage {
        width: 65px;
        height: 65px;
        padding: 5px;
    }

    .categoryBlock h2 {
        font-size: 14px;
    }  

    .categoryBlock {
        width: 100px;
        margin: 0 10px;
    }

    .categoriesWrapperInner {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .lostWrapperInner p, .foundWrapperInner p {
        width: 95%;
    }

}

@media only screen and (max-width: 668px) and (orientation: landscape) {
    .lostWrapper.active, .foundWrapper.active {
        height: 150vh;
    }
}

@media (max-width: 400px) {
    
    .categoryBlock {
        min-width: 85px;
    }
    
    .categoryBlock h2 {
        font-size: 13px;
    }
    
}

@media (max-width: 1100px) and (max-height: 540px) {
    
    .lostWrapper.active, .foundWrapper.active {
        height: auto;
    }
    
}


@media (max-width: 800px) and (max-height: 350px) {
    
    .lostWrapper, .foundWrapper {
        height: 65vh;
    }
    
}

@media (max-width: 700px) and (max-height: 300px) {
    
    .lostWrapper, .foundWrapper {
        height: 80vh;
    }
    
}

@media (max-width: 600px) and (max-height: 250px) {
    
    .lostWrapper, .foundWrapper {
        height: 100vh;
    }
    
}


/*=========*/