/* Reset Styles */
h1, h2, h3, blockquote, ul, li {
    font-weight: normal;
    padding: 0;
    margin: 0;
}

/* Global Styles */
* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

/* Text Selection */
::-moz-selection {
    color: #000000;
}
::selection {
    color: #000000;
}

/* Body Styles */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior: none;
    color: #000000;
    background-color: #FFFFFF
}

.main-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-box {
    width: 480px;
    height: 565px;
    background: rgb(166,166,166);
    background: linear-gradient(-110deg, rgba(166,166,166,0.7) 0%, rgba(235,235,235,0.7) 30%, rgba(166,166,166,0.7) 100%);
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, .3);
    display: flex;
    flex-direction: column;
    cursor: default;
}

@media (max-width: 649px) {
  .main-box {
    width: 90vw;
    height: 90%;
}
}

.main-box a {
    text-decoration: none;
    color: #000000;
}

.main-box a:hover {
    text-decoration: underline;
    color: #000000;
}

.main-box-top {
    width: 190px;
    display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: auto auto auto;
    gap: 0px;
    margin-bottom: 30px;
}

.my-name {
    margin-bottom: 15px;
    width: 100px;
    display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: auto auto;
}

#icon {
  cursor: default;
}

/* Initial tooltip styling */
.tooltip {
  position: absolute;
  cursor: pointer;
  padding: 8px;
  background-color: #333;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  pointer-events: none;
  max-width: 225px;
  display: none; /* Hide initially */
}

hr.solid-1 {
    border-top: 1px solid #000000;
    margin-bottom: 10px;
  }

  .accordion-section {
    margin-bottom: 10px;
  }

  .accordion-header {
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
  }

  .accordion-content {
    display: none;
  }

  .accordion-content a {
    display: block;
    text-decoration: none;
    margin: 10px 0;
  }

  .accordion-content a:hover {
    text-decoration: underline;
  }

  .accordion-icon {
    position: absolute;
    right: 0;
    font-size: 14px;
    font-weight: lighter;
}
  .bottom-section {
    margin-top: auto; /* This pushes it to the bottom */
  }

  hr.solid-2 {
    border-top: 1px solid #000000;
    margin-bottom: 15px;
  }

  .main-box-bottom {
    width: 220px;
    display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: auto auto auto;
    gap: 10px;
}

/* Case Study Page */
.backlink {
  position: fixed;
  left: 20px;
  top:20px;
  color: #000000;
  text-decoration: none;
}

.backlink a {
  color: #000000;
  text-decoration: none;
}

.backlink a:hover {
  text-decoration: underline;
}

.casestudy-container {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: default;
}

.casestudy-section {
  width: 750px;
  padding-bottom: 100px;
  text-align: justify;
}

.casestudy-section a {
  color: #000000;
}

.casestudy-top {
  width: 650px;
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: auto auto auto auto;
  gap: 0px;
  margin-top: 20px;
  margin-bottom: 50px;
}

@media (max-width: 649px) {
  .casestudy-section {
    width: 95vw;
    padding-bottom: 100px;
    padding-top: 40px;
    text-align: justify;
  }

  .casestudy-top {
    width: 95vw;
    display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: auto auto;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 50px;
  }
}

.casestudy-title {
  margin-bottom: 15px;
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: auto auto;
}

hr.solid-3 {
  border-top: 1px solid #000000;
  margin-bottom: 50px;
}

.shadow {
  box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, .3);
}

.scrolling-caption {
  margin-top: 60px;
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: 80% 20%;
  align-items: start;
}

.scrolling-caption img {
  width: 100%; 
  height: auto;
}

.scrolling-caption figcaption {
  position: sticky;
  top: 10px;
  padding-left: 10px; 
  text-align: left;
}

.scrolling-caption video {
  width: 100%; 
  height: auto;
}

.full {
  margin-top: 60px;
  margin-bottom: 60px;
}

.full img {
  width: 100%; 
  height: auto;
}

.half {
  margin-top: 60px;
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: start;
}

.half img {
  width: 100%;
  height: auto;
}

.half figcaption {
  padding-left: 10px;
}

.half-half {
  margin-top: 60px;
  margin-bottom: 60px;
  margin-left: 20%;
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: start;
}

.half-half img {
  width: 100%;
  height: auto;
}

.half-half figcaption {
  padding-left: 10px;
}

.video-caption-container {
  margin-top: 60px;
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: 80% 20%;
  align-items: start;
}

.video-caption-container video {
  width: 100%; 
  height: 100%;
  object-fit: cover;
}

.video-caption-container figcaption {
  position: sticky;
  top: 10px;
  padding-left: 10px; 
  text-align: left;
}

.final-thoughts{
  display: grid;
  grid-template-columns: 17% 83%;
  align-items: start;
}