@charset "UTF-8";

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

body {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    color: black;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

a,
a:visited,
a:hover,
a:active {
    color: black;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: saturate(30%);
}

.glass-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 0;
}

main {
    position: relative;
    z-index: 1;
    padding: 0 2rem;
    padding-bottom: 20rem;
    color: black;
    max-width: 50%;
    margin: 0 auto;
}

.back-link {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100vw;
    text-decoration: none;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    padding-top: 4rem;
    text-align: right;
    mask-image: linear-gradient(to bottom, transparent, black 2rem);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 2rem);
}

h1 {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    z-index: 2;
    background: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    padding-bottom: 4rem;
    mask-image: linear-gradient(to top, transparent, black 2rem);
    -webkit-mask-image: linear-gradient(to top, transparent, black 2rem);
}

.cv-ornament {
    text-align: center;
    margin-top: 20vh;
    margin-bottom: 2rem;
}

h2 {
    font-size: .75 rem;
}

.cv-sections { 
  margin-top: 2rem; 
  font-size: .75rem;
  display: grid;
  grid-template-columns: 2rem auto 1.2fr 2fr auto;
  gap: .6rem .9rem;
}

.cv-group { 
  margin: 1.25rem 0 0 0;
  display: contents;
}
.cv-group-title {
  margin: 1.25rem 0 .5rem 0;
  font-weight: bold;
  font-style: italic;
  letter-spacing: .01em;
  grid-column: 1 / -1;
  text-transform: lowercase;
}
.cv-group:first-child .cv-group-title {
  margin-top: 0;
}

.cv-date {
  grid-column: 2;
}
.cv-situation {
  grid-column: 3;
}
.cv-activity {
  grid-column: 4;
}
.cv-location {
  grid-column: 5;
}

.cv-item {
  display: contents;
}

.cv-situation { 
  font-weight: normal;
  font-style: normal;
  text-align: left;
  padding: .35rem 0;
  text-transform: none;
}
.cv-activity  { 
  text-align: left;
  padding: .35rem 0;
  text-transform: none;
}
.cv-date      { 
  white-space: nowrap; 
  text-align: left;
  padding: .35rem 0;
  text-transform: none;
}
.cv-location  { 
  white-space: nowrap; 
  text-align: left;
  padding: .35rem 0;
  text-transform: none;
}

@media (max-width: 720px) {
  main {
    max-width: 100%;
  }
  
  .cv-sections {
    grid-template-columns: 1rem auto 1fr 1.5fr;
    gap: .4rem .6rem;
  }
  
  .cv-date {
    grid-column: 2;
    white-space: normal;
  }
  
  .cv-situation {
    grid-column: 3;
  }
  
  .cv-activity {
    grid-column: 4;
  }
  
  .cv-location {
    display: none;
  }
}

