@import url("https://fonts.googleapis.com/css2?family=Ubuntu&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

#logo {
  height: 6rem;
  width: 100%;
}

.row {
  display: flex;
  flex-direction: row;
  margin-right: 5px;
}

.row a {
  color: black;
  text-decoration: none;
  margin: 0 0.3rem;
}

.row a:hover {
  color: #b7202e;
}

#trust {
  height: 50px;
  width: 100px;
  margin-right: 20px;
}
/* nav{
    background-color: #ffbbba;
    text-align: center;
    font-size: 30px;
    height: 70px;
} */
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #9b2928;
  color: white;
  text-align: center;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background-color: #9b2928;
}

.footer-content h6 {
  line-height: 1rem;
  color: white;
  line-height: 25px;
  letter-spacing: 1px;
}

.divide {
  margin-top: 10px;
  height: 10px;
  background-color: #9b2928;
}
.divide1 {
  height: 10px;
  background-color: #9b2928;
}
.heading {
  /* text-align: center; */
  font-size: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding-top: 0.2rem;
  color: #3b0000;
  background-color: #ffecec;
}

/* footer{
    background-color: #ff9795;
    height: 30px;
} */
.footertitle {
  text-align: center;
}
.active a {
  background-color: #9b2928;
  border: none;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.active .btn:hover {
  background-color: #3b0000;
  box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24),
    0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

.process-row {
  font-family: "Oxanium", cursive;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.traineeship .activity {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 267px;
  margin: 15px 10px 10px;
  background-color: #162443;

  -webkit-box-shadow: 0 2px 6px 0 rgb(0, 0, 0);
  box-shadow: 0 2px 6px 0 rgb(0, 0, 0);
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  overflow: hidden;
}
.animate-from-bottom__0 {
  -webkit-animation-name: from-left;
  animation-name: from-left;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
}
.animate-from-bottom__1 {
  -webkit-animation-name: from-left;
  animation-name: from-left;
  -webkit-animation-duration: 0.8s;
  animation-duration: 0.8s;
}
.animate-from-bottom__2 {
  -webkit-animation-name: from-left;
  animation-name: from-left;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}
.animate-from-bottom__3 {
  -webkit-animation-name: from-left;
  animation-name: from-left;
  -webkit-animation-duration: 1.2s;
  animation-duration: 1.2s;
}
.animate-from-bottom__4 {
  -webkit-animation-name: from-left;
  animation-name: from-left;
  -webkit-animation-duration: 1.2s;
  animation-duration: 1.2s;
}
.traineeship .activity .relative-block {
  width: 100%;
  min-height: 350px;
}
@-webkit-keyframes from-left {
  from {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
  }

  to {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes from-left {
  from {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
  }

  to {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
.relative-block {
  position: relative;
}
.activity-icon {
  position: absolute;
  bottom: 0;
  right: 0;
}
.activity-icon img {
  width: 100%;
  float: right;
}
.traineeship .inactive {
  padding: 20px;
}
.traineeship .inactive .title {
  border-bottom: 3px solid #f5ca2a;
  padding-bottom: 14px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 28px;
}
.traineeship .activity .active {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  height: auto;
  min-height: 100%;
  padding: 25px 30px 50px;
}
.traineeship .activity .active .title {
  color: #1f1f1f;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 32px;
}
.traineeship .activity .active .sub-title {
  margin-top: 10px;
  color: #616161;
  font-size: 16px;
  line-height: 28px;
  text-align: left;
  z-index: 1000;
}
.traineeship .activity .active .ul {
  margin-bottom: 45px;
  margin-top: 10px;
}
.traineeship .activity .active .li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: 30px;
  color: #616161;
  font-size: 16px;
  line-height: 26px;
}
.traineeship .activity .active .li:before {
  position: absolute;
  content: "\f00c";
  color: #e2b921;
  font-family: FontAwesome;
  display: inline-block;
  margin-left: -1.6em;
  width: 22px;
}
.traineeship .activity:hover {
  width: 558px;
  /* background-color: #fff; */
  background-color: #fff;
  background-image: linear-gradient(#9b2a28af, #9b2a2800);
}
.traineeship .activity:hover .logo {
  visibility: hidden;
}
.traineeship .activity:hover .inactive {
  display: none;
}
.traineeship .activity:hover .active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 340px;
}
.btn {
  background-color: #9b2928;
  text-decoration: none;
  padding: 10px;
  margin: 10px;
  text-align: center;
  font-size: 20px;
  border-radius: 20px;
  color: white;
  font-weight: 600;
}
.traineeship .activity:hover .btn {
  margin-top: 50px;
}
@media only screen and (max-width: 1000px) {
  .process-row {
    flex-direction: column;
  }

  .traineeship .inactive .title {
    font-size: 1.5rem;
  }

  .traineeship .activity {
    width: 93%;
  }
  .traineeship .activity .active {
    width: 93%;
  }

  .traineeship .activity .active .sub-title {
    font-size: 1em;
  }

  .traineeship .activity .active .title {
    font-size: 1.2rem;
    font-weight: bold;
  }

  .traineeship .activity .relative-block {
    min-height: 100%;
  }

  .traineeship .activity:hover {
    width: 98%;
    margin-left: 2px;
    margin-right: 10px;
  }
}

@media only screen and (max-width: 400px) {
  .activity-icon img {
    width: 50%;
  }
  .traineeship .activity .active .sub-title {
    font-size: 0.7em;
  }
}

@media screen and (min-width: 200px) and (max-width: 323px) {
  .footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #9b2928;
    color: white;
    text-align: center;
    font-family: "Poppins", sans-serif;
    padding-top: 20px;
    padding-bottom: 13px;
  }
  .logo {
    display: none;
  }
}

@media (max-width: 300px) and (min-width: 250px) {
  footer {
    background-color: #9b2928;
    /* width: 106vw; */
    text-align: center;
    position: relative;
    padding: 10px;
    color: #ffffff;
    margin-top: auto;
  }
  .footer-content {
    z-index: 1;
    position: relative;
    padding: 20px;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #9b2928;
    color: white;
    text-align: center;
  }
  .footer-content h6 {
    font-size: 12px;
  }

  .icons {
    display: none;
  }
  #logo {
    width: 250px;
    height: 50px;
  }
  .heading {
    text-align: center;
    font-size: 1.5rem;
    background-color: #ffecec;
  }
  .logo {
    display: none;
  }
}
@media (max-width: 350px) and (min-width: 300px) {
  footer {
    background-color: #9b2928;
    /* width: 106vw; */
    text-align: center;
    position: relative;
    padding: 10px;
    color: #ffffff;
    margin-top: auto;
  }
  .footer-content {
    z-index: 1;
    position: relative;
    padding: 20px;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #9b2928;
    color: white;
    text-align: center;
  }
  .footer-content h6 {
    font-size: 14px;
  }

  .icons {
    display: none;
  }
  #logo {
    width: 250px;
    height: 50px;
  }
  .heading {
    text-align: center;
    font-size: 1.5rem;
    background-color: #ffecec;
  }
  .logo {
    display: none;
  }
}
/* Extra small devices (phones, 600px and down) */
@media (max-width: 400px) and (min-width: 350px) {
  footer {
    background-color: #9b2928;
    /* width: 106vw; */
    text-align: center;
    position: relative;
    padding: 10px;
    color: #ffffff;
    margin-top: auto;
  }
  .footer-content {
    z-index: 1;
    position: relative;
    padding: 20px;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #9b2928;
    color: white;
    text-align: center;
  }
  .footer-content h6 {
    font-size: 12px;
  }

  .icons {
    display: none;
  }
  #logo {
    width: 250px;
    height: 50px;
  }
  .heading {
    text-align: center;
    font-size: 1.5rem;
    background-color: #ffecec;
  }
  .logo {
    display: none;
  }
}
@media (max-width: 450px) and (min-width: 400px) {
  footer {
    background-color: #9b2928;
    /* width: 106vw; */
    text-align: center;
    position: relative;
    padding: 10px;
    color: #ffffff;
    margin-top: auto;
  }
  .footer-content {
    z-index: 1;
    position: relative;
    padding: 20px;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #9b2928;
    color: white;
    text-align: center;
  }
  .footer-content h6 {
    font-size: 15px;
  }

  .icons {
    display: none;
  }
  #logo {
    width: 250px;
    height: 50px;
  }
  .heading {
    text-align: center;
    font-size: 1.5rem;
    background-color: #ffecec;
  }
  .logo {
    height: 80px;
  }
}

/* Small devices (portrait tablets and large phones, 400px and up) */
@media only screen and (min-width: 450px) {
  #logo {
    height: 50px;
    width: 250px;
  }

  #trust {
    height: 30px;
    width: 40px;
  }
  footer {
    background-color: #9b2928;
    /* width: 106vw; */
    text-align: center;
    position: relative;
    padding: 10px;
    color: #ffffff;
  }
  .footer-content {
    z-index: 1;
    position: relative;
    padding: 20px;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #9b2928;
    color: white;
    text-align: center;
  }

  .footer-content h6 {
    font-size: 16px;
  }
  .heading {
    text-align: center;
    background-color: #ffecec;
  }
  .logo {
    height: 100px;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 1024px) {
  #logo {
    height: 72px;
    width: 380px;
  }

  #trust {
    height: 40px;
    width: 70px;
  }

  .heading {
    text-align: center;
    background-color: #ffecec;
  }
}
@media only screen and (min-width: 768px) {
  #logo {
    height: 100px;
    width: 380px;
  }

  #trust {
    height: 40px;
    width: 70px;
  }
  .heading {
    text-align: center;
    background-color: #ffecec;
  }
}

/* Navigation Bar CSS */

.topnav {
  overflow: hidden;
  background-color: #9b2928;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ffecec;
  color: black;
}

.topnav a.active {
  background-color: #3b0000;
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
