@font-face {
    font-family: HalvarMittelschriftRegular;
    src: url(fonts/Halvar-Mittelschrift-Regular-Demo.otf);
}
@font-face {
    font-family: HalvarMittelschriftMedium;
    src: url(fonts/Halvar-Mittelschrift-Medium-Demo.otf);
}
@font-face {
    font-family: ABCDiatypeMonoRegular;
    src: url(fonts/ABCDiatypeMono-Regular-Trial.otf);
}
@font-face {
    font-family: parentheses;
    src: url(fonts/parentheses.ttf);
}

:root {
    --body: HalvarMittelschriftRegular;
    /*--bodyMedium: HalvarMittelschriftMedium;*/
    --bodyMedium: parentheses;
    --mono: ABCDiatypeMonoRegular;
}

body, html {
    margin: 0;
    padding: 0;
}
body {
    font-family: var(--body);
    padding: 0;
    overflow-x: hidden;
}
.button {
    background-color: #000000;
    padding: 12px 36px;
    color: #ffffff;
    width: fit-content;
    cursor: pointer;
    border-left: 3px solid #000000;
    border-right: 3px solid #000000;
    transition: all 0.5s ease-in-out;
}
.button:hover {
    border-left: 3px solid #000000;
    border-right: 3px solid #000000;
    color: #000000;
    background-color: #00000000;
}
h2 {
    font-size: 36px;
    margin-bottom: 10px;
}
#content h2 {
    text-transform: uppercase;
}
a {
    color: #000000;
}

/* MODAL */
#image-modal {
    width: 100vw;
    height: 100vh;
    background: linear-gradient();
    backdrop-filter: blur(5px);
}

/* NAVBAR */
#navbar {
    font-family: var(--bodyMedium);
    padding: 0 20px;
    position: fixed;
    color: #000000;
    z-index: 200 !important;
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    box-sizing: border-box;
}
#navbar-links {
    display: flex;
    flex-direction: row;
    gap: 50px;
    list-style: none;
    text-transform: uppercase;
}
#navbar li {
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}
#navbar li > span {
    font-family: parentheses !important;
    font-size: 20px;
}
#navbar li:hover {
    letter-spacing: 1px;
}

#hero {
    height: 80vh;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden;
}

#toy-museum-logo {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: calc(100vw - 40px);
    top: 50%;
    transform: translateY(-50%);
}
#abundance {
    white-space: nowrap;
    
    height: 100%;
    overflow: hidden;
    justify-content: left;
    width: 100%;
    margin-left: -20px;
    margin-right: -20px;
}
#abundance-images {
    animation: scroll-left 150s linear infinite;
    display: flex;
    flex-direction: row;
    gap: 10px !important;
}
#abundance-images div {
    display: flex;
    flex-direction: column;
    justify-content: start;
    text-align: left;
}
#abundance-images:hover {
    animation-play-state: paused;
}
.abundance-labels {
    opacity: 0;
    margin-top: 10px;
    font-size: 12px;
    /*width: 200px;*/
}
.abundance-circle {
    display: inline-block;
    margin: 0 5px 0 0;
    font-size: 26px;
    vertical-align: -5px;
    padding: 0;
    line-height: 8px;
}
.abundance-name {
    font-family: var(--mono);
    text-transform: uppercase;
}
#abundance-images div:hover .abundance-labels {
    opacity: 1;
}
@keyframes scroll-left {
    0% {
      transform: translateY(0%) translateX(0);
    }
    100% {
      transform: translateY(0%) translateX(-200%);
    }
  }
#abundance img {
    height: 100%;
    max-height: 127.76px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
}
.hero-abundance-brackets {
    z-index: 100;
}

#intro {
    display: grid;
    grid-template-columns: 4fr 4fr 1fr 3fr;
    gap: 20px;
    padding: 0 20px;
}

#exhibitions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 100px;
    padding: 0 20px;
}
.exhibitions-card img {
    margin-bottom: 8px;
    width: 100%;
}
.exhibitions-title {
    font-family: var(--bodyMedium);
    font-size: 36px;
    display: inline-block;
    text-transform: uppercase;
    line-height: 33px;
    margin-bottom: 5px;
}
.exhibitions-date {
    font-size: 14px;
    display: inline-block;
    text-transform: uppercase;
}

#content {
    margin-bottom: 100px;
}
#contents {
    padding: 0 20px;
    margin-bottom: 100px;
}
#contents-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
#blog {
    position: relative;
}
#blog img {
    width: 100%;
}
#audio {
    position: relative;
}
.parentheses {
    font-family: var(--bodyMedium);
    font-size: 30px;
    margin-top: -30px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    z-index: 20;
    /*mix-blend-mode: difference;*/
    color: #000000;
}
.parentheses-mono {
    font-family: var(--mono);
    font-size: 12px;
}

#audio-content {
    display: flex;
    flex-direction: column;
    background: rgb(230, 230, 230);
    padding: 20px;

    justify-content: center;
    text-align: center;
}
#audio-content img {
    width: 200px;
    margin: 30px 0 20px 0;
    align-self: center;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.25);
}
.audio-episode {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-bottom: 20px;
}
.audio-episode-title {
    font-size: 18px;
    font-family: parentheses;

    display: flex;
    flex-direction: row;
    text-align: center;
    gap: 10px;

    margin-bottom: 5px;
    
}
.audio-episode-details {
    display: flex;
    flex-direction: row;
    font-family: var(--mono);
    font-size: 10px;
    justify-content: space-between;
    border-bottom: 1px solid #000000;
    width: 100%;
    padding-bottom: 5px;
}
.audio-episode-title-content {
    width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: hidden;
}
.audio-episode-title-content-inside {
    margin: 0;
}
.audio-episode:hover .audio-episode-title-content-inside {
    animation: scroll-left 20s linear infinite;
}

#collection {
    position: relative;
    padding: 0 20px;
    margin-bottom: 100px;
}
#collection-parentheses {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.collection-items-brackets {
    height: 250px;
    z-index: 2;
}
#collection-items {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    height: 100%;

    white-space: nowrap;
    gap: 20px;
    overflow-x: hidden;
    overflow-y: visible;

    margin-left: -80px;
    margin-right: -80px;
}
/*#collection-items img {
    max-height: 250px;
    width: 200px;
    object-fit: fill;
    margin-bottom: 10px;
    transition: all 0.3s ease-in-out;
    transform-origin: top left;
}*/
.collection-items-object {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.collection-items-object-name {
    font-family: var(--mono);
    font-size: 14px;
    text-transform: uppercase;
}
.collection-items-object-image {
    object-fit: fill;
    margin-bottom: 10px;
    transition: all 0.5s ease-in-out;
    transform-origin: top left;
}
#collection-items .collection-items-object:nth-child(even) img {
  width: 200px;
}
#collection-items .collection-items-object:nth-child(odd) img {
  width: 150px;
}
#collection-items .collection-items-object:nth-child(even):hover img, #collection-items .collection-items-object:nth-child(odd):hover img {
  /*transform: scale(1.2);
  transition: transform 0.3s ease-in-out;
  transform-origin: top left;*/
    width: 250px;
}
.circle {
    display: inline-block;
    margin: 0 7px 0 0;
    font-size: 30px;
    vertical-align: -5px;
    padding: 0;
    line-height: 10px;
}

#spotlight-hero {
    width: 100%;
    height: 400px;
    background: linear-gradient(to top, #ffffff00 0%, #ffffff4d 29%, #ffffff 100%), url(images/project-artemis.jpg);
    background-size: cover;
    background-position: center;
    padding: 40px 20px 20px 20px;
}
#spotlight-hero h2 {
    margin: 0;
    font-size: 50px;
    text-transform: none;
}
#spotlight-hero p {
    font-size: 24px;
    width: 50%;
}

/* FOOTER */
#newsletter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 100px 0 0 0;
    gap: 50px;
    width: 700px;
    justify-self: center;
}
#newsletter h2 {
    margin: 0;
}
#newsletter-form {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#newsletter-form .button {
    margin-top: 20px;
}
input {
    width: 100%;
}
.input-field {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}
input::placeholder{
    color: #d0d0d0;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

/* NEWSLETTER */
#footer {
    margin-top: 300px;
    padding: 20px;
}
#footer img {
    margin-bottom: 100px;
    width: 100%;
}
#footer-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.footer-links {
    display: flex;
    flex-direction: row;
    gap: 50px;
}