@import url("https://fonts.googleapis.com/css2?family=Ubuntu+Mono:wght@400;700&display=swap");

:root {
  /*
  --swiper-pagination-color: var(--swiper-theme-color);
  --swiper-pagination-bullet-size: 8px;
  --swiper-pagination-bullet-width: 8px;
  --swiper-pagination-bullet-height: 8px;
  --swiper-pagination-bullet-horizontal-gap: 4px;
  --swiper-pagination-bullet-vertical-gap: 6px;
  --swiper-pagination-bullet-opacity: 1;
  */
  --swiper-pagination-bullet-inactive-color: white;
  --swiper-pagination-bullet-inactive-opacity: 0.5;
}

* {
  box-sizing: border-box;
}
html,
body {
  min-height: 100vh;
  max-height: 100vh;
  height: 100vh;
  background: #fff;
  color: #000;
  font-family: "Ubuntu Mono", monospace;
  position: relative;
}

body {
  /* font-size: 1.4rem; */
  text-rendering: optimizeLegibility;
}
/* sets the base font size for the document; turns on kerning pairs and ligatures */

body,
ul,
ol,
dl {
  margin: 0;
}

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

article,
aside,
audio,
footer,
header,
nav,
section,
video {
  display: block;
}

/* ensures that older browsers will display HTML5 elements correctly */

h1 {
  font-size: 1.4rem;
}
/* begins to set up font sizes relative to base rem – h1 has been used as an example */

p {
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  font-size: 16px;
  text-align: center;
}
img {
  border: none;
  max-width: 100%;
}

body {
  background-color: black;
  color: white;
  background-image: url("/public/img/bg.png");
}

header {
  padding: 0px 60px;
  width: 100vw;
  display: flex;
  align-items: center;
  height: 80px;
}

.content {
  height: calc(100vh - 80px - 60px);
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.content img {
  height: 95%;
  max-width: 90vw;
}

footer {
  height: 60px;
  width: 100vw;
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  background-color: rgba(20, 20, 20, 0.75);
}

.copyright-container {
  width: 33.33vw;
}

.social {
  width: 33.33vw;
  gap: 8px;
}

.social-icon::before {
  font-size: 16px;
}

.social-icon:hover {
  color: rgba(255, 255, 255, 0.75);
}

.social-icon:active {
  color: rgba(255, 255, 255, 0.5);
}

.social-text {
  font-weight: 700;
  margin: 0;
}

.copyright {
  margin: 0;
}

.logo {
  height: 32px;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.swiper-nested {
  padding: 0;
  padding-top: 1rem;
}

.swiper-slide {
  border-radius: 8px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  background-position: center;
  background-size: cover;

  width: min(75vw, 640px);
  overflow-y: auto;

  height: 500px;

  & .note {
    font-style: italic;
    font-size: small;
  }

  & .title {
    text-align: center;
  }

  & .links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }
}

.swiper-slide-nested {
  position: relative;
  height: 300px;
  border: none;

  & > video {
    width: 100%;
    height: inherit;
    object-fit: contain;
  }

  & > img {
    width: 100%;
    object-fit: contain;
  }

  & > .media-overlay {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5em;
    width: 100%;
    text-align: center;
    top: 0;
    font-size: small;
  }
}

.swiper-slide img {
  display: block;
  width: 100%;
}

.swiper-pagination {
  background-color: rgba(0, 0, 0, 0.25);
  padding: 4px 0;
  border-radius: 8px;
}

.portfolio-item {
  background-color: rgba(20, 20, 20, 0.75);
  padding: 16px;
}

@media only screen and (max-width: 600px) {
  header {
    padding: 0 1em;
  }
  footer {
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 0.5em;
    padding: 0.5em;
  }
  .copyright-container,
  .social {
    width: 100vw;
  }
}

@media only screen and (max-width: 450px) {
  .content img {
    height: initial;
  }
}

::-webkit-scrollbar {
  width: 3px;
  height: 5px;
  opacity: 0; /* Initially hidden */
}

::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 5px;
}

::-webkit-scrollbar-track {
  /* dark */
  background-color: #333;
  border-radius: 5px;
}
