:root {
    --soft-blue: hsl(215, 51%, 70%);
    --cyan: hsl(178, 100%, 50%);
    --main-bg: hsl(217, 54%, 11%);
    --card-bg: hsl(216, 50%, 16%);
    --line: hsl(215, 32%, 27%);
    --white: hsl(0, 0%, 100%);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.header1 {
    min-width: 400px;
    background-color: hsl(215, 51%, 70%);
    color: black;
    font-weight: 900;
    font-size: 48px;
    text-align: center;
    border-bottom: 3px solid var(--line);
    animation-name: headerani;
    animation-play-state: paused;
    animation-duration: 0.01s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}

@keyframes headerani {
    100% {
        font-size: 48.2px;
    }
}

body {
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    background-color: var(--main-bg);
    align-content: center;

}

.card {
    position: relative;
    width: 350px;
    background-color: var(--card-bg);
    color: var(--soft-blue);
    padding: 25px 25px;
    border-radius: 2%;
    font-weight: 300;
    line-height: 26px;
    margin: 15px auto;
    box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
}

.card-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    margin-left: -25px;
    margin-top: -25px;
    /* background-color: hsl(215deg 33% 65%);*/
    background-color: #8bacda;
    background-image: linear-gradient(62deg, #8bacda 0%, #0d192b 100%);
    color: var(--soft-blue);
    border-radius: 2%;
    line-height: 26px;
    z-index: 10;
    visibility: visible;
}

.door {
    animation-name: example;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes example {
    100% {
        width: 0.5px;

    }
}

.card h2 {
    width: 300px;
    height: 28px;
    font-weight: 600;
    color: var(--white);
    font-size: 22px;
    line-height: 28px;
    margin: 20px 0 10px 0;

}

.card h2:hover {
    color: var(--cyan);
}

.card .nft-card-image {
    width: 300px;
    height: 300px;
    border: 0.2px solid var(--soft-blue);
    border-radius: 2%;
    padding: 1px;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 400;
    margin: 50px 0 10px 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 4px;
}

.time,
.price {
    display: flex;
    align-items: center;
    margin-right: 5px;
}

.time img,
.price img {
    margin-right: 10px;
}

#time2 {
    width: 130px;
    height: 26px;
    overflow: hidden;
    white-space: nowrap;
}

.img-overlay {
    background-color: var(--cyan);
    position: absolute;
    width: 300px;
    height: 300px;
    top: 25px;
    left: 25px;
    border-radius: 1px;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-overlay:hover {
    transition: 1s;
    opacity: 0.3;
}

.creator {
    display: flex;
    align-items: center;
    font-size: 13px;
    /* padding-top: 10px;*/
}

.creator img {
    display: flex;
    width: 50px;
    height: 50px;
    margin-right: 5px;
    border: 1px solid var(--white);
    border-radius: 100%;
    object-fit: cover;
}

.btn-container {
    display: flex;
    justify-content: center;
    padding-top: 5px;

}

#prev-btn {
    width: 25px;
    margin-right: 5px;
    border-radius: 20%;
    border-color: var(--line);
    background-color: var(--white);
    opacity: 0.9;
}

#next-btn {
    width: 25px;
    margin-left: 5px;
    border-radius: 20%;
    border-color: var(--line);
    background-color: var(--white);
    opacity: 0.9;
}

#plus {
    font-size: 25px;
    font-family: fantasy;
    position: absolute;
    margin-left: 85%;
    margin-top: 3%;
}

.modal-overlay {
    position: absolute;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-radius: 1%;
    visibility: hidden;
    transition: var(--transition);
}

.open-modal {
    visibility: visible;
    z-index: 10;
}

.modal-container {
    display: flex;
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: whitesmoke;
    border-radius: 1%;
    border: 1px solid var(--main-bg);
}

#plus:hover {
    font-weight: 999;
    font-size: 30px;
    cursor: pointer;
}

.closeBtn {
    display: flex;
    position: absolute;
    left: 96.8%;
    bottom: 96%;
    font-size: 10px;
    background-color: transparent;
    border: none;

}

.closeBtn:hover {
    font-weight: 700;
    cursor: pointer;
}

form {
    display: grid;
    width: 100%;
    height: 100%;
    padding: 15px;
    background-color: lightgrey;
    border: 2px solid white;
    border-radius: 2px;
}

#form-title {
    text-align: center;
    background-color: var(--card-bg);
}

.formsubmit {
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    background-color: var(--card-bg);
    color: var(--soft-blue);
    margin-top: 15px;
    padding: 5px;
}

.input {
    border: 1px solid black;
    border-radius: 5px;
    text-indent: 3px;
    vertical-align: text-top;
}

.labels {
    display: grid;
    /*justify-content: center;*/
    font-weight: bold;
    color: var(--main-bg);
}

#labeldescription {
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 1px;
    border-radius: 2px;
}

#ntoggle,
#ctoggle {
    text-align: center;
    font-size: 12px;
}

.hovertoggle:hover {
    font-weight: 999px;
    font-style: italic;
    color: var(--soft-blue);
}

#description2 {
    height: 50px;
}

#description {
    width: 300px;
    height: 52px;
    word-wrap: break-word;
}

.btn-container #next-btn:hover,
#prev-btn:hover {
    border-width: 0px;
    font-size: 17px;
    background-color: white;
}

.card-overlay-title {
    position: relative;
    height: 220px;
    margin: 0px;
    padding: 25px;
    color: hsl(215deg 33% 65%);
    text-align: center;
}


/*.creator img:hover {
    width: 51px;
}*/

.creator span {
    color: white;
}

.creator span:hover {
    color: var(--cyan);
}

.eth {
    color: var(--cyan)
}