
/* Media query for tablets */
@media (min-width: 768px) {
  .grid-container-flex {
    font-size: 1.2em;
  }

}

/* Media query for desktops */
@media (min-width: 1024px) {
  .grid-container-flex {
    font-size: 1.7em;
  }
}

.grid-container-flex {
  display: flex;
  flex-direction: column; 
  padding: 20px;
  color: #262626; 
}


h1 { 
    color: #262626; 
    font-family:'Libre Franklin', sans-serif; 
    font-size: 1.5em;
    margin-top: 10px;
    margin-left: 20px;
    margin-bottom: 5px;
    text-align: center;
}

h4 {
  color: white; 
  font-family:'Libre Franklin', sans-serif; 
  font-size: 0.6em;
  text-align: left;
  margin-top: 2px;
  margin-bottom: 2px;
  display: inline-block; 
  background-color: #262626; 
  padding: 5px 10px; 
  border-radius: 20px;
  width: fit-content; 
  text-decoration: underline;
}

h4 a {
  color: white; 
  text-decoration: none;
}

h4 a:hover {
  color: #FFB570;
  text-decoration: underline;
}

p {
    color: white; 
    font-family:'Libre Franklin', sans-serif; 
    font-size: 0.6em;
    text-align: left;
    margin-top: 2px;
    margin-bottom: 2px;
    display: inline-block; 
    background-color: #262626; 
    padding: 5px 10px; 
    border-radius: 20px;
    width: fit-content; 
}

p a {
  color: white; 
    font-family:'Libre Franklin', sans-serif; 
    font-size: 0.9em;
    text-align: left;
    margin-top: 2px;
    margin-bottom: 2px;
    display: inline-block; 
    background-color: #262626; 
    padding: 1px 4px; 
    border-radius: 20px;
    width: fit-content;
}

p a:hover {
  color: #FFB570; 
  background-color: #333; 
}

.location-row {
  display: flex;
  justify-content: space-between; 
  width:85%;
  margin-left: 30px;
  margin-top: 2px;
  margin-bottom: 2px;
}


  
/* Media query for tablets */
@media (min-width: 768px) {
  h2 {
    font-size: 1em; 
  }
}

/* Media query for desktops */
@media (min-width: 1024px) {
  h2 {
    font-size: 1.5em; 
  }
}

body {
  background-image: #f1f1f1;
    margin-left: 5px;
    margin-right: 5px;
    display: flex;
    justify-content: center; 
    align-items: center; 
    background-size: cover; 
    background-position: center;
    text-align: center; 

}

* {box-sizing: border-box}


.container {
    max-width: 500px;
    margin: auto;
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

ul.navigation {
  position: fixed;         
  bottom: 0;              
  left: 0;
  right: 0;
  background-color: #262626;
  width: 100%;
  padding: 10px 0;
  margin: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.6em;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  z-index: 1000;        
}

li {
  float: center;
}

li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-weight: bold;
}


li a:hover {
  color: #FFB570;
}

.active {
  color: #FFB570;
}

label {
  display: block;
  margin: 10px 0 5px;
}


.slideshow-container {
  position: relative;
  max-width: 1000px;
  width: 95%;
  margin: auto;
}


.mySlides {
  display: none;
}

.mySlides img,
.mySlides2 img {
  border-radius: 20px;
  width: 100%;
  display: block;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  background-color: black;
  border: none;
  padding: 2px 4px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
}



.next {
  right: 10px;
}

.prev {
  left: 10px;

}


.prev:hover, .next:hover {
  background-color: #FF7900;
}


.placetext {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  top: 8px;
  left: 8px;
  text-align: left;
  background-color: #262626; 
  padding: 8px 12px; 
  border-radius: 20px;
  width: fit-content; 
  cursor: pointer;
}

.placediscovertext {
  position: absolute;
  bottom: 50px;  
  right: 10px;  
  color: white;
  font-size: 15px;
  background-color: #262626; 
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
}

.placediscovertext a {
  text-decoration: underline;  
  color: white;  
  font-weight: bold;  
}


.placediscovertext a:hover {
  color: #FFB570;  
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  top: 8px;
  left: 8px;
  text-align: left;
  background-color: #262626; 
  padding: 8px 12px; 
  border-radius: 20px;
  width: fit-content; 
  cursor: pointer;
}

.discovertext {
  position: absolute;
  bottom: 10px;  
  right: 10px;   
  color: white;
  font-size: 15px;
  background-color: #262626; 
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
}

.discovertext a {
  text-decoration: underline;  
  color: white;  
  font-weight: bold;  
}


.discovertext a:hover {
  color: #FFB570;  
}


.numbertext {
  color: white;
  font-size: 15px;
  position: absolute;
  bottom: 50px;
  left: 10px;
  background-color: #262626; 
  padding: 8px 12px; 
  border-radius: 20px;
  width: fit-content; 
  text-align: left;
}

.numbertext1 {
  color: white;
  font-size: 15px;
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: #262626; 
  padding: 8px 12px; 
  border-radius: 20px;
  width: fit-content; 
  text-align: left;
}


.similar-users-container {
  max-width: 1000px; 
  margin: auto;
  text-align: center;
  padding: 20px;
  width: 100%;
}

.profile-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.profile-card {
  display: flex; 
  align-items: flex-start; 
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  text-align: left;
  margin-top: 10px;
  margin-bottom: 10px;
  max-width: 2000px;
  width: 110%;
  position: relative;
  border-radius: 20px;
  padding: 20px;
}

.profile-card img {
  width: 80px; 
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.profile-info {
  display: flex;
  flex-direction: column; 
  justify-content: center;
  flex: 1; 
}

.user-details h3 {
  margin: 0;
  font-size: 0.9em;
}

.user-details p {
  margin: 5px 0;
  color: white;
}

.tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px; 
}

.tags span {
  background: linear-gradient(20deg, #FF7900, #FFB570, #FF97B0);
  color: black;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.6em;
  white-space: nowrap; 
}

.profile-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-profile, .next-profile {
  position: absolute;
  top: 52%;
  transform: translateY(-50%);
  background-color: black;
  color: white;
  border: none;
  padding: 2px 4px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}


.prev-profile:hover, .next-profile:hover {
  background-color:#FF7900;
}

.prev-profile {
  left: -40px;
}

.next-profile {
  right: -40px;
}

@media (max-width: 1024px) {
  .prev-profile {
    left: 0px;
    top: 50%;
  }

  .next-profile {
    right: 0px;
    top: 50%;
  }
}

main {
  padding-bottom: 80px; 
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px; 
  margin-bottom: 10px;
}

.header-bar h1 {
  margin: 0; 
  font-size: 1.5em;
  font-family: 'Libre Franklin', sans-serif;
  color: #262626;
}

.settings-link i {
  font-size: 30px;
  color: #262626;
  transition: color 0.3s ease;
}

.settings-link i:hover {
  color: #FF7900;
}