/* Basic reset */
html{
  -webkit-font-smoothing: antialiased; /* Smooth font rendering for Webkit browsers */
  -moz-osx-font-smoothing: grayscale; /* Smooth font rendering for Firefox on Mac */
  text-rendering: optimizeLegibility; /* Optimize text rendering for legibility */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #0d0c22;
  -moz-font-feature-settings: "c2cs";
  font-feature-settings: 'ss01';
}
/* General styling */
body {
    font-family: "Mona-Sans Medium", "Mona-Sans Medium Placeholder", sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 100%;
    font-feature-settings: 'ss01';
    background-color: #f1eeeb;
}
 main {
  flex-grow: 1;
  margin: 40px auto 24px;
  text-align: center;
  text-shadow: 0px 0px 1px #0d0c2263;
  font-family: "Mona-Sans Medium", "Mona-Sans Medium Placeholder", sans-serif;
  width: 100%;
  font-size: 16px;
 }

.title {
  font-size: 20px;
}

img {
  display: inline;
  margin: 0 auto;
  height: 100%;
  width: 150px;
  border-radius: 50%;
  border: 7px solid #ffffff;
}
h1  {
  font-weight: 400;
  font-size: 48px;
  letter-spacing: -0.5px;
  padding-bottom: 50px;
}
.s1 {
  font-family: "Source Serif 4", Georgia, serif;
  padding-bottom: 20vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dis {
  display: flex;
  justify-content: center;
}
.dis p {
  width: 32rem !important;
  align-content: center;
  text-align: justify;
}
.s2 {
  padding-bottom: 20vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ls-row {
  display: flex;
  flex-direction: row;
  width: 500px;
  max-height:max-content;
 
  gap: 20px;
}
.s3 {
  padding-bottom: 20vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.svg {
  transition: 0.25s;
}


/*Hover right */

.svg:hover {
  filter: brightness(1);
  scale: 1.2;
}

.svg:has(+ *:hover) {
  filter: opacity(0.5);
}
.svg:hover + * {
  filter: opacity(0.5);
}
.svg:hover + * + * {
  filter: opacity(0.5);
}
.svg:hover + * + * + * {
  filter: opacity(0.5);
}
.svg:hover + * + * + * + *  {
  filter: opacity(0.5);
}
.svg:hover + * + * + * + * + *  {
  filter: opacity(0.5);
}
.svg:hover + * + * + * + * + * + * {
  filter: opacity(0.5);
}

/*Hover left */
.svg:has(+ *:hover) {
  filter: opacity(0.5);
}

.svg:has(+ * + *:hover) {
  filter: opacity(0.5);
}

.svg:has(+ *+ *+ *:hover) {
  filter: opacity(0.5);
}

.svg:has(+ *+ *+ *+ *:hover) {
  filter: opacity(0.5);
}

.svg:has(+ *+ *+ *+ *+ *:hover) {
  filter: opacity(0.5);
}

.svg:has(+ *+ *+ *+ *+ *+ *:hover) {
  filter: opacity(0.5);
}

.svg {
  min-width: 42px;
  min-height: 42px;
  max-width: 60px;
  max-height: 60px;
}
.swrapper{
  padding-block: 20px;
  padding-inline: 20px;
  display: flex;
  flex-direction: column;
  background-color: #e5e5e5 !important;
  border-radius: 10px !important;
}
.lnbtn {
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  background: #0a66c2;
  border-radius: 4px;
  border: 1.5px solid #0a66c2;
  cursor: pointer;
  font-weight: 400;
  font-size: 12px;
  line-height: 0px;
  text-decoration: none;
  color: white;
  text-shadow: 0px 0px 1px #ffffff98;

}
 .lnbtn:hover {
  border: 1.5px solid #074f97;
  background: #074f97;
  transition: background-color 500ms ease-in-out; 

}
.ebtn {
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  align-content: center;
  background: transparent;
  border-radius: 4px;
  border: 1.5px solid #2B65BC;
  cursor: pointer;
  font-weight: 400;
  font-size: 12px;
  line-height: 0px;
  text-decoration: none;
  color: #2B65BC;
  margin-left: 8px;
  text-shadow: 0px 0px 1px #2b65bcd7;
}
.ebtn:hover {
  border: 1.5px solid #c3c3c3;
  color: #0b213d;
  transition: border,color 500ms ease; 
}

.lnk-in{
  display: flex;
  justify-content: center;
  width: 20px !important;
}
/* Header styling */
header {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  padding: 40px 40px;
  font-size: 18px;
  line-height: 1.6;
  font-family: "Mona-Sans Medium", "Mona-Sans Medium Placeholder", sans-serif;
  text-shadow: 0px 0px 0.7px #0d0c226e;
}
/* Navigation bar styling */
nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 32px;
}
nav ul li {
  margin: 0 15px;
}
nav ul li a {
  text-decoration: none;
}
/*When hovering a link in NAV*/
nav ul li a:hover {
  color: rgba(130, 128, 123, 0.5);
  transition: color 200ms ease; 
}

/* Footer styling */
footer {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 10px 0;
  position: relative;
  bottom: 0;
  width: 100%;
  font-size: 14px;
  line-height: 1.6;
  font-family: "Mona-Sans Medium", "Mona-Sans Medium Placeholder", sans-serif;
  text-shadow: 0px 0px 0.7px #0d0c226e;
}

@media (max-width: 600px) {
  header {
    font-size: 20px;    
   }
   
  img {
    width: auto;
    height: 50%;
    border: 7px solid #ffffff;
  }
  .swrapper {
    flex-grow: 1;
    width: 100%;
  }

  .ls-row {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-evenly;
    flex-shrink: 1;
  }
  
  nav ul {
    justify-content: space-evenly;
    gap: 0;
  }

  .dis p {
    width: 100%!important;
  }

}
@media (max-width: 250px) {

  nav ul {
    min-width: fit-content;
    flex-wrap: wrap;
  }
}
/*Around 600 x 1100 is when things start to get weird*/
