/* ---------------  GENERELL SETTING  --------------- */

* {
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  --theme-color-1: rgb(0, 173, 136);
  --theme-color-1-values: 0, 173, 136;
  --theme-color-2: rgb(0, 83, 68);
  --theme-color-2-values: 0, 83, 68;
  --theme-color-3: rgb(0, 65, 62);
  --theme-color-bg-1: rgb(0, 34, 51);
  --bg-grey: rgb(222, 222, 222);
  --darker-grey: rgb(200, 200, 200);
  --text-grey: rgb(75, 75, 75);
  --text-dark-grey: rgb(45, 45, 45);
  --box-shdw-card: 0 0 15px rgba(0, 34, 51, 0.4);
  color: white;
}

.transition {
  transition: all 225ms ease-in-out;
}

h1 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  text-align: center;
  z-index: 1;
}

h2 {
  font-size: 1.7rem;
  font-weight: 400;
  text-align: center;
  z-index: 1;
}

h3 {
  align-self: flex-start;
  justify-content: flex-start !important;
  padding: 20px 50px 20px calc(10vw + 20px);
  background: rgba(var(--theme-color-1-values), 0.4);
  font-size: 1.7rem;
  font-weight: 700;
  box-shadow: inset 0px 0 20px 5px rgba(var(--theme-color-1-values), 0.7);
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  position: relative;
  left: -20px;
}

a {
  text-decoration: none;
}

.w-100 {
  width: 100%;
}

.bg-grey {
  background: var(--bg-grey);
}

.bg-content {
  background: rgba(var(--theme-color-2-values), 0.3);
  box-shadow: inset 0 0 20px rgba(var(--theme-color-1-values), 0.4);
  border-radius: 2px;
}

.d-none {
  display: none !important;
}

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

.col {
  flex-direction: column;
}

input {
  border-radius: 7px;
  padding: 0.6rem;
  color: var(--text-dark-grey);
  letter-spacing: 0.3px;
  box-shadow: 0 0 3px 1px var(--theme-color-1);
  border: none;
  appearance: textfield;
  -moz-appearance: textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input:focus {
  outline: none;
  box-shadow: 0 0 3px 3px var(--theme-color-1);
}

.button {
  border-radius: 2px;
  border: none;
  letter-spacing: 0.2px;
  cursor: pointer;
  color: white;
  border-radius: 50px;
}

table {
  border-collapse: collapse;
  border-radius: 2px;
}

table caption {
  font-size: 1.2rem;
  font-weight: 600;
  padding-bottom: 1.5rem;
}
thead th {
  text-align: center;
  font-weight: 500;
  border-bottom: 2px solid var(--darker-grey);
}
td {
  border-bottom: 1px solid var(--darker-grey);
  padding: 10px;
  text-align: center;
  position: relative;
}

section {
  min-height: 100vh;
  padding: 100px 0;
  position: relative;
  background: var(--theme-color-bg-1);
}

.section-container {
  margin-bottom: 0px;
  z-index: 1;
}

.section-content {
  margin-top: 50px;
  width: 80%;
  border-radius: 10px;
}

.section1 {
  padding-bottom: 50px;
  overflow: hidden;
}

.section2 {
  padding-bottom: 200px;
}

.nobreak {
  white-space: nowrap;
  padding-left: 20px;
}

/* --------------  BACKGROUND-IMAGE  -------------- */

.bg-img {
  aspect-ratio: 3/2;
  background-image: url('../img/layered-peaks-1.svg');
  background-position: center;
  background-size: cover;
  position: absolute;
  bottom: 0%;
  left: 0;
}

.header-bg-img {
  background-image: url('../img/layered-peaks-2.svg');
  height: 100vh;
  background-position: bottom;
  opacity: 0.2;
}

.section-bg-img {
  z-index: 0;
  opacity: 0.5;
}

/* ---------------  HEADER  -------------- */

header {
  height: 100vh;
  background: var(--theme-color-2);
  position: relative;
  gap: clamp(50px, 10vh, 400px);
}

.header-headings {
  z-index: 1;
}

.header-links {
  width: 70%;
  min-width: 850px;
  display: flex;
  justify-content: center;
  gap: clamp(50px, 5vw, 300px);
  align-items: flex-start;
}

.header-link {
  width: 25rem;
  padding: 1.5rem 0;
  font-size: 1.3rem;
  font-weight: 400;
  background: rgba(var(--theme-color-1-values), 0.1);
  box-shadow: inset 0px 0 20px rgba(var(--theme-color-1-values), 0.6), 0 0 20px rgba(16, 37, 48, 0.3);
  border-radius: 50px;
  z-index: 1;
}

.header-link:hover {
  box-shadow: inset 0px 0 20px 2px rgba(var(--theme-color-1-values), 0.7), 0 0 20px rgba(0, 173, 136, 0.2);
}

.down-img {
  display: none;
  width: 2rem;
  margin-top: 0.5rem;
  filter: invert(20%);
}

/* ---------------- UP-ARROW  ----------------- */

.to-top-btn {
  width: 50px;
  height: 50px;
  padding: 7px;
  position: fixed;
  bottom: 50px;
  right: 70px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.to-top-btn:hover {
  box-shadow: inset 0px 0 20px 2px rgba(var(--theme-color-1-values), 0.7), 0 0 20px rgba(0, 173, 136, 0.2);
}

.to-top-img {
  margin-top: 3px;
  width: 80%;
}
