/* *****section home***** */
/* heading */
#home h1 #spanEm {
  color: var(--colorEm);
}

#home h1 #spanFent {
  color: rgba(33, 33, 33, 0.626);

  display: block;

  margin-top: 8px;
}

/* image slider */
#homeSlider {
  width: 85vw;
  height: 49vw;

  position: relative;

  margin: auto;
  margin-top: 10px;

  display: flex;
  justify-content: center;
}

.homeSliderImg {
  width: 100%;

  position: absolute;

  padding: 10px;

  border: 2px solid grey;
  border-radius: 5px;

  transition: all 0.8s;
}

#homeSliderRadios {
  margin-bottom: 10px;
  margin-top: 20px;

  display: flex;
  justify-content: center;

  gap: 5px;
}

/* *****services section***** */
.centerPara {
  max-width: 900px;

  text-align: center;

  margin-bottom: 20px;
}

#allServicesContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;

  width: 100%;
}

.serviceContainer {
  width: 45%;
  height: 150px;

  min-width: 60px;
  min-height: 60px;

  margin-top: 20px;

  border: 1px solid var(--colorSecondary);

  border-radius: 5px;

  transition: all 0.4s;

  background-color: rgba(224, 217, 236, 0.208);

  cursor: pointer;

  display: flex;
  align-items: center;

  gap: 25px;
}

.serviceContainer div p {
  padding: 0.5px;
}

.serviceContainer div img {
  display: block;

  height: 150px;

  justify-self: flex-start;
}

.serviceContainer:hover {
  border-color: var(--colorSecondary);
  color: var(--colorSecondary);

  transform: scale(110%);
}

.serviceContainer h3 {
  margin-bottom: 10px;
}

@media screen and (max-width: 646px) {
  #allServicesContainer {
    flex-direction: column;
  }

  .serviceContainer {
    width: 100%;
  }
}

/* *****Footer***** */
#footer {
  background-color: var(--colorNavBg);
  color: white;

  padding: 10px 14px;

  margin-top: 80px;

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#footer h2 {
  color: white;

  border-bottom-color: white;

  margin: 0;
  margin-bottom: 25px;
}

.socialMediaIcon {
  width: 1.4rem;
}

#footer ul {
  width: 20%;

  padding: 10px;
}

#footer ul li {
  list-style-type: none;

  margin: 10px 0;

  font-family: var(--fontDefault);
  font-size: 1.05rem;
}

#footer ul li h3 {
  font-size: 1rem;

  margin-bottom: 20px;
}

#footer ul li a {
  color: white;
}

#footer ul li a:hover {
  text-decoration: underline;
}

#footer ul li a:visited {
  color: white;
}

@media screen and (max-width: 760px) {
  #footer ul {
    width: 50%;
  }
}
@media screen and (max-width: 353px) {
  #footer ul {
    width: 100%;
  }
}


#socialMedia{
  position: fixed;
  top: 40%;
  right: 0;

  padding: 10px;

  width: 50%;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

#shareIcon{
  transition: 0.3s all;

  margin-right: 10px;
}

#shareIcon svg{
  color:rgba(0, 0, 0, 0.562);

  cursor: pointer;
}

.shareIconOpened{
  transform: rotateY(-180deg) translateX(30px);
}

.shareIconOpened svg{
  color:rgb(69, 140, 255) !important;
}

#socialIcons{
  position: absolute;
  right: -100%;

  display: flex;
  flex-direction: column;

  gap: 10px;
  
  padding: 10px;

  transition: 0.3s all;

  background-color: rgb(255, 255, 255);

  box-shadow: 2px 2px 10px black;

  border-radius: 5px;
}

#socialIcons img{
  width: 25px;
}