.navbar {
    position: relative;
    top: 0px;
    left: 0;
    right: 0;
    background-color: rgba(75, 88, 103, 1);
    padding: 10px 30px;
    z-index: 1000;
    display: flex;
    gap: 20px;
    justify-content: left;
    border-radius: 0;
    padding-bottom: 20px;
    padding-top: 20px;
    padding-left: 80px;
}

.navbar-center {
    position: fixed;
    top: 10px; 
    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 , .navbar-center a{
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
}

.navbar-words-left a:hover, .navbar-center a:hover {
    background-color: rgba(60, 70, 80, 1);
    border-radius: 25px;
}


.navbar-left {
    position: absolute;
    left: 10px;
    top: 32px;
    transform: translateY(-50%);
}

h2 {
    font-size: 30px;
}


.logo_in_navbar {    
    width: 60px;
    height: 46px;
    border-radius: 10px;
}

.logo_in_navbar:hover {
    outline: 5px solid rgba(60, 70, 80, 1) ;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: rgba(75, 88, 103, 1);
    color: #102A43;
}

section {
    padding: 20px;
}

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

.app-section-column {
    text-align: left;
    font-size: 19px;
}


.apps-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 35px;
    justify-content: center;
}

.study_fotress_img {
    background-color: rgb(90, 105, 119);
    padding: 10px;
    border-radius: 10px;
    object-fit: cover;
    width: 225px;
    height: 225px;
    filter: brightness(1);    
}


.study_fotress_img_d {    
    object-fit: cover;
    width: 225px;
    height: 225px;
    filter: brightness(1);    
}

.study_fotress_img_container {
    padding: 20px;
}

.study_fotress_details {
    font-size: 19px;
    text-align: left;
}


.study_fotress_img:hover, .study_fotress_container h3:hover {
    outline: 5px solid #2c343c ;
}


.study_fotress_container {
    justify-content: center;
}

.study_fotress_container h3 {
    font-size: 25px;
    text-align: center;    
    border-radius: 10px;
    color: rgb(216, 213, 213);
    width: 245px;
}


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 {
    flex-direction: column;
    gap: 10px; 
    padding: 15px;
    top: 0;
    border-radius: 0;
    width: 100%;
    left: 0;
    transform: none;
  }
  
  .navbar-center {
    position: absolute;
    transform: none;
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
    justify-content: right;
    margin-top: 0;
    padding-top: 0;
  }

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

  .About-nav {
    font-size: 12px;
  }


  .navbar-left {
    position: static;
    transform: none;
    margin-bottom: 0px;
  }



  .logo_in_navbar {
    width: 50px;
    height: auto;
  }

  h2 {
    font-size: 24px;
  }

  .apps-container {
    flex-direction: column;
    gap: 20px;
  }

  .study_fotress_img,
  .study_fotress_img_d {
    width: 100%;
    height: auto;
  }

  .study_fotress_container h3 {
    width: 100%;
    font-size: 20px;
    padding: 10px;
  }

  .study_fotress_details,
  .app-section-column {
    font-size: 16px;
    text-align: center;
  }

  .study_fotress_img_container {
    padding: 10px;
  }

  section {
    padding: 15px;
  }

  footer {
    padding: 15px;
  }

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