/*Author: Arquimedes Aguirre
Filename:about.css
Date: 11/22/2024*/
/*The universal selector was used to format the website in general.*/
* {
  box-sizing: border-box;
}
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 bar*/
.hamburguer,
.close {
  padding: 1rem;
  font-size: 2em;
  color: blue;
}
/*The header selector is added to format the main header of the page.*/
header {
  display: flex;
  justify-content: space-between; 
  align-items: center; 

}
/*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 {
  top: 5px; /* Move it further down */
  right: -45px; /* Align it to the right edge */
  position: relative;
  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 {
  width: 200px; /* Default for large screen */
  max-width: 60%;
  min-height: 30%;
  margin: 1em;
  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 */
.grid.header {
  display: flex; 
  justify-content: center; /* Center the content horizontally */ 
  align-items: center; /* Center the content vertically */ 
  padding: 20px 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 */ 
  border-radius: 10px; /* Optional: for a consistent look */ 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: for a consistent look */
}
/* Styles for the animation */
.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 */ 
}
/*Added ID for specificity and website body design*/
#wrapper {
  max-width: 1400px;
  width: 100%;
  height: 100%;
  background-color: azure;
  background-image: url(/images/placeholder-images/tripBG.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
/*Design and formatting of the main body of the website.*/
#container-principal {
  display: grid;
  grid-template-columns: 2fr; /* one-column layout*/
  grid-template-rows: auto; /* Add rows, can specify more precisely if needed */
  grid-gap: 20px; /* Consistent gap*/
  padding: 20px; /* Consistent padding */
  width: 90%;
  height: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.photo-personal {
  width: 100%;
  max-width: 1200px;
  min-height: 400px;
  display: flex; /*Use flexbox layout */
  flex-direction: column; /* Arrange items vertically */
  align-items: center; /* Center items horizontally */
  justify-content: center; /* Center items vertically */
  margin: 20px;
  padding: 80px;
  background-color: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #007bff;
  text-align: justify; /* Ensure text is centered */
}
.photo-personal img {
  display: inline-block;
  width: 100%;
  height: auto;
  margin-bottom: 40px;
}
/*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#logo {
  position: relative;
  top: -50px;
  left: 1000px;
}
a.hamburguer{
  margin-top: 20px;
  margin-left: 1em;
}
.grid.header{
  margin-top: -25px;
}

