main {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

section {
    width: calc(100% - 10px);
    position: relative;
}

section.greeting {
    text-align: center;
    max-width: 100%;
    text-wrap: wrap;
    text-shadow: 0 0 2px #fff;
}

section.cards {
    height: 410px;
    max-width: 500px;
    overflow: hidden;
}

.cardWrapper {
    position: absolute;
    height: 100%;
    max-height: 350px;
    bottom: 40px;
    transition-duration: 3s;
    transition: opacity 0.2s;
}

.cardWrapper#card1 {
    left: 41px;
    transform: rotate(0);
    margin-bottom: 0;
    margin-left: calc(50% - 168px);
}
.startAnimation#card1 {
    transform: rotate(-15deg);
    margin-bottom: -10px;
    margin-left: 0;
    animation: card1 5s cubic-bezier(1, 0, 0.8, 1);
}
@keyframes card1 {
    0% {
        transform: rotate(0);
        margin-bottom: 0;
        margin-left: calc(50% - 168px);
    }
    100% {
        transform: rotate(-15deg);
        margin-bottom: -10px;
        margin-left: 0;
    }
}

.cardWrapper#card2 {
    left: calc(50% - 127px);
}

.cardWrapper#card3 {
    right: 41px;
    transform: rotate(0);
    margin-bottom: 0;
    margin-right: calc(50% - 168px)
}
.startAnimation#card3 {
    transform: rotate(15deg);
    margin-bottom: -10px;
    margin-right: 0;
    animation: card3 5s cubic-bezier(1, 0, 0.8, 1);
}
@keyframes card3 {
    0% {
        transform: rotate(0);
        margin-bottom: 0;
        margin-right: calc(50% - 168px)
    }
    100% {
        transform: rotate(15deg);
        margin-bottom: -10px;
        margin-right: 0;
    }
}

.cards:has(.cardWrapper:hover) .cardWrapper:not(:hover), .cards:has(.cardWrapper:focus) .cardWrapper:not(:focus) {
    opacity: 0.1;
}

.cardWrapper > img {
    height: 100%;
}

section.search {
    height: 25px;
    width: calc(100% - 60px);
    position: relative;

    border: 2px solid var(--blue-accent);
    border-radius: 5px;
    background-color: transparent;
    box-shadow: 0 1px 3px 1px var(--blue-accent);
}

section.search:hover {
    border-color: var(--blue-accent-light);
}

input.searchbar {
    display: inline-block;
    width: calc(100% - 28px);
    height: 100%;
    padding: 0;
    padding-left: 3px;

    border: none;
    background-color: transparent;
    color: var(--blue-accent-light);
}

input.searchbar:focus, input.searchbar:focus-within, input.searchbar:focus-visible {
    outline: none; 
}

label.searchbar {
    position: absolute;
    left: 5px;
    bottom: 0;
    margin-left: 0;
    margin-bottom: 0;
    height: fit-content;
    text-align: center;
    transition-duration: 0.2s;
    color: var(--blue-accent-light);
    font-weight: 600;
}

input.searchbar:focus ~ label.searchbar, .removeLabel {
    margin-bottom: 25px !important;
    margin-left: -10px !important;
}

#startQuery {
    display: inline-block;
    height: 23px;
    width: 23px;
    padding: 1px;
    background-color: var(--blue-accent);
    border: none;
}

#startQuery:hover, section.search:hover > #startQuery {
    cursor: pointer;
    background-color: var(--blue-accent-light);
}

#suggBox {
    padding-top: 5px;
    display: flex;
    flex-direction: column;
}

.singleResult {
    display: inline-block;
    padding: 3px;
    transform: scale(1);
    background-color: var(--blue-bg);
    backdrop-filter: blur(3px);
    border-radius: 4px;
    border: 2px solid var(--blue-accent);
    border-style: solid;
    margin: 2px;
    min-width: 40px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow 0.1s, transform 0.5s;
    z-index: 999;  /*lljw🕊️*/
}

.singleResult:hover {
    transform: scale(1.02);
    box-shadow: 0 0 3px #fff inset ;
}