.navbar {
    position: fixed;
    top: 7px; 
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(75, 88, 103, 0.85);
    border-radius: 50px;
    padding: 10px 30px;
    z-index: 1000;
    display: flex;
    gap: 20px;
}


.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
}

.navbar a:hover {
    background-color: rgb(48, 56, 65);
    border-radius: 25px;
}


body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color:#4b5867;
    color: #102A43;
}

section {
    padding: 20px;
}

.hero {
    background-color: #4b5867;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    width: 300px;
    height: 230px;
    border-radius: 10px;
}

.hero h1 {
    font-size: 40px;
    margin: 0;
}

.hero p {
    font-size: 1.2em;
    margin: 10px 0 0;
}

.about_image_column {
    padding-right: 15px;
}

.about_betterme_img {
    border-radius: 10px;
    margin: 15px;
    width: 335px;
    height: 225px;
    filter: brightness(1);
}

.about {
    text-align: center;
    background-color: rgb(216, 213, 213);
    margin: 20px;
    border-radius: 10px;
}

.betterme-divisions {
    padding: 40px 20px;
    text-align: center;
    margin: 20px;
}

.about_container {
    display: flex;
    border-radius: 10px;
    padding-right: 10px; 
    text-align: left;   
}

.about h2 {
    font-size: 32px;
    color: #102A43;
}

.about p {
    font-size: 19px;
}

.betterme-sections {
    display: flex;
    align-items: flex-start;
    text-align: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;    
}

.betterme-column {
    flex: 1;
    background-color: rgb(216, 213, 213);
    border-radius: 10px;
    padding: 30px;
}

.betterme-column h2 {
    font-size: 30px;
    padding-top: 0px;
    padding-bottom: 20px;
    margin-bottom: 10px;
    text-align: center;
    text-decoration: none;
}

.betterme-pers-img {
    border-radius: 10px;
    margin: 15px;
    width: 230px;
    height: 225px;
    filter: brightness(1);
}

.betterme-pers-img:hover, .betterme-prof-img:hover {
    outline: 5px solid rgba(60, 70, 80, 1) ;
}

.betterme-prof-img {
    border-radius: 10px;
    margin: 15px;    
    width: 335px;
    height: 225px;
    filter: brightness(1);
    
}

.betterme-column p {
    margin: 5px;
    font-size: 20px;
    line-height: 1.5;
    text-align: left;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #2c343c;
    color:  white;
    margin-top: 20px;
}

.linkedin-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.linkedin_icon {
    width: 45px;
    height: 45px;
}

/* new additions */

@media (max-width: 768px) {

  .navbar a {
    /* display: block; */
    text-align: center;
    font-size: 12px;    
  }


  .logo {
    width: 100%;
    height: auto;
  }

  .about_container {
    flex-direction: column;
    padding: 0;
  }

  .about_betterme_img,
  .betterme-pers-img,
  .betterme-prof-img {
    width: 100%;
    height: auto;
    margin: 10px 0;
  }

  .betterme-sections {
    flex-direction: column;
    align-items: center;
    padding-right: 27px;
  }

  .betterme-column {
    width: 100%;
    padding: 15px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p,
  .about p,
  .betterme-column p {
    font-size: 16px;
  }
}
