body {
  overflow-x: hidden;
  max-width: 100vw;
}

:root {
  
  --light: hsl(220, 50%, 90%);
  
  --m-background: rgba(0, 0, 0, 0.6);
  
  --background: linear-gradient(
    to right,
    hsl(210, 30%, 20%),
    hsl(255, 30%, 25%)
  );
  
  --border-color: hsla(0, 0%, 100%, .2);
  
  --focus: hsl(210, 90%, 50%);
  
  --shadow-1: hsla(236, 50%, 50%, .3);
  --shadow-2: hsla(236, 50%, 50%, .4);
}


.nav-underline {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-weight: 500;
  text-decoration: none;
}

.nav-underline::after {
  content: "";
  border-bottom: 2px solid white;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease-out;
}

.nav-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

html {
  scroll-behavior: smooth;
}

.mainbg {
  background-image: url('../media/arrow.png');
  background-repeat: no-repeat;
  background-size: 60%;
}

.custom-class-478 {
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.custom-class-217 {
  background: linear-gradient(50deg, rgba(155, 96, 132, 1) 0%, rgba(21, 19, 72, 1) 33%, rgba(21, 19, 72, 1) 77%, rgba(155, 96, 132, 1) 100%);
}

.custom-class-658 {
  mask-image: linear-gradient(to top, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.custom-class-354 {
  background: linear-gradient(50deg, rgba(24, 20, 37, 1) 0%, rgba(28, 33, 73, 1) 33%, rgba(60, 84, 162, 1) 67%, rgba(138, 91, 166, 1) 84%, rgba(162, 101, 197, 1) 100%);
}

.custom-class-57 {
  mask-image: linear-gradient(to top, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.custom-class-815 {
  background: linear-gradient(50deg, rgba(17, 4, 72, 1) 0%, rgba(55, 95, 199, 1) 30%, rgba(64, 137, 178, 1) 55%, rgba(66, 154, 87, 1) 78%, rgba(106, 153, 55, 1) 92%);
}

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: none;               
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 110%;
  
}


.modal-container:target {
  display: flex;
}

.modal {
  width: auto;   
  max-width: 45rem;  
  /* padding: 20px;    */
  border-radius: 0.8rem;
  color: var(--light);
  background: var(--background);
  box-shadow: 0.4rem 0.4rem 10.2rem 0.2rem var(--shadow-1);
  position: relative;
  overflow: hidden;
}

.modal__title {
  font-size: 2rem;  
  color: var(--light);
  font-weight: normal;
  padding-right: 3rem; 
}

.modal__text {
  padding: 0;
  /* margin-top: 1rem;  */
  font-size: 1rem;
  line-height: 1.6;
  color: var(--light);
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.modal__btn {
  /* margin-top: 2rem;   */
  padding: 0.8rem 1.2rem; 
  border: 1px solid var(--border-color);
  border-radius: 100rem;
  color: var(--light);
  background: transparent;
  font-size: 1.2rem;
  font-family: inherit;
  letter-spacing: 0.2rem;
  transition: 0.2s;
  cursor: pointer;
}

.modal__btn:hover,
.modal__btn:focus {
  background: var(--focus);
  border-color: var(--focus);
  transform: translateY(-0.2rem);
}


.link-2 {
  width: 2.5rem;  
  height: 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: 100rem;
  color: var(--light);
  font-size: 1.8rem;
  position: absolute;
  top: 1rem;  
  right: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.2s;
}

.link-2::before {
  content: '×';
  transform: translateY(-0.1rem);
}

.link-2:hover,
.link-2:focus {
  background: var(--focus);
  border-color: var(--focus);
  transform: translateY(-0.2rem);
}

.container {
  max-width: 1px;
  margin: 0 auto;
  padding: 0 20px;
}
