@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:wght@700&family=Kumbh+Sans&display=swap');

:root {
  --GeneralText: rgb(20, 20, 20);
  --HeavyText: rgb(18, 18, 18);
  --LightText: rgb(80, 80, 80);
  --LightTextShadow: rgba(6, 6, 6, 0.2);
  --TextShadow: rgba(6, 6, 6, 0.6);
  --HeaderTitle: rgb(216, 216, 216);
  --Shadow: rgba(155, 152, 144, 0.8);
  --Selection: rgb(160, 186, 225);
  --Background: rgb(249, 252, 255);
  --BackgroundLogo: rgb(160, 210, 240);

  --Weight-HeavyText: 700;
  --Weight-BoldText: 500;
  --Weight-LightText: 300;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  box-sizing: inherit;
  height: 99vh;
}

/* Main Containers */

::selection {
  background-color: var(--Selection);
  color: var(--GeneralText);
}

body {
  background-color: var(--Background);
  font-family: 'IBM Plex Serif', 'Times New Roman', Times, serif;
  width: 100%;
  margin: 0;
}

main {
  width: cover;
  height: cover;
  padding: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

header {
  display: grid;
  place-items: center;
  background: linear-gradient(to bottom, var(--Background), var(--BackgroundLogo) 50%, var(--Background));
}

.social-sidebar {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center left;
}

.list-item-link {
  width: 2.9rem;
  height: 2.9rem;
  transition: 0.3s ease-in-out width;
  display: grid;
  place-items: center;
  color: white;
}

#list-item-whatsapp {
  background-color: #58c76a;
}

#list-item-instagram {
  background-color: #1da0f2;
}

#list-item-github {
  background-color: #9146ff;
}

#list-item-facebook {
  background-color: #3b5998;
}

#list-item-cv {
  background-color: #7c7382;
}

.ozonoImagenContainer {
  padding: 1rem;
  display: grid;
  place-items: center;
}

.ozonoImagen {
  width: 45%;
}

.terapiaImagenContainer {
  display: grid;
  place-items: center;
  padding: 1rem 2.4rem;
}

.terapiaImagen {
  width: 100%;
  box-shadow: 0px 0px 10px 0px black;
  max-width: 31.25rem;
  border-radius: 0.3rem;
}

.picturesContainer {
  display: grid;
  place-items: center;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 0 auto;
  padding: 1rem 2.4rem 0.2rem;
}

.prototypeImagen,
.boardImagen {
  width: 100%;
}

.productImagen {
  width: 100%;
}

.productVideo {
  width: 100%;
}

.bigSize {
  font-size: 1rem; 
}

.sectionTitle {
  margin: 2rem 1rem 1.3rem 1rem;
  text-align: center;
  font-size: 2rem;
  text-shadow: -1px -1px 1px var(--LightText), 0px 1px 1px var(--TextShadow),
    3px 3px 5px var(--LightTextShadow), 0px 0px 5px var(--LightTextShadow);
}

.prototypeTitle, .productTitle {
  margin-bottom: 0.5rem;
}

.sectionDescription {
  padding: 0 1.2rem;
  margin: 1.2rem;
  text-align: left;
  font-family: Manrope, Helvetica, 'Times New Roman', sans-serif;
  font-size: 0.9rem;
  line-height: 20px;
  text-indent: 40px;
}

.bold {
  font-weight: bold;
}

@media (hover) {
  .list-item-link:hover {
    border-radius: 0 3px 3px 0;
    width: 4.2rem; /* Change width */
  }
}

@media screen and (max-width: 460px) {
  .productContainer {
    width: 100%;
  }
  
  .ozonoImagen {
    width: 60%;
  }

  .terapiaImagenContainer {
    display: none;
  }

  .sectionTitle {
    font-size: 1.6rem;
  }

  .sectionTitle:first-of-type {
    margin-top: 0.9rem;
  }

  .list-item-link {
    width: 2.5rem;
    height: 2.5rem;
  }

  .picturesContainer {
    padding: 1rem 2.4rem 0.5rem;
  }

  .sectionDescription {
    font-size: 0.8rem;
  }
}

@supports ((-webkit-hyphens:auto) or (hyphens:auto)) {
	.sectionDescription {
		text-align: justify;
		-webkit-hyphens: auto; 
    hyphens: auto;
	}
}