#tabs a {
  position: relative;
  display: block;
  padding: 0 0;
}

a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1em;
  background-color: #ffc6c6;
  opacity: 0;
  transition: opacity 300ms, transform 300ms;
  transform: scaleX(0);
}

.pagelinks:hover a::after {
  opacity: 1;
  transform: scaleX(1);
  transform-origin: center;
}

html {
  scroll-padding: 120px;
}

body {
  padding: 0;
  margin: 0;
  font-family: 'Jost';
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--mainFontcolor);
  background-color: var(--ominroBackground);
  background-image: url(images/iconizer-plus-solid.svg);
  background-attachment: fixed;
  background-size: 40px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* padding-top: 10svh; */
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.image img {
  -o-object-fit: cover;
  object-fit: cover;
}

.ribbon {
  /* left: 50%; */
  top: 0;
  position: -webkit-sticky;
  position: sticky;
  display: flex;
  background-color: var(--ominroMaroon);
  /* transform: translateX(-50%); */
  width: 90%;
  height: 5.2em;
  /* overflow: hidden; */
  z-index: 10;
  /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); */
  border-radius: 2vh;
  justify-content: space-between;
  align-items: center;
  /* display: none; */
  margin: 1em;
  padding-inline: 2em;
  position: sticky;
  -webkit-animation-name: ribbonBorder;
  animation-name: ribbonBorder;
  animation-timeline: scroll();
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

@-webkit-keyframes ribbonBorder {
  0% {
    border-radius: 2vh;
  }
  5% {
    border-radius: 0 0 2vh 2vh;
  }
  100% {
    border-radius: 0 0 2vh 2vh;
  }
}

@keyframes ribbonBorder {
  0% {
    border-radius: 2vh;
  }
  5% {
    border-radius: 0 0 2vh 2vh;
  }
  100% {
    border-radius: 0 0 2vh 2vh;
  }
}

#ominroText {
  justify-content: left;
  color: azure;
  font-family: 'palatino linotype';
  font-size: 3rem;
  font-weight: bolder;
  translate: 0 -0.1em;
}

#ominroText span {
  font-size: 130%;
}

#tabs {
  left: 100%;
  border-radius: 10px;
  align-items: center;
  justify-content: space-between;
  top: 0;
  left: 0;
}

.navButton {
  display: none;
  height: 55%;
  aspect-ratio: 1/1;
  padding: 0.5em;
}

#tabs button {
  background-color: unset;
  color: white;
  font-family: inherit;
  /* font-weight: 400; */
  font-size: 1rem;
  height: 100%;
  margin: auto;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;

  border-radius: 10px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
}

.pagelinks a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

.pagelinks:hover a {
  color: #ffc6c6;
}

.dropdown-content {
  display: none;
  position: absolute;
  /* margin-top: 3em; */
  background-color: var(--ominroMaroon);
  min-width: 10%;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  opacity: 0;
  padding-inline: 2.5em;
  padding-block: 0.75em;
}

.dropdown-content li {
  text-decoration: none;
  font-size: 1rem;
}

.links {
  width: 100%;
  padding-block: 0.5em;
}

#tabs button:hover .dropdown-content {
  display: block;
  opacity: 1;
  /* transition: 0.5s ease; */
  transition: display 0.5s 1s;
  border-radius: 10px;
  -webkit-animation: fadeIn 0.2s;
  animation: fadeIn 0.2s;
}

.tabcontent {
  width: 100%;
  box-sizing: border-box;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
  /* padding: 0.4em; */
  background-color: #ffffff;
  outline: 2px var(--ominroMaroonTrans) solid;

  border-radius: 1vw;
  overflow: hidden;
  background-image: url(images/Bacckgroundtwobrit.png);
}

.tabText {
  font-size: 1.1rem;
  padding-inline: 5em;
  padding-bottom: 3.5em;
  text-align: justify;
}

.pagecontent {
  width: 100%;
  -webkit-animation: fadeEffect 1s;
  animation: fadeEffect 1s;
  padding-inline: 7.5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#Home {
  position: relative;
  overflow: hidden;
  height: 70vh;
  background-color: hsl(330, 18%, 99%);
  border-radius: 1vw;
  /* outline: none; */

  box-shadow: 0 0 20px inset #6d2d5c10;
  background-image: url(images/MetalOminro.png),
    url(images/iconizer-plus-solid\ copy.svg);
  background-size: 105%, 37px;
  background-repeat: no-repeat, repeat;
  background-position: var(--x), var(--y);
  transition: 0.3s ease-out;
  align-content: center;
}

.text:before {
  content: open-quote;
  font-size: 0.75em;
  color: var(--ominroMaroonLight);

  position: absolute;
  /* left: 15%; */
  translate: -0.75em 0;
}
.text p:after {
  content: close-quote;
  font-size: 0.75em;
  color: var(--ominroMaroonLight);
}

.text {
  font-size: 4rem;
  color: var(--headFontcolor);
  position: relative;
  padding-left: 17.5%;
  font-weight: bolder;
  quotes: '\201D''\201E';
  line-height: 1em;
  translate: 0 0.25em;
}

.text span {
  font-size: 2.5em;
  margin-left: -0.15em;
  height: 50px;
}

.text p span {
  font-size: 0.75em;
}

.text p {
  margin: 0;
}

.heading {
  /* margin-inline: 3em; */
  width: 100%;
  text-align: center;
  margin-block: 2em;
  font-size: 1.5rem;
  -webkit-text-decoration: underline 0.1em;
  text-decoration: underline 0.1em;
  text-underline-offset: 0.3em;
  color: var(--headFontcolor);
}

.gridClass {
  background-color: var(--ominroMaroonLightTrans);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  /* background-blend-mode: lighten; */
  display: grid;
  grid-template-columns: repeat(5, 2fr);
  /* grid-auto-columns: 1000px; */
  grid-auto-rows: 350px;
  gap: 10px;
  /* grid-auto-flow: dense; */
  /* border-radius: 10px; */
  /* box-shadow: 0 0 30px rgba(74, 0, 105, 0.05); */
  /* margin: 15px; */
  padding: 15px;
}
.panelContainer {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-radius: 10px;
  transition: linear 0.1s;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  width: 100%;
  height: 100%;
  transition: linear 0.1s;
  -o-object-fit: cover;
  object-fit: cover;
  /* outline:  solid 2px var(--ominroMaroonLight); */
}

.panelContainer:hover {
  border-radius: 5px;
  /* transform: scale(1.05); */
  outline: solid 3px var(--ominroBlue);
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  margin: -5px;
}

.panel {
  background-color: white;
  cursor: pointer;
  -webkit-filter: saturate(0.5);
  filter: saturate(0.5);
  height: 100%;
  width: 100%;
  align-content: center;
}

.panel:hover {
  -webkit-filter: saturate(1);
  filter: saturate(1);
}

img {
  width: 100%;
  height: 100%;
}

.panel img {
  position: relative;
  z-index: 2;
  -o-object-fit: cover;
  object-fit: cover;
  /* width: 100%;
  height: 100%; */
}

#suppliers {
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 150px;
  /* gap: 10px; */
}

#suppliers .panel img {
  -o-object-fit: contain;
  object-fit: contain;
}

.aboutUs {
  text-indent: 1em;
}

.aboutUs p {
  margin-block: 2%;
}

.aboutUs > li {
  padding-inline: 2em;
}

#products {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  /* padding: 15px; */
}

.subWrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: end;
  /* object-fit: cover; */
  width: 70%;
  height: 70%;
  margin-top: 10vh;
  /* padding-bottom: 10svh; */
}

#pharPic {
  width: 25%;
  /* height: 250px; */
  transform: translate(10%, -50px);
  /* position: relative; */
  z-index: 3;
  border-radius: 10px;
  position: absolute;
  /* isolation: isolate; */
  overflow: hidden;
  /* border-radius: 10px; */
}

.textOverlay {
  bottom: 0;
  background: linear-gradient(0deg, black 10%, transparent);
  padding: 1em;
  z-index: 4;
  position: absolute;
  width: 100%;
  color: white;
}

#pharPic img {
  /* transform: translate(200%, 50px); */
  /* right: 175; */

  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  /* box-shadow: 0 0 50px rgba(105, 0, 74, 0.4); */
}

.subPara {
  padding: 20px;
  padding-inline: 4vw;
  padding-bottom: 2vw;
  background-color: white;
  position: relative;
  transform: translateX(-10%);
  z-index: 2;
  border-radius: 10px;
  /* box-shadow: 0 0 50px rgba(105, 0, 74, 0.4);s */
  outline: solid 2px var(--ominroMaroonTrans);
  text-align: justify;
  background-image: url(images/Bacckgroundtwobrit.png);
}

.subPara h2 {
  margin-bottom: 0.5em;
}

.subPara p {
  margin-bottom: 1em;
}

.subWrap:first-child p {
  width: 90%;
}

#Pharmaceuticals {
  margin-top: 1em;
}

#Nutraceuticals {
  margin-top: 0;
}

.background {
  top: 0;
  left: 0;
  /* padding: 75px; */
  width: calc(100%-75px);
  /* background-image: url(images/Maroonpills.png); */
  background-size: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#BottomWrap {
  color: white;
  background-color: var(--ominroMaroon);
  width: 100%;
  /* height: 46%; */
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  padding-block: 4em;
  /* padding-inline: 7.5%; */
}

#info {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.infoClass {
  color: var(--ominroMaroonLight);
  position: relative;
  display: flex;
  flex-direction: column;
  /* height: 10%; */
  /* top: -30%; */
  width: 25%;
  /* height: min-content; */
  /* height: 100%; */
  /* padding-inline: 7.5%; */
  /* align-items: center; */
  /* justify-content: center; */
}

.infoText {
  padding-left: 30px;
}

.infoClass p {
  color: white;
  position: relative;
  /* padding-left: 30px; */
}

.infoClass iframe {
  position: relative;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
}

#contactContainer {
  display: flex;
  /* height: 100%; */
  align-items: center;
  justify-content: center;
  /* flex-grow: 2; */
}

#contactTitle {
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 700;
}

#contact {
  width: 30vw;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* padding-top: 75px;  */
}

.contactInputs {
  font-size: 1rem;
  font-family: inherit;
  height: 50px;
  border: none;
  outline: none;
  border-radius: 10px;
  padding-left: 25px;
}

#contact textarea {
  padding-top: 15px;
  height: 100px;
}

#contact button {
  background-color: var(--ominroMaroonLight);
  font-family: inherit;
  color: white;
  font-size: 1.2rem;
  font-weight: bolder;
  text-transform: uppercase;
  border-radius: 50px;
  border: none;
  height: 50px;
  transition: 0.5s;
  cursor: pointer;
}

#contact button:hover {
  background-color: var(--ominroRed);
  box-shadow: 0px 2px 0px #5e0019, 0px 4px 0px #5e0019, 0px 6px 0px #5e0019;
  transform: translateY(-6px);
}

#credit {
  width: 100%;
  background-color: var(--ominroMaroon);
  display: flex;
  justify-content: center;
  color: var(--ominroMaroonLight);
}

#credit a {
  color: inherit;
  text-decoration: inherit;
}
