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

html {
  /* font-size: 10px;with this we do not respect the changes of users font-sizes in their browser */
  font-size: 62.5%; /*Percentage of users browser font-size setting. */
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;

  /*Only works if there is nothing absolutely positioned in relation to body*/
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #d6e3ea; /* Current: #d6e3ea Maybe: ##202949 ||#d2d4db*/
  position: relative;
}

main {
  flex: 1;
  background-color: #d6e3ea;
  align-items: center;
}

/*******************************************/
/*GENERAL REUSABLE COMPONENTS*/
/*******************************************/
.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem;
}

.container-small {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 3.2rem;
}

.hidden {
  display: none;
}

.heading-secondary {
  font-size: 3.6rem;
  margin-bottom: 3.6rem;
}

.grid {
  display: grid;
  row-gap: 9.6rem;
  column-gap: 6.4rem;
  /* margin-bottom: 9.6rem; */
}

/* .grid:last-child {
  margin-bottom: 0;
} */

.grid:not(:last-child) {
  margin-bottom: 9.6rem;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}

.grid--5-cols {
  grid-template-columns: repeat(5, 1fr);
}

.grid--center-v {
  align-items: center;
}

.align-in-button {
  text-align: center;
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  font-size: 2rem;
  text-decoration: none;
  padding: 1.6rem 3.2rem;
  border-radius: 100rem;
  font-weight: 600;
  text-align: center;
  /*Put transition on original "state"*/
  transition: all 0.3s;

  /*Only necessary for .btn*/
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn--full:link,
.btn--full:visited {
  background-color: #3e62ff;
  border: solid 2px #3e62ff;
  color: #fff;
}

.btn--full:hover,
.btn--full:active {
  /* background-color: #cf711f; */
  border: solid 2px #555;
  background-color: #d6e3ea;
  color: #555;
}

.btn--outline:link,
.btn--outline:visited {
  border: solid 2px #555;
  color: #555;
}

.btn--outline:hover,
.btn--outline:active {
  border: solid 2px #3e62ff;
  background-color: #3e62ff;
  color: #fff;
  /* border: 3px solid #fff; */

  /* Trick to add border to the inside of the button: */

  /*box-shadow: inset 0 0 0 3px #3e62ff; box-shadow: inset no offset horizontally no offset vertically no blur scaled by 3px color white <-- the inset keyword adds the shadow to the inside */
}

.education-thesis-abstract.btn--outline {
  padding: 0.4rem 0.8rem;
  font-size: 1.2rem;
  color: #555;
  box-shadow: inset 0 0 0 2px #555;
  border: none;
}

.education-thesis-abstract.btn--outline:hover,
.education-thesis-abstract.btn--outline:active {
  box-shadow: inset 0 0 0 3px #3e62ff;
  color: #fff;
  /* border: none; */
}

.close-modal {
  padding: 0.4rem 0.8rem;
  font-size: 1.2rem;
  color: #555;
  box-shadow: inset 0 0 0 2px #555;
}

.close-modal:hover {
  box-shadow: inset 0 0 0 3px #3e62ff;
  background-color: #3e62ff;
  color: #fff;
}

/*SETTINGS CLASSES*/
.margin-right-sm {
  margin-right: 1.6rem !important;
}

.margin-bottom-sm {
  margin-bottom: 3.2rem !important;
}

.margin-bottom-md {
  margin-bottom: 4.8rem !important;
}

.margin-bottom-lg {
  margin-bottom: 9.6rem !important;
}

.center-text {
  text-align: center;
}

strong {
  font-weight: 500;
}

/**/
/*Modal*/
/**/
.modal {
  position: absolute;
  /* top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
  /* width: 70%; */
  width: 113.6rem;

  background-color: white;
  padding: 6rem;
  border-radius: 5px;
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 5;
}
