@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap');

html {
  font-family: 'Syne', sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  background-color: #171717;
  color: #ffffff;
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 4px;
    transition: 0.3s;
  }
  
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px transparent; 
    border-radius: 3px;
    transition: 0.3s;
  }
   
  ::-webkit-scrollbar-thumb {
    background: #2D3250; 
    border-radius: 50px;
    transition: 0.3s;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #424769; 
    transition: 0.3s;
}  

body {
  margin: 0;
}

.topnav {
  overflow: hidden;
  background-color: #222831;
  position: fixed;
  top: 0; 
  width: 100%;
  z-index: 10;
}

.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: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #2D3250;
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .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;
  }
}

.t {
    margin: auto;
    width: 50%;
    padding: 10px;
    text-align: center;
    font-size: large;
  }

  .p {
    margin: 1rem;
    padding: 2rem 2rem;
    text-align: center;
  }

  .c {
    text-align: center;
    display: inline-block;
    width: 550px;
    padding: 95px;
    vertical-align: middle;
}

  .g {
    margin:  auto;
    width: 72%;
    text-align: center;
  }

  div.gallery {
    margin:  8px;
    border: 1px solid #ccc;
    float: left;
    width: 180px;
    height: auto;
  }
  
  div.gallery:hover {
    border: 1px solid #777;
  }
  
  div.gallery img {
    width: 100%;
    height: auto;
  }
  
  div.desc {
    padding: 15px;
    text-align: center;
  }

  .f {
    background-color: #777;
    padding: 10px;
    text-align: center;
    color: white;
    margin:  auto;
    width: 72%;
  }
  
