html {
  scroll-behavior: smooth;
}

body {
   margin: 0rem;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


h2 {
   text-decoration: underline #9f0712 0.3rem;
}

nav {
   position: fixed;
   top: 0;
   right: 0;
   filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)) drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

nav > div {
   height: 3.9rem;
   clip-path: polygon(0 0, 34.2rem 0, 32.4rem 3.9rem, 0 3.9rem);
   background-color: #8A1F00;
}

nav > div > div {
   width: calc(100vw - 6rem);
   height: 1.2rem;
   padding: 0.9rem 0rem 1.2rem 6rem;
   background-color: #ffffff;
   display: flex;
   gap: 3rem;
   font-size: 1.2rem;
   line-height: 1.2rem;
   clip-path: polygon(0 0, 33.3rem 0, 31.8rem 3.3rem, 30.9rem 3.3rem, 32.4rem 0, 31.5rem 0, 30rem 3.3rem, 0 100%);
}

nav a {
   text-decoration: none;
   color: black;
   font-weight: 600;
   transition: all 0.3s ease-in-out;
}

nav a:hover {
   color: #8A1F00;
   scale: 1.1;
}

.hero-container {
   display: inline-block;
   width: 100%;
   height: calc(100vh - 6rem);
   padding: 3rem 0rem;
   display: flex;
   align-items: center;
   justify-content: center;
   background: radial-gradient(circle at top left, rgba(0, 0, 0, 0.4), transparent 70%), linear-gradient(to bottom right, rgba(0, 0, 0, 0.2), transparent 60%),#9f0712;
}

.hero {
   margin: auto;
   width: fit-content;
   padding: 3rem 0.6rem 0rem 3rem;
   display: flex;
   gap: 1.8rem;
   background-color: #ffffff;
   border-radius: 0.3rem;
   text-align: left;
   box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.hero > div {
   flex: 1;
}

.hero h1 {
   margin: 0rem;
   font-size: 3.6rem;
   max-height: 4.8rem;
   overflow: hidden;
}

.hero p {
   font-size: 1.5rem;
   margin-bottom: 6rem;
}

.hero img {
   width: 24rem;
   height: 24rem;
}

.buttons {
   display: flex;
   gap: 1.2rem;
}

.buttons a {
   font-weight: 600;
   padding: 0.6rem 1.8rem;
   text-align: center;
   transition: all 0.15s ease-in-out;
   text-decoration: none;
}

.buttons a:first-child {
   background-color: #9f0712;
   color: white;
}

.buttons a:first-child:hover {
   border-radius: 0.3rem;
   scale: 1.05;
   box-shadow: 0 1px rgb(0 0 0 / 0.05);
}

.buttons a:last-child {
   border: 2px solid black;
   color: black;
}

.buttons a:last-child:hover {
   background-color: #8A1F00;
   color: white;
}

.about {
   padding: 6rem 3rem;
}

.about > div {
   display: flex;
   gap: 3rem;
}

@media (max-width: 60rem) {
   .about > div {
      flex-direction: column;
      align-items: center;
   }
}

.about > div > div:first-child {
   flex: 1;
}

.about > div > div:last-child {
   flex: 1;
   max-width: 30rem;
   padding: 0rem 1.5rem 0.6rem 1.5rem;
   display: flex;
   flex-direction: column;
   overflow: hidden;
   border: 0.45rem solid #9f0712;
   border-radius: 0.9rem;
   box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
   translate: 0rem -4.5rem;
}

.about > div > div:last-child p {
   flex: 1;
   margin-top: 0rem;
   overflow: hidden;
}

.cropped {
   max-height: 36rem;
   overflow: hidden;
   transition: all 0.3s ease-in-out;
}

.expand-text-button .less {
  display: none;
}

.cropped.expanded .expand-text-button .more {
  display: none;
}
.cropped.expanded .expand-text-button .less {
  display: inline;
}

.cropped.expanded {
   max-height: 600rem;
}

.expand-text-button {
   width: 100%;
   font-size: 1.2rem;
   box-sizing: border-box;
   border: 2px solid #8A1F00;
   border-radius: 0.3rem;
   transition: all 0.3s ease-in-out;
   
}

.expand-text-button:hover {
   background-color: #8A1F00;
   color: white;
   cursor: pointer;
}


.preserve-lines {
  white-space: pre-line;
}