* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --font-fam: "Expose", sans-serif;
}
body {
  width: 100%;
}

.top-nav {
   display: flex;
   flex-direction: row;
   align-items: center;
   justify-content: space-between;
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
   color: #fff;
   height: 50px;
   padding: 3rem;
   padding-top: 3rem;
   font-family: var(--font-fam);
}

.top-nav span {
  padding-left: 0.5rem;
  font-size: 3vmax;
}


.menu {
   display: flex;
   flex-direction: row;
   list-style-type: none;
   margin: 0;
   padding: 0;
   font-size: 1.65vmax;
   font-weight: 500;
   z-index: 1;
}
 .menu > li {
   margin: 0 1rem;
   overflow: hidden;
   transition: 1s;
}

.menu > li:hover {
  color: rgba(4,176,81,255);
} 


a {
  text-decoration: none;
  color: #ffffff;
} 

.top-nav a {
  text-decoration: none;
  color: #ffffff;
  transition: 1s;
}

.top-nav a:hover {
  color: rgba(4,176,81,255);
}

.menu a {
  transition: 1s;
  text-decoration: none;
  color: #ffffff;
}

.menu a:hover {
  color: rgba(4,176,81,255);
} 

.menu a.active {
    color: rgba(4,176,81,255);
}


 .menu-button-container {
   display: none;
   height: 100%;
   width: 30px;
   cursor: pointer;
   flex-direction: column;
   justify-content: center;
   align-items: center;
}
 #menu-toggle {
   display: none;
}
 .menu-button, .menu-button::before, .menu-button::after {
   display: block;
   background-color: #fff;
   position: absolute;
   height: 4px;
   width: 30px;
   transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
   border-radius: 2px;
}
 .menu-button::before {
   content: '';
   margin-top: -8px;
}
 .menu-button::after {
   content: '';
   margin-top: 8px;
}
 #menu-toggle:checked + .menu-button-container .menu-button::before {
   margin-top: 0px;
   transform: rotate(405deg);
}
 #menu-toggle:checked + .menu-button-container .menu-button {
   background: rgba(255, 255, 255, 0);
}
 #menu-toggle:checked + .menu-button-container .menu-button::after {
   margin-top: 0px;
   transform: rotate(-405deg);
}
 @media (max-width: 700px) {
   .menu-button-container {
     display: flex;
  }
   .menu {
     position: absolute;
     top: 0;
     margin-top: 70px;
     left: 0;
     flex-direction: column;
     width: 100%;
     justify-content: center;
     align-items: center;
  }
   #menu-toggle ~ .menu li {
     height: 0;
     margin: 0;
     padding: 0;
     border: 0;
     transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
   #menu-toggle:checked ~ .menu li {
     border: 1px solid #333;
     height: 3.5em;
     padding: 0.5em;
     transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
   .menu > li {
     display: flex;
     justify-content: center;
     align-items: center;
     margin: 0;
     padding: 0.5em 0;
     width: 100%;
     color: white;
     background-color: #222;
  }
   .menu > li:not(:last-child) {
     border-bottom: 1px solid #444;
  }
}
 


 /*-----------------------------------------------------------------*/


.main-container {
  background-image: url('../images/hero-img.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.main-container2 {
  height: 85vh;
  background-image: url('../images/mc_2.jpeg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.main-container3 {
  height: 85vh;
  background-image: url('../images/mc_3.jpeg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.main-container4 {
  height: 80vh;
  background-image: url('../images/contact-sts.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.main-container5 {
  height: 80vh;
  background-image: url('../images/mc_5.jpeg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.main-container6 {
  height: 60vh;
  background-color: #000000;
}


.line {
    position: relative;
    top: 27%;
    color: #faf4f4;
    margin: 0 auto;
    font-weight: 700;
    font-size: 5vmax;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    font-family: var(--font-fam);
}

.letter {
  color: rgba(4,176,81,255);
}

.line-1 {
    position: relative;
    top: 33%;
    width: 8.25em;
    color: #fff;
    margin: 0 auto;
    border-right: 2px solid rgba(255,255,255,.75);
    font-size: 240%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    transform: translateY(-50%);    
    font-family: var(--font-fam);
}

.line-2{
    position: relative;
    top: 30%;
    color: #ffffff;
    margin: 0 auto;
    font-size: 280%;
    text-align: center;
    font-family: var(--font-fam);
}

.line-3{
    display: flex;
    color: #000000;
    font-size: 3vmax;
    font-family: var(--font-fam);
}

.line-4{
    display: flex;
    justify-content: center;
    color: rgba(4,176,81,255);
    font-size: 3vmax;
    font-family: var(--font-fam);
}

.line-5{
    display: flex;
    justify-content: center;
    top: 35%;
    position: relative;
    color: #000000;
    font-size: 3vmax;
    font-family: var(--font-fam);
}


.para-1, .para-2{
    display: flex;
    color: #000000;
    font-size: 1.5vmax;
    font-family: var(--font-fam);
}

/* Animation */
.anim-typewriter{
  animation: typewriter 4s steps(44) 1s 1 normal both,
             blinkTextCursor 500ms steps(44) infinite normal;
}
@keyframes typewriter{
  from{width: 0;}
  to{width: 8.25em;}
}
@keyframes blinkTextCursor{
  from{border-right-color: rgba(255,255,255,.75);}
  to{border-right-color: transparent;}
}


.otc {
  font-family: var(--font-fam);
}

.otc-head {
  width: 100%;
  text-align: center;
  font-size: 3vmax;
  margin-bottom: 1.5rem
}

.otc-body {
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: 1.5vmax;
  margin-bottom: 5rem;
}


.p-card {
  width: 30vw;
  margin-bottom: 5rem;
  box-shadow: 0 8px 10px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
}

.p-card:hover {
  box-shadow: 0 16px 20px 0 rgba(0,0,0,0.2);
}

.p-card img {
  width: 100%;
  height: 300px;
}

.card-title {
  text-align: center;
  background-color: #ffffff;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-family: var(--font-fam);
}

.port-head {
  font-size: 1.5vmax;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.port-body {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 2vmax;
  margin-bottom: 1rem;
}

.port-body-part {
  width: 40vw;
}

.port-body-list {
  font-size: 1.25vmax;
}

.port-body-list ul {
  list-style-type: none;
}

.port-body-list li {
  padding-top: 1rem;
}

.w3-modal span{
  background-color: rgba(255,0,0,0.7);
}

.w3-container {
  background-color: rgba(0,0,0,0.9);
  height: 40vh;
  display: flex;
  text-align: center;
  align-items: center;
}


/*rgba(4,176,81,255)*/



/*--------------------------------------------------------------------*/

.flip-card {
  background-color: transparent;
  margin: 1rem;
  width: 30vw;
  height: 300px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(-180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: #bbb;
  color: black;
}

.flip-card-back {
  background-color: rgba(0,0,0,0.8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateY(180deg);
}


#contactbutton {
  position: fixed;
  bottom: 35px;
  right: 25px;
  background-color: rgba(255,255,255,0.8);
  padding: 0.5rem;
  border-radius: 50%;
}

#contactbutton img {
  transition: transform 0.3s ease-in-out; /* Add a smooth transition effect */
}

#contactbutton img:hover {
  transform: rotate(275deg); /* Rotate the image by 360 degrees on hover */
}

.jobdes {
    width: 40vw; 
    padding: 1rem; 
    color: #000000;
}

@media (max-width: 700px) {
  .main-container5 {
    height: 55vh;
  } 
  .jobdes {
    width: 95vw; 
    padding: 1rem; 
    color: #000000;
  }
  
}