body {
    margin: 0px;
    background-image: url(graphics/background.png);
    overflow-x: hidden;
    width: 100%; 
    min-width: 666px;
}

* {
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

p {
    -webkit-user-select: text;
    font-family: 'Lato', sans-serif;
}

input {
    font-family: 'Lato', sans-serif;
}

main {
    width: 100%;
}

#banner-wrapper {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100px;
    background-color: rgb(15,15,9);
    transition: 1s ease-in-out;
}

#banner {
    background-image: url(graphics/banner.png);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#header-line {
    position: absolute;
    top: 100px;
    transition: 1s ease-in-out;
    width: 100%;
    height: 3px;
    background-image: url(graphics/header-line.png);
}

#error-prompt {
    transition: 0.5s ease;
    position: fixed;
    left: 50%;
    top: 2000px;
    transform: translate(-50%);
    z-index: 2;
    background-color: rgba(255,255,255,0.6);
    padding: 1em 2em;
    border-radius: 4px;
}

.error-animation {
    animation: error-animation;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
}

@keyframes error-animation {
    0% { top: 2000px; transform: rotate(-45deg) translate(-50%) }
    10% { top: 55%; transform: rotate(10deg) translate(-50%) }
    15% { transform: rotate(-5deg) translate(-50%); }
    25% { transform: rotate(2deg) translate(-50%); }
    30% { transform: rotate(-1deg) translate(-50%); }
    40% { transform: rotate(1deg) translate(-50%); }
    50% { transform: rotate(0deg) translate(-50%); }
    50% { top: 55% }
    90% { top: 55% }
    100% { top: 2000px; transform: rotate(10deg) translate(-50%) }
}

#search-wrapper {
    margin: 10px 0px;;
    text-align: center;
    position: relative;
    height: 60px;
    width: 100%;
    transition: 1s ease-in-out;
    top: 10px;
}

#input-wrapper {
    width: 430px;
    height: 50px;
    left: -1000px;
    display: inline-block;
    position: relative;
}

#input {
    background-color: transparent;
    font-size: 1.3em;
    width: 100%;
    height: 43px;
    text-align: center;
    position: relative;
    display: inline-block;
    margin: 0;
    border-style: none;
    outline-style: none;
    top: 3px;
}

#input-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url(graphics/search-bar.png);
    background-repeat: 0;
    background-position: center;
}

#submit {
    height: 52px;
    width: 112px;
    background-image: url(graphics/search-button.png);
    margin: auto 0;
    display: inline-block;
    outline-style: none;
    border-style: none;
    position: relative;
    top: 1px;
    left: 1000px;
    margin-left: 5px;
}

#submit:hover {
    cursor: pointer;
    transform: scale(1.1)
}

#oracle-frame {
    width: 250px;
    position: relative;
    height: 347px;
    display: block;
    margin: 0 auto;
    background-image: url(graphics/oracle-frame.png);
    text-align: left;
}

#card-image-container > img, #card-info-container > img {
    display: block;
    margin: 0 auto;
}

#card-image-container, #card-info-container {
    min-width: 300px;
    width: 300px;
    display: inline-block;
    position: relative;
    height: 420px;
}

#card-container {
    width: 95%;
    text-align: center;
    margin: 25px auto 0px;
}

#card-frame {
    width: 250px;
    border-radius: 12px;
}

#oracle-header {
    height: 44px;
}

p {
    padding: 2px;
    margin: 2px;
    display: inline-block;
    color: rgba(15,15,9,0.8)
}

#card-info-content-text {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 90%;
    height: 90%;
    overflow-Y: auto;    
}

.card-descriptions-left {
    text-align: left;
    width: 75px;
    font-weight: bold;
    font-size: 12px;
}

.card-descriptions-right {
    text-align: left;
    width: auto;
    font-size: 11px;
}

#price-container {
    /* position: relative;
    width: 560px;
    height: 86px;
    margin: 0 auto 50px; */



        position: relative;
        max-width: 560px;
        background-image: url(graphics/price-frame.png);
        background-repeat: no-repeat;
        background-size: cover;
        margin: 0 auto 50px;
}

/* #price-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url(graphics/price-frame.png);
    background-size: contain;
    z-index: -1;
} */

#price-text {   
    text-align: center;
    padding: 20px;
}

/* #price-text {
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translate(-50%);
    text-align: center;
    width: 80%
} */

#price-text div {
    color: rgba(15, 15, 9, 0.9);
    margin: 0 0 8px 0;
}

a {
    text-decoration: none;
    color: rgba(15, 15, 9, 0.9);
    margin: 0 10px
}

a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    background-color: rgba(15, 15, 9, 0.9);
    position: fixed;
    left:0;
    bottom: 0;
    width: 100%;
    height: 20px;
    font-size: 0.5em;
}

footer > p {
    color: rgb(234,205,173);   
}

#all-of-the-stuff {
    display: none;
}

.slide-in-left {
    animation: slide-in-left;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes slide-in-left {
    0% { transform: translateX(0px) }
    100% { transform: translateX(1000px) }
}

.slide-in-right {
    animation: slide-in-right;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes slide-in-right {
    0% { transform: translateX(0px) }
    100% { transform: translateX(-1000px) }
}

#start-blind {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    background-color: rgba(15, 15, 9, 1);
    transition: 1s ease-in-out;
}

@media only screen and (max-width: 666px) {
    #input {
        display: block;
    }
    #submit {
        display: block;
        margin: 10px auto;
        background-size: 100%;
    }
    #search-wrapper {
        margin-bottom: 80px;
    }
    .card-descriptions-left {
        font-size: 22px;
        width: 100%;
        position: relative;
        left: 5px;
        top: 5px;
    }
    .card-descriptions-right {
        font-size: 18px;
        width: 100%;
        position: relative;
        left: 5px;
        top: 5px
    }
    #card-image-container, #card-info-container {
        width: 400px;  
        height: 600px;
    }
    #card-image-container {
        margin-bottom: 50px;
    }
    #card-frame, #oracle-frame {
        height: 600px;
        border-radius: 20px;
        width: 400px;
        position: relative;
        margin: 0 auto;
    }
    #oracle-frame {
        background-size: 100%;
        height: 555px;
    }
    p {
        display: block;
    }
    #price-text {
        margin-top: 10px
    }
}