/* css reset */
@font-face {
  font-family: "Hadriano";
  src: url("../assets/font/HADRIANL.ttf") format("truetype");
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* CSS files add styling rules to your content */
body {
  line-height: 1;
  font-family: Hadriano;
  text-transform: uppercase;
  overflow: hidden;
}

h1 {
  font-style: italic;
  color: #373fff;
}

a {
  text-decoration: none;
  color: inherit;
}

.f-left a {
  cursor: pointer;
}

.wrapper {
  background: #051d35;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.virtualexh {
  position: absolute;
  top: 3vh;
  left: 3vw;
  width: 12rem;
  z-index: 2;
  mix-blend-mode: difference;
  transition: 400ms cubic-bezier(0, 0.69, 0.62, 0.99);
}

.virtualexh:hover {
  transform: rotateY(-45deg) rotateX(15deg);
}

.virtualexh img {
  width: 100%;
}

.exhibition-title {
  position: absolute;
  width: 40vw;
  left: 50vw;
  top: 0;
  transform: translate(-50%);
  mix-blend-mode: color-dodge;
}

.exhibition-title a img {
  mix-blend-mode: color-dodge;
}

.slider_container {
  display: none;
  position: absolute;
  left: 50vw;
  top: 53.5vh;
  transform: translate(-50%, -50%);
}

.slider {
  color: white;
  font-size: 1.25rem;
  text-align: center;
  line-height: 120%;
}

.slider p {
  margin-bottom: 0.5em;
  word-break: break-all;
}

#desciption {
  width: 60rem;
  margin: 0 auto;
  display: block;
  margin-top: 0.5em;
  font-size: 1rem;
  text-transform: lowercase;
}

.slide_img {
  height: 40rem;
}

.slide_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slide_nav {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
}

.next {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 40rem;
}
.next:hover {
  cursor: e-resize;
}

.prev {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 40rem;
}
.prev:hover {
  cursor: w-resize;
}

.cert-container {
  position: absolute;
  left: 50vw;
  top: 50vh;
  transform: translate(-50%, -50%);
  padding: 2rem;
}

.overflow_hide {
  overflow: hidden;
}

#certificates {
  padding-top: 18rem;
  display: grid;
  gap: 2.5rem;
  height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  padding: 8rem 0;
  align-items: center;
  justify-items: center;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  overflow-x: scroll;
}

#certificates::-webkit-scrollbar {
  display: none;
}

.cert_image {
  box-shadow: 0.25px 0.25px 1.75px 0.25px rgba(0, 0, 0, 0.35);
  width: 20rem;
  object-fit: contain;
  cursor: pointer;
  animation: fadeIn 2000ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.certs:hover {
  transform: rotate(5deg);
  transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.f-container {
  position: absolute;
  width: 100%;
  bottom: 0;
  color: white;
  font-size: 18pt;
  letter-spacing: 2pt;
  line-height: 26pt;
  padding-right: 8rem;
  z-index: 90;
  mix-blend-mode: difference;
}

.f-banner {
  text-align: center;
  background: white;
  color: #051d35;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0%;
  }
  to {
    opacity: 100%;
  }
}
