@supports(padding:max(0px)) {
    body, header, footer {
        padding-left: min(0vmin, env(safe-area-inset-left));
        padding-right: min(0vmin, env(safe-area-inset-right));
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background: #272a2e;
    overflow: hidden;
    display: grid;
    align-items: center;
    justify-items: center;
}

#site {
    display: block;
    height: 100%;
    width: 100%;
    max-width: 512;
}

.container {
    display: flex;
    width: 100%;
    height: 95vh;
    align-items: center;
    flex-direction: column;
    scroll-snap-type: y mandatory;
    scroll-snap-stop: always;
    overflow: scroll;

    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

#site:after {
    content:'';
    position:absolute;
    left:0; bottom:0;
    width:100%; height:10%;
    display:inline-block;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.45)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.45) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.45) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.45) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.45) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
    pointer-events: none;
}

.container::-webkit-scrollbar {
    display: none;
}

.card {
    /* scroll-snap-align: start; */
    display: flex;
    width: 90%;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 3vh;
    position: relative;
}

.image {
    /* height: 95vh; */
    max-width: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.like-button {
    position: absolute;
    bottom: 10%;
    right: 0.5em;
    height: 3em;
    fill: rgba(255, 255, 255, 0.809);
    transition: fill 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.like-button-liked {
    fill: #ff3737e0;
}

.category {
    background: #272a2e;
    color: #fff;
    padding: 1vh 2vh;
    font-size: 2vh;
    width: 40%;
    border-color: transparent;
    width: 100%;
    margin-right: 3vw;
}
*:focus {
    outline: none;
}

.confirm {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    color: white;
    align-self: center;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 5vh;
    width: 100%;
    background-color: #272a2e;
}

.button {
    color: #ffffff;
    background-color: #fe97d700;
    font-size: calc(0.6rem + 1.3vh);
    border: 0px solid #fe97d7;
    border-radius: 9px;
    cursor: pointer;
    outline-width: 3px;
    outline-color: #fe97d7;
    outline-style: solid;
    margin-right: 4px;
    z-index: 100;
}
.button:hover {
    color: #12203b;
    background-color: #ffffff;
}

.button-holder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.p {
    color: white;
}
