section{
  font-family: 'Kubo Sans', sans-serif;  
  font-weight: 100;
}
.blurTitle {
  position: relative;
  width: 100vw; /* Viewport width */
  height: 100vh; /* Viewport height */
  overflow: hidden;
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.5);;
  display: flex;
  justify-content: center;
  align-items: center;
}
body, html {
  overflow-x: hidden;
}
.blurTitle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../comPhotos/resized/dolomiti-135_resized.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(3px);
  -webkit-filter: blur(3px);
  z-index: 1; /* This will place the pseudo-element behind the title */
}

.section-title {
  color: white;
  font-weight: 100;
  font-size: 8em;
  position: absolute;
  text-align: center;
  color: var(--white);
  text-transform: uppercase;
  text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.5);
  z-index: 2; /* This ensures the title is above the blurred background */
}
/*intro section---------------------------------------------------------------------------------*/
.about-me{
  width: 100;
  height: 100vh;
  background-image: url('../comPhotos/resized/dolomiti-135_resized.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.4);
}

.about-me h1{
  color: white;
  font-weight: 100;
  font-size: 8em;
}

/*main info section---------------------------------------------------------------------------------*/
.profile-picture {
  width: 44em;
  height: 34em;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  z-index: 5;
}
.profile-section {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #1a09099a;
  padding: 40px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}

.profile-section {
  --circle-color-1: rgba(7, 7, 16, 0.4); /* Lighter than before for more transparency */
  --circle-color-2: rgba(14, 15, 31, 0.5); /* Lighter than before for more transparency */
}

.profile-section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 60%;  /* The central circle */
  max-height: 80%;
  background: var(--circle-color-1);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

.profile-section::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 30%;  /* Smaller and offset circle */
  max-height: 60%;
  background: var(--circle-color-2);
  border-radius: 50%;
  top: 50%; /* Positioned towards the top-left */
  left: 20%;
  transform: translate(-50%, -50%);
  z-index: 1;
}


.profile-text{
  z-index: 5;
}
.profile-text h1 {
  font-size: 3.5rem;
  font-weight: 100;
  color: #ffffff;
  margin-bottom: 0.5rem;
  z-index: 3;
}


.profile-text p {
  font-size: 1.8rem;
  color: #d3c1b7;
  z-index: 3;
}


/*Story section---------------------------------------------------------------------------------*/
.story-section {
  background: linear-gradient(rgba(11, 11, 11, 0.578), rgba(0, 0, 0, 0.696));
  padding: 5em;
  border-radius: 10px;
  box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.7);
}

.story-section h2 {
  color: white;
  font-size: 4.5rem;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 100;
}

.story-content {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 3em;
}
.story-text::after {
  content: "";
  position: absolute;
  width: 25%;
  height: 40%;
  background: linear-gradient(#00000099, #2b062ac4);
  border-radius: 50%;
  top: 44%; /* Positioned towards the top-left */
  left: 30%;
  transform: translate(-150%, -150%);
  z-index: -1;
  transform: rotate(60deg);
}
.story-text p {
  color: #d3c1b7;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.story-picture {
  object-fit: cover;
  border-radius:15px;
  box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  z-index: 5;
}

/*Equipment section---------------------------------------------------------------------------------*/

.equipment-section {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row-reverse;
  background-color: #2a1a1a9a;  /* Slightly different shade for distinction */
  padding: 40px;
  width: 100%;
  border-radius: 10px;
  gap:100px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1), 0 0 200px 100px rgba(0, 0, 0, 0.1) inset; 
}

.equipment-text {
  position: relative;
  z-index: 5;
  font-family: 'Kubo Sans', sans-serif;  
}

.equipment-text h1 {
  font-size: 3.5rem;
  font-weight: 100;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.equipment-text ul {
  font-size: 1.8rem;
  color: #d3c1b7;
  list-style-type: none;
  padding-left: 0;
}

.equipment-picture {
  width: 55em;
  height: 30em;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  z-index: 5;
}
/*MEDIA---------------------------------------------------------------------------------*/
@media all and (max-width: 768px){
  .about-me h1{
     font-size: 4em;
  }

  .profile-section {
    flex-direction: column-reverse; /* Stack the image and text vertically */
    align-items: center;
    
  }

  .profile-section::before,
  .profile-section::after,
  .story-text::after {
    display: none;
  }

  .profile-picture {
    width: 18em;
    height: 18em;
    margin-top: 40px;
  }

  .profile-text {
      text-align:center;
      margin: 40px 0;
  }

  .profile-section h1{
    font-size: 2rem;
  }

  .profile-section p{
    font-size: 1.5rem;
  }
  .story-content {
    flex-direction: column-reverse; 
    align-items: center;
    margin: auto 0;
}

.story-picture {
    width: 18em;
    height: 18em;
    margin-top: 40px;
}

.story-text {
    text-align:center;
    margin: 30px -30px;
}
.equipment-section {
  flex-direction: column-reverse;
  align-items: center;
}

.equipment-picture {
  width: 18em;
  height: 18em;
  margin-top: 40px;
}

.equipment-text {
  text-align: center;
  margin: 40px 0;
}

.equipment-text h1 {
  font-size: 2rem;
}

.equipment-text ul {
  font-size: 1.5rem;
}

body{
  overflow-x: hidden;
}

}

@media (hover: none) {
  .profile-section {
    background-image: linear-gradient(to top, #08012568, #12081463);
    /* ... other mobile styles ... */
}
}