*{outline: 0px solid red;}

.logo
{
    display: block;
    font-size: 30px;
    font-family: Impact;
    text-align: center;
    color: black;
}

nav
{
    background-color: tan;
    
}

body
{
    background-color: rgb(255, 227, 190);
    margin: 0px;
    padding: 0px;
}

.nav
{
    list-style: none;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    padding: 15px;
}

.nav li a
{
    text-decoration: none;
    color: black;
    font-weight: 600;
    font-family:verdana;

    display: flex;
    justify-content: center;
    align-items: center;

    width: auto;
    height: 30px;
    padding: 0px 10px;
    
    border: 3px solid black;
    border-radius: 5px;
    background-color: crimson;
    margin: 5px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: tan;
  
}

.navlist,
.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  z-index: 1000;
}

.has-dropdown {
  position: relative;
}

.submenu a {
  padding: 8px 16px;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  padding: 6px 0;
  background-color: black;
  color: white;
  border-radius: 6px;
}

.has-dropdown:hover .submenu {
  display: block;
}

.navlist a {
  display: block;
}

.navlist a:hover {
color: #444444;
}

.navlist a:focus {
  outline: 2px solid white;
  outline-offset: -2px;
}

h1.hero {font-family:Trebuchet MS;font-size: 45px;}

site-header {
  
  border: 1px dashed rgb(98, 18, 18); 
  background-color:rgb(152, 45, 45); 
  color:white; 
  font-family:Trebuchet MS;
  font-size: 45px;
}

body {
  margin: 10%; 
  max-width: 1400px;
  padding-top: 140px;
}


p {color:black; font-family:verdana; font-size: 18px;}

h2,h3,h4,h5,h6 {color:green;}
h7 {color:blue}
h7.favorite {font-family:Impact MS;font-size: 35px;}

h1{
  text-shadow: 3px 3px 4px rgba(0, 0, 0, 1);
}
ul.nav-list {
    list-style: none; 
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    margin-top: 20px 0px 20px 0px;
}

ul {color:brown}

li a {color:gray;}

ol{color:orange;}

header {margin-bottom: 100px;}

.nav-list li a{text-transform: uppercase;color:rgb(152, 45, 45);}

.card {
  background: crimson;
  border: 3px solid black;
  color: white;
  box-sizing: border-box;
  padding: 15px;
}
 
.card img {
  border-radius: 8px;
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.card h4 {
  margin: 12px 0 6px;
  font-size: 22px;
  color: white;
}
 
.card p {
  margin: 0 0 12px;
  line-height: 1.4;
  color: white;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
}

.card button {
  margin-top: auto;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-family: Georgia, serif;
}

.flex-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 10px;
  align-items: stretch;
}
 
.card {
  display: flex;                 /* added */
  flex-direction: column;        /* added */
  background: rgb(60, 60, 60);
  border: 3px solid black;
  color: white;
  padding: 15px;

  width: 100%;
  max-width: 300px;
  min-height: 400px;
}

.grid-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  justify-items: center;
}

.button {
  display: inline-block;
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 8px;
  background-color: crimson;
  color: white;
  font-family: Georgia, serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 3px solid black;
}

.button:hover,
.button:focus {
  background-color: darkred;
}

.hero{

    background-image: url("/assets/istockphoto-1007557230-612x612.jpg");

    min-height: 300px;
    max-height: 350px;

    min-width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    align-items: flex-end;
    border: 3px solid black;
    border-radius: 5px;
    aspect-ratio: 16 / 9;
    padding-left: 20px;

}

.hero-about
{
  background-image: url("/assets/Hero_Why_Old_Movie_Reels_Are_Worth_1fc6e1ab-fbf1-4def-8f54-4d2e2becc2ee.webp");
}

.hero-contact
{
  background-image: url("/assets/cinema-movie-theater-poster-graphic-design-with-empty-copy-space-for-text-illustration-outlined-and-full-colored-on-horizontal-ratio-simple-flat-cartoon-minimalist-art-style-for-banner-vector.jpg");
}

.hero-whatisfilm
{
  background-image: url("/assets/TPXM0lLvzMDIkMqnu9cFZS3ie8rMMNIl1658435216.webp");
}

.hero-films{
    background-image: url("/assets/6jeo6be97mqd1.jpg");
}

.hero-directors{
    background-image: url("/assets/960x0.jpg");
}
.hero-genres{
    background-image: url("/assets/movie-genres-tn.png");
}

hero.h1
{
    width: 100%;
    padding: 60px;
}
.favorite{
    h7.favorite {font-family:Impact MS;font-size: 35px; background-color:yellow; border-radius: 5px; padding: 5px;}
    li a {color:purple; font-size: 20px; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color:yellow; border-radius: 5px; padding: 5px; text-decoration: none;}
    li {color:black; font-size: 20px; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif}
}

ul.nav-list li a {
    text-decoration: none;
    color: blueviolet;
    font-weight: 600;
    font-family:verdana;
}

h2{
  color:rgb(152, 45, 45);
}

ul{
  color:black;
  font-family:verdana;
  font-size: 18px;
}

/* Form sytles */
 
form {
  max-width:500px;
  min-width:300px;
  margin: auto;
  border: 5px solid black;
  background-color: tan;
  padding: 25px 0px 25px 25px;
}

label {
  display: block;
  margin-top: 20px;
  font-weight: bold;
  padding-bottom: 5px;
  color: black;
  font-family:verdana;
}

input {
  width: 90%;
  height: 25px;
  font-size:20px;
}

textarea {
  width: 90%;
}

.phone {
  width: 100px;
}

button {
  display: block;
  margin-top: 20px;
  padding: 10px 10px;
  width: 50%;
  background-color: white;
  color: black;
  border: 3px solid black;
  cursor: pointer;
  font-size: 14px;
  font-family:verdana
}

button:hover {
  background-color: crimson;

   }

   .contact-options {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
   }

  /* ============================================
   HAMBURGER BUTTON
   ============================================ */
 
 
/* Hide the checkbox itself */
.hamburger input {
    display: none;
}
 
 
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    margin-right: 25px;
}
 
 
.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: black;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
 
 
/* --- X state: when checkbox is checked --- */
 
 
/* Rotate top line down */
.hamburger input:checked ~ span:nth-child(2) {
    transform: translateY(9.5px) rotate(45deg);
}
 
 
/* Hide middle line */
.hamburger input:checked ~ span:nth-child(3) {
    opacity: 0;
}
 
 
/* Rotate bottom line up */
.hamburger input:checked ~ span:nth-child(4) {
    transform: translateY(-9.5px) rotate(-45deg);
}



@media (max-width: 768px) {
 
 
    .hamburger {
        display: flex;
        position: absolute;
        top:24px;
        right: 10px;
    }
 
 
    nav {
        display: none;
    }
    
    /* Hide nav by default on mobile */
nav {
    display: none;
}

/* Show nav when checkbox is checked */
#nav-toggle:checked ~ nav {
    display: block;
}

/* Manage mobile menu appearance */
nav {
    flex-basis: 100%;
    width: 100%;
    background-color: tan;
}

/* Stack nav links vertically */
ul.navlist {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Manage links appearance */
ul.navlist li a {
    color: blue;
}
header {
    background-color: tan;
}
}

header.container {
        flex-direction: row;
        align-items: center;
        padding-bottom: 10px;
        position: relative;
    }

/* Hide the toggle checkbox for nav menu */
#nav-toggle {
    display: none;
}

/* Animate hamburger lines when menu is open */
#nav-toggle:checked + .hamburger span:nth-child(2) {
    transform: translateY(9.5px) rotate(45deg);
}

#nav-toggle:checked + .hamburger span:nth-child(3) {
    opacity: 0;
}

#nav-toggle:checked + .hamburger span:nth-child(4) {
    transform: translateY(-9.5px) rotate(-45deg);
}

