body {
  background-color: #ECEFF1;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

header{
  width: 100%;
  height: 70px;
  background-color: #003E8F;
  display: flex;
  align-items: center;
  position: sticky;  /*code for sticky header */
  top: 0;  /*same as above */
  z-index: 999;   /*make header float above any other content on the page */
}

nav{
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  padding: 0 20px;
}


#check{
  display: none;
}

.logo img{
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}
.logo{
  display: flex;
  align-items: center;
  gap: 18px;
  line-height: 20px;
  
}

.nav-h1{
  color: white
}

.links a{
  color: white;
  text-decoration: none;
  margin-right: 20px ;
  padding: 7px 13px;
  /* color: #ff0000; */
  font-size: 20px;
  transition: .5s;
  border-radius: 3px;
}

.links a.active,
.links a:hover{
background-color: #1B9BFF;
}

.checkbtn{
  display: none;
  color: #ffcc29;
  font-size: 30px;
  margin-left: 20px;
}

h1 {
  color: darkred;
  font-size: 40px;
}

h2 {
  color: blue;
  font-size: 50px;
}

ul {
  color: brown;
  font-size: 30px;
  font-style: oblique;
}

ol {
  color: blueviolet;
  font-size: 30px;
}

h3 {
  font-style: italic;
  font-size: 30px;
  color: aquamarine;
}

img {
  height: 250px;
  width: 250px;
  object-fit: cover;
}

label {
  display: inline-block;
  width: 100px;
  margin-bottom: 8px;
}

.div-one {
  width: 150px;
  height: 200px;
  background-color: blue;
  color: white;
  padding: 20px;
  margin: 40px;
}

h4 {
  background-color: blueviolet;
  margin-left: 40px;
  padding-left: 30px;
  padding-top: 40px;
  padding-right: 15px;
  padding-bottom: 45px;
}

.div-two {
  width: 95%;
  height: fit-content;
  background-color: white;
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  justify-content: center;
}

.img-div {
  width: 540px;
  height: 450px;
  background-color: red;
}

.img-div img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.text-div {
  width: 540px;
  height: 450px;
  background-color: #003b65;
}

.text-div h1 {
  color: magenta;
  font-size: 40px;
  text-align: center;
}

.text-div p {
  padding: 20px;
  font-size: 25px;
  color: #cdd6dd;
  text-align: justify;
}

.republic-div {
  background-color: #ffcc29;
  width: 95%;
  height: fit-content;
  display: flex;
  padding: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.republic-text {
  width: 540px;
  height: 300px;
  /* background-color: aqua; */
}

.address-h1 {
  font-size: 50px;
  /* text-align: center; */
  color: #ff0000;
}

.franchise-h1{
  font-size: 50px;
  /* text-align: center; */
  color: #ffffff;
  
}

.img-republic {
  width: 540px;
  height: 300px;
}

.img-republic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cabal-div{
  width: 95%;
  background-color: ghostwhite;
  height: fit-content;
  display: flex;
  flex-wrap: wrap;
  padding: 20px;

}

.safaricom-div{ 
  width: 548px;
  height: 450px;
}

.safaricom-text{
  width: 150px;
height: fit-content;
}

.safaricom-h1{
  font-size: 15px;
  color: black;
}
 
.safaricom-image{
  width: 300px;
  height: 140px;
}

.safaricom-image img{
  width: 70%;
  height: 60%;
  object-fit: cover;
}

.multichoice-div{
width: 540px;
height: 450px;
}
 
.multichoice-image{
  width: 300px;
  height: 140px;
}


.multichoice-image img{
  width: 70%;
  height: 60%;
  object-fit: cover;
}

.multichoice-text{
  width: 150px;
  height: fit-content;
}

.multichoice-h1{
  font-size: 15px;
  color: black;
}


.cwg-div{
width: 540px;
height: 450px;
}

.cwg-image{
  width: 300px;
  height: 150px;
}

.cwg-image img{
  width: 70%;
  height: 60%;
}

.cwg-text{
width: 150px;
height: fit-content;
}


.cwg-h1{
  font-size: 15px;
  color: black;
}

@media (max-width: 639px){
  .checkbtn{
    display: flex;
  }
  
  .links{
    position: fixed;
    top: 70px;
    width: 100%;
    height: 100vh;
    background-color: #2c3e50;
    left: -100%;
    transition: all 0.5s;

  }

  .links a{
    display: block;
    text-align: center;
    margin: 25px;
  }

  #check:checked ~ .links{
    left: 0;
  }
  
}
