
html {
  box-sizing: border-box;

}


body {
  margin: 0;
  padding: 0;
  
 
}

body {
  display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: /*5rem 1fr 5rem*/ 5rem 83vh 5rem;
    grid-template-areas:  "menuu menuu menuu menuu menuu"
                          "contentt contentt contentt media media"
                          "footer footer footer2 media media";

  background: #00a3e8;
  color: #d7e2f9;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.header {
  grid-area: menuu;
  padding: 10px 10%;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer {
    grid-area: footer;
    padding: 35px 10%;
    background:  #00a2e8a5;;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    
  grid-area: footer2;
  display: flex;
  justify-content: space-between;
  align-items: center;
    font-size: 11px;
    color: azure;
    text-decoration: none;
    font-weight: 400;
  }

.logo {
  position: relative;
  font-family: 'Gochi Hand';
  font-size: 2rem;
  color: #d7e2f9;
  text-decoration: none;
  font-weight: 800;
}

.logo::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #00a3e8;
  animation: showRight 1s ease forwards;
  animation-delay: 0.2s;
}

#navbar a {
  font-size: 18px;
  color: #d7e2f9;
  text-decoration: none;
  font-weight: 500;
  margin-left: 30px;
  transition: 0.2s;
}
#navbar a:hover,
#navbar a.active {
  color: rgb(0, 0, 0);
}

#navbar {
  position: fixed;
  top: 0;
  right: -50%; /* Hide menu off-screen by default */
  width: 50%; /* Set menu to take up half of the screen */
  height: 100%;
  background-color: #bd6e2e;
  z-index: 1;
  transition: all 0.3s ease-in-out; /* Add animation to menu opening */
  z-index: 1;
}

#navbar.open {
  right: 0 /* Show menu by moving it onto the screen */
}

#navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#navbar ul li {
  display: block;
  margin: 10px 0;
}

#navbar ul li a {
  color: #d7e2f9;
  text-decoration: none;
  font-size: 2rem;
  font-weight: bold;
}

#navbar-toggle {
  position: absolute;
  top: 20px;
  right: 50px;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}




.mediahome {
  grid-area: media ;
  
  background-image: url(img/IMG-20230522-WA0003.jpg);
margin: 0 0%;
background-repeat: no-repeat;
background-size: cover;
  background-color:#00a3e8;
  border-radius: 15px;
  background-position: center;

  
}

.servicemediia{
  grid-area: media ;
background-image: url(img/jefProfilePictureOriginal.jpg);
border-radius: 15px;
margin: 0 10%;
background-repeat: no-repeat;
background-size: 100%;
  background-color:#00a3e8;
  border: solid rgba(255, 0, 0, 0) 5px;
  background-position: center center;

}

.mediaabout {
  grid-area: media ;
  align-items: center;
  margin: 0 10%;
 background-image: url(img/zyvRJNlMlHGyJbS-T01x_j9bAp7BtBY3sapGp1Kw4dA-2048x917.jpg);
 border-radius: 15px;

background-repeat: no-repeat;
background-size: fill;
  background-color:#00a3e8;
}

.home {
    grid-area: contentt;
  /* background: url(backgroundsample.jpg) no-repeat;*/
  background: #00a3e8;
  display: flex;
  align-items: center;
  padding: 5% 10%;
  
 

}

.home-content {
  background-color: transparent;
 /* min-height: 80vh; */

}

.home-content h1 {
  position: relative;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
}

.home-content h3 {
  position: relative;
  font-size: 32px;
  font-weight: 700;

}

.home-content p {
    position: relative;
    font-size: 16px;
    margin: 20px 0 40px;
  }

.home-content h1::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #00a3e8;
  animation: showRight 1s ease forwards;
  animation-delay: 0.8s;
}

.home-content h3::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #00a3e8;
  animation: showRight 1s ease forwards;
  animation-delay: 1s;
}



.home-content p::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #00a3e8;
  animation: showRight 1s ease forwards;
  animation-delay: 1.6s;
}

.home-content .btn-box {
  position: relative;
  display: flex;
  justify-content: space-around;
  width: 350px;
  height: 55px;
  padding-bottom: 5px;
  
}

.home-content .btn-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #00a3e8;
  animation: showRight 1s ease forwards;
  animation-delay: 2.2s;
  z-index: 2;
}

.btn-box a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 100%;
  background: #00a3e8;
  border: 2px solid #000000;
  border-radius: 8px;
  font-size: 19px;
  color: #000000; /*color text insede before*/
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
 
  overflow: hidden;
  transition: 0.5s;

}

.btn-box a:hover {
  color: rgb(255, 255, 255);
}

.btn-box a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgb(0, 0, 0); /*slider lets talk*/
  z-index: -1;
  transition: 1.5s;
}

.btn-box a:hover:before {
  width: 100%;
}

.btn-box a:nth-child(2) {
  background: transparent;
  color: #000000;
}

.btn-box a:nth-child(2):hover {
  color: rgb(255, 255, 255);
}

.btn-box a:nth-child(2)::before {
  color: black;
}

.home-sci {
  position: absolute;

  width: 140px;
  background: transparent;
  display: flex;
  justify-content: space-between;
}

.home-sci::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #00a3e8;
  animation: showRight 1s ease forwards;
  animation-delay: 0.2s;
  z-index: 2;
}

.home-sci a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid rgb(0, 0, 0); /*border home-sci*/
  border-radius: 50%;
  font-size: 20px;
  color: rgb(0, 0, 0);
  text-decoration: none;
  z-index: 1;
  overflow: hidden;
  transition: 0.5s;
}

.home-sci a:hover {
  color: rgb(255, 255, 255); /* color logo inside home-sci after*/
}

.home-sci a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgb(0, 0, 0); /*sliders home-sci*/
  z-index: -1;
  transition: 1.2s;
}

.home-sci a:hover::before {
  width: 100%;
}


/*

.home-imgHover {
    position: absolute;
    top: 0;
    right: 30px;
    width: 600px;
    height: 100%;
    background: transparent;
    transition: 3s;
    animation: maniActiveHover .1s forwards;
    animation-delay: 2s;
    pointer-events: none;
}

.home-imgHover:hover {
    background: rgb(0, 0, 0);
    opacity: .8;
}

.home-imgHover::after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 110%;
    height: 100%;
    background: #00A3E8;
    animation: showRight 1s ease forwards;
    animation-delay: 3s;
    z-index: 2;
}
*/

@keyframes showRight {
  100% {
    width: 0;
  }
}

@keyframes maniActiveHover {
  100% {
    pointer-events: auto;
  }
}

@media (max-width: 800px) {

  
  body {

    margin: 0;
    padding: 0;
    display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      grid-template-rows: 8rem 1fr 1fr 5rem;
      grid-template-areas:  "menuu menuu menuu"
                            "contentt contentt contentt"
                            "media media media"
                            "footer footer footer2";
  }




}
