/*Author: Arquimedes Aguirre
Filename:plans.css
Date: 11/22/2024*/
/*The universal selector was used to format the website in general.*/
* {
  box-sizing: border-box;
}
/*The background color design for the body of the website is created*/
body {
  background-color: azure;
  background-image: url(/images/placeholder-images/tripBG.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: black;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
/*The style of the titles was set in that tag*/ 
h1 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 300;
  font-size: 5rem;
  color: blueviolet;
  line-height: 0.85;
  text-align: center;
}
/* Added hamburger bottom to format the website menu*/
.hamburguer,
.close {
  font-size: 2em;
  color: blue;
  margin: -1rem 3rem;
}
/*The header selector is added to format the main header of the page.*/
header {
  margin: 1rem;
  margin-top: 40px;
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  padding: 20px; /* Adjust padding for consistent spacing */
}
/*The menu bar style was created with different properties and values*/
nav {
  border-top: 2px solid gray;
  border-bottom: 2px solid black;
  margin: 0 auto;
  background-color: purple;
  background-image: url(https://assets.codepen.io/296057/lil-graydots.png);
  font-family: "Times New Roman", Times, serif;
  font-size: 1.5rem;
  padding: 1rem;
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 15vh;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  text-align: center;
  transform: translateY(-100%);
  transition: transform 0.2s ease;
}
/*A pseudoclass was created so that the menu window would open and close.*/
nav:target {
  transform: translateY(0);
}
/*The unordered list was given style.*/
nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 1.5rem;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  width: 100%;
}
/*The internal design of the bar menu was formatted and styled.*/
nav li:first-child {
  margin-top: 0;
}
nav a {
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-weight: 600;
  display: block;
  color: blueviolet;
  border-top: 5px solid #00bff3;
  border-bottom: 5px solid #00bff3;
}
/*A pseudoclass was created so that the menu bar, had a focus effect.*/
nav a:focus,
nav a:hover {
  background-color: greenyellow;
  background-image: url(https://assets.codepen.io/296057/lil-bluedots.png);
  color: black;
}
.close:hover {
  background-image: none;
  background-color: transparent;
}
/* style for the imagen logo placed in the website*/
#logo {
  position: absolute;
  top: 25px; /* Move it further down */
  right: 20px; /* Align it to the right edge */
  display: flex;
  align-items: center;
}
#logo img {
  width: auto;
  height: 60px; /* Adjust the height as needed */
  margin-top: 5px; /* Consistent margin */
  margin-bottom: auto;
  margin-right: 5em;
}
.logo {
  max-width: 60%;
  min-height: 30%;
  margin: -0.5em;
  padding: 1px;
}
@keyframes slideme {
  from { 
    margin-left: 100%;
    width: 300%;  
  }
  50%  {  
    margin-left: 50%;
    font-size: 250%; 
  }
  to   {
    font-size: 500%;
    margin-left: 0%;
    width: 100%; 
    }
  }
/* Styles for the header container */
.header {
  display: flex; 
  justify-content: center; /* Center the content horizontally */ 
  align-items: center; /* Center the content vertically */ 
  padding: 80px 20px 20px 20px; /* Add top padding to create space */ 
  background-color: #f8f9fa; /* Light background color */ 
  border-bottom: 2px solid #ddd; /* Border at the bottom */
  background-image: url(/images/placeholder-images/bg-sunset-ocean.jpg);
  background-repeat: no-repeat;
  background-position: right;
  background-size: cover; /* use Either 'auto' or 'cover' */
  max-width: 1200px; /* Match the max-width with other containers */ 
  margin: 0 auto; /* Center the header horizontally */ 
  padding: 20px; /* Consistent padding */ 
  border-radius: 10px; /* Optional: for a consistent look */ 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: for a consistent look */
}
.grid.header h1 { 
  animation-duration: 5s;
  animation-name: slideme;
  animation-fill-mode: forwards;
  animation-timing-function: linear;		 
}
/* Styles for the h1 element */
.grid.header h1 { 
  font-size: 5rem; 
  margin: 0; 
  color: #333; /* Text color */ 
}
/* Styles for the link */ 
.grid.header h1 a {
  text-decoration: none; /* Remove underline */ 
  color: inherit; /* Inherit color from the parent */ 
  transition: color 0.3s; /* Smooth transition on hover */
}
/* Styles for the link on hover */ 
.grid.header h1 a:hover { 
  color: #007bff; /* Change color on hover */ 
}
main {
    width: 100%;
    max-width: 1000px;
    height: 100%;
    margin: 4em auto;
    padding: 0;
}
main h1 {
    color: blueviolet;
    font-size: 5rem;
    text-align: center;
    margin: 1em;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto, cover;
}
/*The second container was formatted and an ID was placed for greater specificity.*/
#trips {
    max-width: 1200px;
    width: 80vw;
    min-height: 1800px;
    height: 20vh;
    margin: 5em;
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-items: center;
    border-radius: 20px;
    background-color: whitesmoke;
}
/*Be display flex for give direcction at the section of website.*/
.products {
    width: 100%;
    height: 100%;
    margin: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.products img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}
.products h2 {
  margin: 0.5em;
  padding: 1px;
  font-size: 2rem;
}
.products p {
  font-size: 1rem;
  margin: 0;
  margin-right: 2em;
  margin-left: 2em;
  padding: 3px;
}
/*Footer - The display flex property was used for the footer format, among other additional properties.*/
footer {
  display: grid;
  grid-template-columns: 1fr; /* Single column layout for smaller screens */
  grid-template-rows: 250px;
  place-items: center;
  background-color: gray;
  padding: 20px;
  margin-top: 10px;
  text-align: center;
  color: #ffffff;
}
.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Align items vertically*/
  align-items: center; /* Center items horizontally */
  padding: 10px;
  width: 100%; /* Full width */ 
}
/* Ensure the logo is positioned on the left*/
.footer-logo {
  position: relative;
  top: 5em;
  left: -5em;
}
.footer-logo img {
  display: block;
  width: 30%;
  height: auto;
}
.logo-footer {
  margin-right: 100%;
}
.element-information {
  display:flex;
  flex-direction: column;
  align-items: center;
  margin-left: 30%;
  margin-top: -5%;
  padding: 1px;
}
/* Text and link styles */
footer p, footer a {
  margin: 1px 0; /* Proximity: space elements evenly*/
  margin-top: 30px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease; /* Smooth transition*/
}
footer a:hover {
  color: #ffeb3b; /* High contrast for hover*/
} 
/*A class was created to format the socialnetwork of the website*/
.socials {
  list-style-type: none;
  padding: 0;
  margin: 5px 0;
  margin-top: -10px;
  margin-right: -30%;
  display: flex;
  justify-content: center;
  gap: 15px; /* Proximity: equal spacing between items */
}
.socials li {
  display: flex;
  align-items: center;
}
.socials img {
  width: 40px;
  height: auto; /* Maintain aspect ratio*/
  transition: opacity 0.3s ease; /* Smooth transition*/
}
.socials img:hover {
  opacity: 0.5;
}
div.grid.header {
  width: 95vw;
  height: 20vh;
  margin-left: -100px;
  margin-top: -30px;
}
