/* General styles */
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #212529; /* Dark grey */
  color: #eaeaea; /* Light grey */
  justify-content: center;
  align-items: center;
}

header {
  background-color: #343a40; /* Dark grey */
  background: url('../../images/header_image.jpg') no-repeat center center;
  color: #eaeaea; /* Light grey */
  padding: 20px;
  text-align: start;
}

nav {
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: start;
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  color: #f8d210; /* Yellow */
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: bold;
  padding: 10px;
  border-radius: 5px;
  transition: background 0.3s;
}

nav ul li a:hover {
  background-color: #2e2e4d; /* Slightly lighter dark blue */
}

a {
  text-decoration: none;
  color: inherit;
}

main {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

section {
  background: #343a40; /* Dark grey */
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
  margin-bottom: 10px;
  border-bottom: 2px solid #f8d210; /* Yellow */
  padding-bottom: 10px;
}

p {
  line-height: 1.5;
}

/* Form Styles */
form {
  background: #343a40; /* Dark grey */
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

form label {
  display: block;
  margin-bottom: 5px;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #adb5bd; /* Grey */
  border-radius: 5px;
}

form button {
  background: #ff6f61; /* Coral */
  color: #eaeaea; /* Light grey */
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

form button:hover {
  background: #f8d210; /* Yellow */
}

/* Footer Styles */
footer {
  background: #343a40; /* Dark grey */
  color: #eaeaea; /* Light grey */
  text-align: center;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  bottom: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin-bottom: 10px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

.user-info small {
  color: #adb5bd; /* Grey */
}

/* center the blockquote in the page */
.blockquote-wrapper {
  display: flex;
  height: 85vh;
  padding: 0 20px;
}

/* Blockquote main style */
.blockquote {
   position: relative;
   font-family: 'Barlow Condensed', sans-serif;
   max-width: 620px;
   margin: 80px auto;
   align-self: center;
}

/* Blockquote header */
.blockquote h1 {
   font-family: 'Abril Fatface', cursive;
   position: relative; /* for pseudos */
   color: #f8d210; /* Yellow */
   font-size: 2.8rem;
   font-weight: normal;
   line-height: 1;
   margin: 0;
   border: 2px solid #fff;
   border: solid 2px;
   border-radius:20px;
   padding: 25px;
}

/* Blockquote right double quotes */
.blockquote h1:after {
   content:"";
   position: absolute;
   border: 2px solid #f8d210; /* Yellow */
   border-radius: 0 50px 0 0;
   width: 60px;
   height: 60px;
   bottom: -62px;
   left: 50px;
   border-bottom: none;
   border-left: none;
   z-index: 3; 
}

.blockquote h1:before {
  content: "";
  position: absolute;
  width: 80px;
  border: 6px dashed #2c3e50; /* Change to dashed border */
  bottom: -3px;
  left: 50px;
  z-index: 2;
}

/* increase header size after 600px */
@media all and (min-width: 600px) {
   .blockquote h1 {
       font-size: 3rem;
       line-height: 1.2;
  }

}

/* Blockquote subheader */
.blockquote h4 {
   position: relative;
   color: #ffffff;
   font-size: 1.3rem;
   font-weight: 400;
   line-height: 1.2;
   margin: 0;
   padding-top: 15px;
   z-index: 1;
   margin-left:150px;
   padding-left:12px;
}

.blockquote h4:first-letter {
 margin-left:-12px;
}
