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

html {
  font-family: "Lato", "Segoe UI", Arial, sans-serif;
  background-color: white;
  overflow-x: hidden;
  font-weight: 300;
  font-size: 1.1rem;
}

a {
  pointer-events: all;
}

.hero,
.section.section-title {
  background-image: url("cv/websites2/images/hero_image.svg");
  -webkit-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  min-height: 40rem;
  color: white;
  position: relative;
  z-index: 2;
}

.section.section-title {
  min-height: 30rem;
}

.section.section-title.bg-projects {
  background-image: url("cv/websites2/images/hero_image_green.svg");
}

.section.section-title.bg-minor-projects {
  background-image: url("cv/websites2/images/hero_image_blue.svg");
}

.hero div,
.section.section-title > * {
  z-index: 4;
}

.hero .title-section {
  position: absolute;
  bottom: 12rem;
  left: 2rem;
  max-width: calc(100vw - 4rem);
  pointer-events: all;
}

.here > *,
.section > * {
  pointer-events: all;
}

h1 {
  font-size: 6rem;
  font-weight: lighter;
}

h1,
h2,
h3,
h4 {
  clear: both;
}

.subtitle img {
  width: 1rem;
}

.subtitle a {
  text-decoration: none;
}

.cut-corner,
.cut-corner-top {
  height: 1.6vw;
  width: 10vw;
  background-color: white;
  transform: skewY(-7deg) scale(11);
  transform-origin: top left;
  margin-top: calc(-7.5vw + 2rem);
  margin-bottom: calc(-7.5vw + 2rem);
  position: relative;
  z-index: 4;
}

.cut-corner {
  margin-top: -1rem;
}

.cut-corner-top {
  margin-bottom: 1rem;
}

.section {
  z-index: 5;
  position: relative;
  padding-top: 4rem;
}

.section p,
.section ul,
.section ol {
  max-width: 50rem;
  margin: auto;
  padding: 0.5rem;
}

.section h3 {
  text-align: center;
  margin: 1.5rem 0;
}

.feature-image {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: relative;
  /* z-index: -200; */
}

.section-title {
  /* z-index: -200; */
  position: relative;
  height: 30rem;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  position: absolute;
  bottom: 4rem;
  left: 8rem;
}

.logos .image-frame {
  display: inline-block;
  width: 4rem;
  margin: 2rem;
  text-align: center;
  overflow: hidden;
  font-size: 0.8rem;
  font-style: italic;
}

.logos img {
  width: 4rem;
  height: 4rem;
  margin-bottom: 0.5rem;
}

.logos.logos-big img {
  width: 8rem;
  height: 8rem;
  margin-bottom: 1rem;
}

.logos.logos-big {
  font-size: 1.2rem;
}

.logos > div {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
}

.float {
  float: right;
  width: 20rem;
  margin: 0 2rem;
}

a {
  color: inherit;
}

.ring {
  display: grid;
  width: calc(min(100%, 40rem));
  margin: auto;
  grid-template-columns: 5rem 1fr 5rem;
  text-align: center;
}
