* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* height: -webkit-fill-available; */
}

body {
  width: 100%;
  /* height: 100vh; */
  box-sizing: border-box;
  background: #000000;
  /* overflow: hidden; */
}

#container {
  /* width: 100%; */
  /* height: 1450px; */
  height: 100vh;
  /* height: -webkit-fill-available; */
  display: grid;
  grid-template-columns: 1fr 150px 1fr 1fr 1fr 1fr 1fr 1fr 100px 100px 110px 110px;
  column-gap: 20px;
  row-gap: 30px;
  /* align-items: start; */
  /* justify-items: start; */
  align-content: start;
  /* justify-content: stretch; */

  max-width: 1450px;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 50px;
  padding-right: 50px;
  color: whitesmoke;
  font-family: 'Satoshi', sans-serif;
  font-size: 20px;
  line-height: 30px;
}

div {
  /* border: 2px solid hotpink; */
}

img {
  object-fit: cover;
  display: block;
  width: 100%;
  /* height: 100%; */
}

.logo-exhibition {
  grid-column: 1/7;
  grid-row: 1/2;
  /* background-image: url('./assets/logo.png'); */
  /* width: 100%; */
  margin-bottom: 50px;
}

.logo-camd {
  grid-column: 11/-1;
  grid-row: 1/2;
  /* background-image: url('./assets/logo.png'); */
  /* width: 100%; */
  margin-bottom: 100px;
}

.logo-camd > img {
  width: 80%;
}

.info-wrapper {
  grid-column: 2/5;
  grid-row: span 4;
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-weight: 200;
}

.event-type {
  font-weight: 700;
  color: #f26922;
}

.candidate .project {
  font-weight: 200;
}

.project {
  font-style: italic;
}

.iddv {
  grid-column: 8/9;
  grid-row: 2/3;
  font-size: 14px;
  letter-spacing: 7px;
}

.iddv-candidate {
  grid-column: 9/11;
  grid-row: 2/3;
}

.iddv-project {
  grid-column: 11/-1;
  grid-row: 2/3;
}

.xd {
  grid-column: 8/9;
  grid-row: 3/4;
  font-size: 14px;
  letter-spacing: 7px;
}

.xd-candidate {
  grid-column: 9/11;
  grid-row: 3/4;
}

.xd-project {
  grid-column: 11/-1;
  grid-row: 3/4;
}

/* .typewriter {
  position: relative;
}

.typewriter::after {
  content: '';
  position: absolute;
  margin-top: auto;
  margin-bottom: auto;
  bottom: 0;
  top: 0.5rem;
  right: 0;
  width: 1px;
  height: 1rem;
  background: whitesmoke;
  animation: blinkCursor 0.8s steps(3) infinite;
} */

@keyframes blinkCursor {
  0%,
  75% {
    ocpacity: 1;
  }
  76%,
  100% {
    ocpacity: 0;
  }
}

a:link,
a:visited,
a:active {
  color: whitesmoke;
  text-decoration: none;
  transition: 0.05s linear;
}

.divider {
  grid-column: 2/-1;
  grid-row: 6/7;
  height: 0.01rem;
  background: #f26922;
  margin-top: 2rem;
}

footer {
  /* position: absolute;s */
  /* width: 100%; */
  grid-column: 2/-1;
  grid-row: 7/8;
  color: whitesmoke;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: -15px;
  font-size: 16px;
  /* margin-bottom: 50px; */
}

.footer-sites,
.footer-icons {
  display: flex;
  gap: 20px;
}

.site > a,
.icon > a {
  color: #707070;
  transition: 0.05s linear;
}

.site > a:hover,
.icon > a:hover {
  color: whitesmoke;
  transition: 0.05s linear;
}

/* .project > a:visited {
  color: whitesmoke;
  text-decoration: none;
} */

/* .project > a:hover {
  font-weight: 700;
  color: #f26922;
  transition: 0.05s linear;
} */

.image-wrapper {
  position: fixed;
  /* top: 50%;
  left: 50%; */
  top: 1em;
  right: 2em;
  /* transform: translate(-50%, -50%); */
  width: 600px;
  height: 400px;
  pointer-events: none;
  opacity: 0;
}

.image-wrapper > img {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* @media screen and (width <= 1450px) {
  .logo-exhibition {
    grid-column: 1/8;
    grid-row: 1/2;
    margin-bottom: 50px;
  }
} */

@media screen and (width <= 1250px) {
  /* .logo-exhibition {
    grid-column: 1/9;
    grid-row: 1/2;
    margin-bottom: 50px;
  } */
  .logo-camd {
    width: 90%;
  }
}

@media screen and (width <= 1150px) {
  .logo-exhibition {
    grid-column: 1/9;
    grid-row: 1/2;
    margin-bottom: 20px;
  }
  .logo-camd {
    width: 80%;
  }
}

@media screen and (width <= 950px) {
  .logo-camd {
    width: 70%;
  }
}

@media screen and (width <= 700px) {
  #container {
    display: grid;
    grid-template-columns: repeat(3, 3fr);
    column-gap: 10px;
    row-gap: 10px;
    /* align-items: start;
    justify-items: stretch;
    justify-content: stretch;
    justify-content: stretch; */

    /* max-width: 320px; */
    /* min-width: 1400px; */
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    color: whitesmoke;
    font-family: 'Satoshi', sans-serif;
    font-size: 2rem;
    line-height: 3rem;
  }

  .logo-exhibition {
    grid-column: 1/3;
    grid-row: 1/2;
    /* background-image: url('./assets/logo.png'); */
    /* width: 100%; */
    margin-bottom: 30px;
  }

  .logo-camd {
    display: none;
  }

  .info-wrapper {
    flex-direction: row;
    grid-column: 1/-1;
    grid-row: initial;
    display: block;
    font-size: 14px;
    line-height: 20px;
  }

  .reception {
    grid-column: 1/2;
    grid-row: 2/3;
  }

  .exhibition {
    grid-column: 2/3;
    grid-row: 2/3;
  }

  .location {
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .iddv-candidate {
    display: none;
  }

  .xd-candidate {
    display: none;
  }

  .iddv {
    display: none;
  }

  .xd {
    display: none;
  }

  .iddv-project {
    grid-column: 1/4;
    grid-row: 3/4;
  }

  .xd-project {
    grid-column: 1/4;
    grid-row: 4/5;
  }

  .divider {
    grid-column: 1/-1;
  }

  footer {
    grid-column: 1/-1;
    flex-direction: column;
    font-size: 1rem;
    gap: 1rem;
    justify-content: flex-start;
  }
  .footer-sites {
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
    align-content: flex-start;
  }
  /* .footer-icons {
    flex-direction: column;
  } */
}

@media (hover: hover) {
  .project > a:hover {
    font-weight: 700;
    color: #f26922;
    transition: 0.05s linear;
    /* pointer-events: none; */
  }
}
