@import url("./root.css");
body {
    background-color: var(--bg);
    color: var(--text);
    font-family: "Barlow", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    display: flex;
    flex-direction: column;
    justify-content: center;
    letter-spacing: 2px;
    padding: 0px;
    margin: 0px;
}

.links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.links a {
    border: var(--primary) solid 1px;
    border-radius: 100rem;
    padding: 0.5rem;
    transition: all 0.4s;
}

.links a:hover {
    background-color: var(--primary-hover);
}

.links a svg {
    transform: translateY(1px);
}
header {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-dark);
    padding-bottom: 1.3rem;
}

header * {
    text-align: center;
}

header h1 {
    margin-bottom: 0px;
}
a {
    color: var(--primary);
    text-decoration: none;;
}

main section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

footer {
    background-color: var(--bg);
    backdrop-filter: brightness(0.5);;
    filter: brightness(0.5);
    width: 100%;
    text-align: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    margin-top: 1rem;
}
.releases {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 1rem;
    row-gap: 1rem;
    margin-bottom: 12px !important
}

/*  */

.releases h1 {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 2rem;
}



/*  */

.releases__item {
    background-color: var(--c3);
    padding: 0.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 #4c535357, 0 1px 2px -1px #6068686a;
    max-width: 20rem;
    position: relative;
    transition: all 0.3s;
}

.releases__item:hover {
    box-shadow: 0 1px 3px 0 var(--c2), 0 1px 2px -1px var(--c2);
}

.releases__item h3 {
    font-weight: bold;
    margin: 0px;
}
@media (min-width: 768px) {
    .releases {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 950px) {
    .releases {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
.releases__item .releases__item__head  {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.releases__item .releases__item__head mark:not(:empty) {
    background-color: #E58900;
   padding-left: 0.5rem;
   padding-right: 0.5rem;
    font-weight: 600;
    border-radius: 0.25rem;
}

.releases__item .releases__item__description {
    position: absolute;
    bottom: 0.5rem;
    background: linear-gradient(0deg, rgba(44,44,56) 0%, rgba(44,44,56,0.9) 49%, rgba(30,16,255,0) 100%);
    height: 70%;
    width: calc(100% - 16px);
    left: 0.5rem;
    align-content: end;

}
img {
    width: 100%;
    border-radius: 0.5rem;
}
tr td:nth-child(2) {
    color: white;
    margin-left: 0.5rem;
}

tr td:nth-child(1)::after {
    content: ":";
    position: relative;
}

   button {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem !important;
    border-radius: 0.5rem;
    font-family: "Barlow", serif;
    border: none;
    /* background-color: var(--primary); */
    background-color: transparent;
    color: var(--primary);
    border: var(--primary) solid 1px;
    transition: all 0.4s;
   }

   .search {
    display: flex;
    gap: 0.25rem;
   }

   button:focus {
    outline: none !important;
   }
button.secondary {
    background-color: transparent;
    color: var(--text) !important;
    border: var(--text) solid 1px !important;
}

button.secondary:focus:active {
    background-color: var(--text);
    color: black !important;
}

button.secondary:hover {
    background-color: #d1e1f94f;
}
button:hover {
    background-color: var(--primary-hover);
}

button:focus:active {
    background-color: var(--primary);
    color: white;
}
input {
    background-color: transparent;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-family: "Barlow", serif;
    box-shadow: 0 1px 3px 0 rgba(255, 255, 255, 0.1), 0 1px 2px -1px rgba(255, 255, 255, 0.1);
    border: var(--c2) solid 1px;
    transition: all 0.3s;
   }

   input:focus {
    border: white solid 1px;
    outline: none;
   }

   .out {
    background-color: rgb(140, 222, 84) !important;
   }

   .pre-order {
    background-color: #ff9800 !important;
   }