:root {
    --bg-color: #21295C;
    --second-bg-color: #1B3B6F;
    --text-color: #F2E7CF;
    --main-color: #1C7293;
    --secondary-color:  #1C7293;
} 
/* Added a color palette to reference using "var" */

header {
    background-image: linear-gradient(to right, #21295C, #1B3B6F);
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: 600;
    cursor: default;
    margin-left: 2rem;
}

nav a {
    color: var(--secondary-color);
    display: flex;
    justify-content: space-between;
    display: inline;
    font-weight: 1.7rem;
    margin-left: 2rem;
    margin-right: 2rem;
    transition: .3s;
    text-decoration: none;
}

nav a:hover, nav a:active {
    color: var(--text-color);
}

body {
    background-image: linear-gradient(to right, #1B3B6F, #1C7293); 
    color: var(--text-color);
}

.welcome-head, .itinerary-head, .excursions-head, .map-head, .weather-head, .gallery-head {
    background-image: linear-gradient(to right, #1C7293, #1B3B6F);
}

h1 {
    text-align: center;
}

/* 
.photos {
    overflow-x: scroll;
    white-space: nowrap;
  }
  
  .photos img {
    width: 375px;
    height: 250px;
    margin-right: 10px;
    border: var(--main-color);
  }

  .photos img:hover {
    border: var(--text-color);
  }

  .loader {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #1C7293;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.search-bar {
    color: black;
}

#exchange-rates {
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
}

#exchange-rates li {
    margin: 5px;
}


  /* Dropdown Button */

  .submit {
    border-color: #ff8309;
    background: #ff8309;
  }


.dropbtn {
    background-color: #118cdd;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
  }
  
  /* Dropdown button on hover & focus */
  .dropbtn:hover, .dropbtn:focus {
    background-color: #2980B9;
  }
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 161px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {
    background-color: #ddd;
}
  
  /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
  .show {
    display:block;
}

    #submit:hover{
        background-color: hsl(30, 100%, 40%);
        /* color: navy; */
        border: none;
    }
:root {
    --bg-color: #21295C;
    --second-bg-color: #1B3B6F;
    --text-color: #F2E7CF;
    --main-color: #1C7293;
    --secondary-color:  #1C7293;
    scroll-behavior: smooth;
} 

header {
    background-image: linear-gradient(to right, #21295C, #1B3B6F);
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: 600;
    cursor: default;
    margin-left: 2rem;
}

nav a {
    color: var(--secondary-color);
    display: flex;
    justify-content: space-between;
    display: inline;
    font-weight: 1.7rem;
    margin-left: 2rem;
    margin-right: 2rem;
    transition: .3s;
    text-decoration: none;
}

nav a:hover, nav a:active {
    color: var(--text-color);
}

body {
    background-image: linear-gradient(to right, #1B3B6F, #1C7293); 
    color: var(--text-color);
}

.itinerary-head, .excursions-head, .currency-head, .weather-head, .gallery-head, .review-head {
    background-image: linear-gradient(to right, #1C7293, #1B3B6F);
}

h1 {
    text-align: center;
}

.photos {
    overflow-x: scroll;
    white-space: nowrap;
}
    .photos img:hover {
    border: var(--main-color);
  }
  
  .photos img {
    width: 375px;
    height: 250px;
    margin-right: 10px;
    border: var(--main-color);
  }

  .photos img:hover {
    border: var(--text-color);
  }

#exchange-rates {
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #1C7293;
}

#exchange-rates li {
    margin: 5px;
    color: var(--text-color);
}

  .card {
    background: linear-gradient(to right, #21295C, #1B3B6F);
    color: white;
    padding: 2em;
    border-radius: 30px;
    width: 100%;
    max-width: 420px;
    margin: auto;
  }
  
  .card-fiveday {
    background: linear-gradient(to right, #21295C, #1B3B6F);
    color: white;
    border-radius: 30px;
  }

  .card-body {
    align-items: center;
    text-align: center;
  }
  
  .search {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #button-weather {
    margin: 0.5em;
    border-radius: 50%;
    border: none;
    height: 44px;
    width: 44px;
    outline: none;
    background: #7c7c7c2b;
    color: white;
    cursor: pointer;
    transition: 0.2s ease-in-out;
  }
   */

  .search-bar {
    border: none;
    outline: none;
    padding: 0.4em 1em;
    border-radius: 24px;
    background: #7c7c7c2b;
    color: white;
    font-family: inherit;
    font-size: 105%;
    width: calc(100% - 100px);
  }
  
  #button-weather:hover {
    background: #7c7c7c6b;
  }
  
  .temp {
    margin: 0;
    margin-bottom: 0.4em;
    align-items: center;
  }

  .city, .humidity, .wind {
    align-items: center;
    text-align: center;
  }
  
  .flex {
    display: flex;
    align-items: center;
  }
  
  
  .description {
    text-transform: capitalize;
    margin-left: 60px;
   
  }

  .icon {
    margin-left: auto;
  }
  
  .weather.loading {
    visibility: hidden;
    max-height: 20px;
    position: relative;
  }
  
  .weather.loading:after {
    visibility: visible;
    content: "Loading...";
    color: white;
    position: absolute;
    top: 0;
    left: 20px;
  }

  #googleMap {
    width: 75%;
    height: 350px;
  }


#button-maps {
  color:rgb(23, 21, 153) ;
  display: flex;
  justify-content: center!important;
  align-items: center!important;
}

.excursions-grid {
  justify-items: center;
}

.excursion-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.excursion-title {
  text-align: center;
}



/* Styling for the cart section (Optional) */
#cart-section {
  padding: 1rem;
  border: 1px solid var(--main-color);
  border-radius: 8px;
  background-color: var(--bg-color);
  color: var(--text-color);
}

#cart-section h2 {
  text-align: center;
}

.cart-item {
  margin-bottom: 0.5rem;
}

#username {
margin-bottom: 5pt;
}

#review {
margin-left: 17.5pt;
}    

@media screen and (max-width: 546px) {
    .submit {
        margin: 12% 0% 0% 1% !important;
    }
    #button1 {
        margin: 0% 0% 30% 0% !important;
    }

}
  
@media only screen and (device-width: 483px) and (device-height:896px) and (-webkit-device-pixel-ratio: 2) {
    .dropdown {
        padding: 4% 3% 4% 4% !important
    }
    .submit {
        margin: 0% 0% 0% 29% !important;
    }
}
@media only screen and (device-width: 425px) and (device-height:681px) and (-webkit-device-pixel-ratio: 2) {
    .dropdown {
        padding: 4% 3% 4% 4% !important
    }
    .submit {
        margin: 0% 0% 0% 29% !important;
    }

}
@media only screen and (device-width: 375px) and (device-height:725px) and (-webkit-device-pixel-ratio: 2) {
    .dropdown {
        padding: 4% 3% 4% 4% !important
    }
    .submit {
        margin: 0% 0% 0% 5% !important;
    }

}

@media only screen and (device-width: 320px) and (device-height:681px) and (-webkit-device-pixel-ratio: 2) {
    .dropdown {
        padding: 4% 3% 4% 4% !important
    }
    .submit {
        margin: 0% 0% 0% 5% !important;
    }
   
}
