@import url(root.css);
@import url(anim.css);
@import url(mediaquerys.css);
@import url('https://fonts.googleapis.com/css2?family=Playwrite+IT+Moderna:wght@100..400&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Nourd Regular";
}

@font-face {
    font-family: 'Nourd Regular'; 
    src: url('../fonts/nourd_regular.ttf') format("truetype");
}

@font-face {
    font-family: 'Nourd Bold';
    src: url('../fonts/nourd_bold.ttf') format("truetype");
}

html{
    width: 100%;
    min-height: 100vh;
    scroll-behavior: smooth;
}

header{
    display: flex;
    background-color: white;
    width: 100%;
    box-shadow: 0px 10px 5px rgba(8, 8, 8, 0.5);
    animation-name: slide-in_upBottom;
    animation-duration: 0.3s;
}

header img{
    min-width: 50px;
    padding: 1vw;
    width: 15%;
    height: auto;
}

main section{
    display: flex;
    height: fit-content;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 1rem;
}

main section h4{
    color: var(--logoDarkColor);
    font-size: 1.5vw;
    width: 100%;
    text-wrap: wrap;
    font-weight: 800;
}   



.roundedBoxDiv{
    border-radius: .5vw .5vw;
    display: flex;
    flex-wrap: wrap;
    width: 99vw;
    height: auto;
    justify-content: space-between  ;
    padding: 1%;
    gap: 1vw;
    background-color: rgb(255, 255, 255);
    box-shadow: 1px 5px 8px rgba(0, 0, 0, 0.25);
    animation-name: slide-in_upBottom;
    animation-duration: 0.3s;
}

.ButtonsCatItem{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: center;  
    width: 100%;
    gap: 1rem;
    
}

.buttonGradient{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(159, 132, 109, 0.8) 0%, rgb(45, 41, 32, .8) 100%);
    padding: .6rem;
}   

.ul_CatItem{
    width: 49%;
    list-style: none;
    background-color: white;
    text-wrap: nowrap;
    box-shadow: 1px 5px 8px rgba(0, 0, 0, 0.6);
    border: solid 1px rgba(0, 0, 0, .05);
    transform-origin: center;
    cursor: pointer;
    background-size: cover;
    transition: transform 70ms ease-in-out;
}

.ul_CatItem:active{
    background-color: var(--DarkGreyColor);
}

.ul_CatItem:hover{
    background-color: rgb(255, 242, 221);
    transform: translateY(-10px);
    box-shadow: 1px 5px 8px rgba(32, 32, 32, 0.8);
}

.ul_CatItem h6{
    color: white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    width: 100%;
    height: 100%;
    font-size: 1.5rem;
    align-content: center;
}

.ul_CatItem img{
    width: auto;
    height: auto;
    max-width: 3.5rem;
    max-height: 3.5rem;
}

.resultsDisplay{
    width: 100%;
}

.Queryresults{
    list-style-type: none;
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    gap: 0.1% 1%;
}

.screenIMGShowBox{
    animation-name: opacity-in;
    animation-duration: 1s;
    display: flex;
    flex-direction: column;
    position: fixed;
    visibility: hidden;
    right: 8vw;
    bottom: 8vh;
    width: 85vw;
    height: 85vh;
    background-color: white;
    border: 1px solid var(--logoColor);
    box-shadow: 1px 5px 8px rgba(32, 32, 32, 0.8);
    border-radius: 10px;
    padding: 1%;
    z-index: 2;
}

.screenIMGShowBox button{
    width: 4vw;
    height: 4vw;
    font-size: 1.5vw;
    border: 0px;
    border-radius: 2px;
    background-color: var(--logoColor);
    text-align: center;
    align-self: flex-end;
    color: white;
    font-weight: bolder;
    object-fit: contain;
}

.screenIMGShowBox button:hover{
    transform: scale(15px);
    transform-origin: center;
}

.screenIMGShowBox img{
    width: 100%;
    height: 80%;
    cursor: not-allowed;
    object-fit: contain;
    padding: 1vh;
}

footer{
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    gap: 1rem;

    bottom: 0;
    position: fixed;
    text-align: center;
    
    background-color: var(--DarkGreyColor);
    width: 100%;
    height: 50px;
    font-size: .5rem;
}
#imagens{
    Display: none;
}

.imageCard{
    margin-bottom: .4vw;
}
@media screen and (min-width: 425px) and (max-width: 769px)
{
    .imageCard{
        margin-bottom: 5vw;
    }
    .ul_CatItem{
        width: 29%;
    }
    .ul_CatItem h6{
        font-size: 1.3rem;
        padding: .6rem;
    }
    main section h4{
        padding-left: 3%;
        font-size: 2.5vw;
    }
    .Queryresults{
        justify-content: space-evenly;
        gap: 0.1% 1%;
    }
    .screenIMGShowBox{
        max-height: 90vh;
        height: auto;
        object-fit: scale-down;
    }
    .screenIMGShowBox img{
        max-width: 100%;
        max-height: 90%;
        padding: 1vh;
        width: auto;
        height: auto;
        cursor: not-allowed;
        object-fit: contain;
    }
}
@media screen and (max-width: 426px){
    main section h4{
        font-size: 18px;
        text-align: center;
        padding: .6rem;
    }

    .ButtonsCatItem{
        column-gap: 0.7rem;
    }

    .ul_CatItem{
        width: 100%;
    }
    .imageCard{
        margin-bottom: 5vw;
    }
    .screenIMGShowBox{
        max-height: 100vh;
        height: auto;
        object-fit: contain;
    }
    .screenIMGShowBox img{
        width: 100%;
        padding: 0.5%;
        padding: 1vh;
        cursor: not-allowed;
    }
}
