/*Homepage Styling*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}
body {
  background-color: #f9f5f0;
  color: #333;
  line-height: 1.6;
}
/*Homepage Image Styling */
.homepagephoto{
  display: block;
  margin: auto;
  width:80%;
}

/* Header Styles */
header {
  background-color: #8b5a2b;
  color: white;
  text-align: center;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 1rem;
}


.paw-prints {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.paw-prints .fa-paw {
  color: #f8d7a3;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

.paw-prints .fa-paw:nth-child(2) {
  animation-delay: 0.3s;
}

.paw-prints .fa-paw:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Navigation Styles */
.topnav {
  background-color: #6d4c2b;
  overflow: hidden;
  display: flex;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.topnav a {
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.topnav a:hover {
  background-color: #f8d7a3;
  color: #6d4c2b;
}

.topnav a.active {
  background-color: #f8d7a3;
  color: #6d4c2b;
  font-weight: bold;
}

/* Hero Section */
.hero-section {
  position: relative;
  max-width: 1200px;
  margin: 2rem auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.hero-image:hover {
  transform: scale(1.02);
}

.hero-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  padding: 2rem;
}

.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

#cta-button {
  background-color: #f8d7a3;
  color: #6d4c2b;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

#cta-button:hover {
  background-color: #e6c895;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Intro Section */
.intro-section {
  max-width: 800px;
  margin: 3rem auto;
  text-align: center;
  padding: 0 1rem;
}

.intro-content {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.intro-content p {
  font-size: 1.2rem;
  color: #555;
}

/* Features Section */
.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.feature-card {
  flex: 1 1 300px;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card i {
  font-size: 2.5rem;
  color: #8b5a2b;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: #6d4c2b;
}

/* Testimonial Section */
.testimonial-section {
  background-color: #8b5a2b;
  color: white;
  padding: 3rem 1rem;
  text-align: center;
}

.testimonial-section h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.testimonial-carousel {
  max-width: 800px;
  margin: 0 auto 2rem;
  position: relative;
  min-height: 150px;
}

.testimonial {
  display: none;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial span {
  font-weight: bold;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.carousel-controls button {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-controls button:hover {
  background-color: white;
  color: #8b5a2b;
}

/* Newsletter Section */
.newsletter {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.newsletter h2 {
  margin-bottom: 1rem;
  color: #6d4c2b;
}

.newsletter p {
  margin-bottom: 1.5rem;
  color: #555;
}

#newsletter-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

#newsletter-form input {
  flex: 1 1 300px;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

#newsletter-form button {
  background-color: #8b5a2b;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

#newsletter-form button:hover {
  background-color: #6d4c2b;
}


/* Responsive Design */
@media (max-width: 768px) {
  header h1 {
      font-size: 2rem;
  }
  
  header h2 {
      font-size: 1.2rem;
  }
  
  .topnav {
      flex-direction: column;
  }
  
  .hero-text h2 {
      font-size: 1.5rem;
  }
  
  .features {
      flex-direction: column;
      align-items: center;
  }
  
  .feature-card {
      width: 80%;
  }
}
/* Navigation Bar Styling */
.topnav {
  background-color: rgb(116, 64, 0);
  overflow: hidden;
}

.topnav a {
    float: left;
    color: #f3ad17;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 17px;
  }
  
  .topnav a:hover {
    background-color: #f3ad17;
    color: white;
  }
  
  .topnav a.active {
    background-color: #f3ad17;
    color: white;
}


/*Text Styling */
.introduction p{
  text-align: center;
  font-size: 25px;
  color:black;
  
}


/*ScrollBar */
::-webkit-scrollbar {
  width: 20px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(116, 64, 0); 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(116, 64, 0); 
}

/*Breed Information HTML photo styling */
/* Container holding the image and the text */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform: scale(0.1)} 
  to {transform: scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

/*Breed Information Styling */
/* Breed Information Page Styles */
.breed-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.breed-header {
  text-align: center;
  margin-bottom: 3rem;
}

.breed-header h2 {
  color: #8b5a2b;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.divider {
  width: 100px;
  height: 3px;
  background-color: #f8d7a3;
  margin: 1rem auto;
}

.subtitle {
  color: #666;
  font-size: 1.2rem;
  font-style: italic;
}

.breed-section {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: #6d4c2b;
}

.section-header i {
  font-size: 1.8rem;
  margin-right: 1rem;
}

.section-header h3 {
  font-size: 1.8rem;
}

.info-card {
  background-color: #f9f5f0;
  border-left: 4px solid #f8d7a3;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 0 5px 5px 0;
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.card-header i {
  color: #8b5a2b;
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

.card-header h4 {
  color: #6d4c2b;
  font-size: 1.3rem;
}

.breed-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  flex: 1;
  min-width: 150px;
}

.stat-item i {
  font-size: 2rem;
  color: #8b5a2b;
  margin-bottom: 0.5rem;
}

.stat-item span {
  display: block;
  color: #666;
  margin-bottom: 0.3rem;
}

.stat-item strong {
  color: #6d4c2b;
  font-size: 1.2rem;
}

.varieties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.variety-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.variety-card:hover {
  transform: translateY(-5px);
}

.variety-image {
  height: 200px;
  overflow: hidden;
}

.breed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.breed-img:hover {
  transform: scale(1.05);
}

.variety-info {
  padding: 1.5rem;
}

.variety-info h4 {
  color: #6d4c2b;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.variety-info ul {
  margin: 1rem 0;
  list-style: none;
}

.variety-info ul li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.variety-info ul li i {
  margin-right: 0.5rem;
  color: #8b5a2b;
  width: 20px;
  text-align: center;
}

.personality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.trait-card {
  background-color: #f9f5f0;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.trait-card:hover {
  background-color: #f8d7a3;
  transform: translateY(-5px);
}

.trait-card i {
  font-size: 2rem;
  color: #8b5a2b;
  margin-bottom: 1rem;
}

.trait-card h4 {
  color: #6d4c2b;
  margin-bottom: 0.5rem;
}

.image-gallery {
  margin: 3rem 0;
  text-align: center;
}

.image-gallery h3 {
  color: #8b5a2b;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: auto;
  animation: fadeIn 0.3s;
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  margin-top: 5%;
  border-radius: 5px;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.close-modal:hover {
  color: #f8d7a3;
}

#imgCaption {
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .breed-header h2 {
      font-size: 2rem;
  }
  
  .section-header h3 {
      font-size: 1.5rem;
  }
  
  .varieties-grid {
      grid-template-columns: 1fr;
  }
  
  .personality-grid {
      grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .personality-grid {
      grid-template-columns: 1fr;
  }
  
  .modal-content {
      max-width: 95%;
  }
}

/*Finances to Consider Styling*/
/* Comparison Table Styles */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem auto;
  background-color: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  max-width: 1000px;
}

.comparison-table thead tr {
  background-color: #8b5a2b;
  color: white;
}

.comparison-table th {
  padding: 15px;
  text-align: left;
  font-size: 1.1rem;
}

.comparison-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #f0e6d6;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background-color: #f9f5f0;
}

/* Pros and Cons styling */
.pros {
  color: #27ae60;
  font-weight: bold;
}

.cons {
  color: #e74c3c;
  font-weight: bold;
}

.highlight {
  background-color: #f8d7a3;
}

/* Responsive table */
@media (max-width: 768px) {
  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table th,
  .comparison-table td,
  .comparison-table tr {
    display: block;
  }
  
  .comparison-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  
  .comparison-table tr {
    border: 1px solid #f0e6d6;
    margin-bottom: 1rem;
  }
  
  .comparison-table td {
    border: none;
    border-bottom: 1px solid #f0e6d6;
    position: relative;
    padding-left: 50%;
    white-space: normal;
    text-align: left;
  }
  
  .comparison-table td:before {
    position: absolute;
    top: 12px;
    left: 15px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    content: attr(data-title);
    font-weight: bold;
    color: #6d4c2b;
  }
}

/* Footer Styles */
footer {
  background-color: #6d4c2b;
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.social-links {
  margin-bottom: 1rem;
}

.social-links a {
  color: white;
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #f8d7a3;
  transform: translateY(-3px);
}

/* Oreo's Story */
/* Timeline */
.timeline{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.timeline::after{
  content: '';
  position:absolute;
  width: 10px;
  background-color: saddlebrown;
  top:0;
  bottom:0;
  left: 50%;
  margin-left: -3px;
}
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #f8d7a3;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: 1;
}

.timeline {
  position: relative;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline .container {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline .container::after {
  content: '\f1b0'; /* FontAwesome paw icon */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: white;
  border: 4px solid #f8d7a3;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  color: #8b5a2b;
  font-size: 16px;
  z-index: 2;
}

.timeline .left::after {
  left: -15px;
}

.timeline .right::after {
  right: -15px;
}

/* Adjust content positioning */
.timeline .content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border: 2px solid #f8d7a3;
}
.container{
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
.container::after{
  content:'';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: beige;
  border: 4px solid saddlebrown;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}
.container::before{
  left: 60px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  
}
.left{
  left:0;
}
.right{
  left: 50%;
}
/*arrows for the texts */
.left::before{
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border:medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}
.right::before{
  content: " ";
  height:0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index:1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}
.right::after{
  left: -16px;
}
.content{
  padding: 20px 30px;
  background-color: transparent;
  position:relative;
  border-radius: 6px;
}
@media screen and (max-width: 600px){
  .timeline::after{
    left: 31px;
  }
}
.left::after,.right::after{
  left:20px;
}
/*Image Styling */

img {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
  width: 300px;
}

img:hover {
  box-shadow: 0 0 4px 1px rgba(226, 86, 4, 0.986);
}

/*Puppy Essentials Checklist CSS */
.checklist-container {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  }
        
.progress-container {
   margin-bottom: 25px;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 15px;
  }
        
.progress-bar {
  height: 20px;
  background: #e0d0b1;
  border-radius: 10px;
  width: 0%;
  transition: width 0.5s ease;
  margin-top: 10px;
  position: relative;
  }
        
.progress-text {
  text-align: center;
  font-weight: bold;
  margin-top: 5px;
  color: #5d4037;
}
        
.checklist-item {
  margin-bottom: 15px;
  border: 1px solid #e0d0b1;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fffaf5;
}
        
.item-header {
  padding: 15px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
}
        
.item-header:hover {
  background-color: #f5eee6;
}
        
.item-checkbox {
  margin-right: 15px;
  transform: scale(1.3);
  accent-color: #8d6e63;
}
        
.item-title {
  flex-grow: 1;
  font-weight: bold;
  color: #5d4037;
}
        
.item-price {
  background-color: #8d6e63;
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.9em;
  margin-left: 10px;
}
        
.item-details {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: white;
}
        
.checklist-item input[type="checkbox"]:checked ~ .item-details {
  max-height: 500px;
  padding: 0 15px 15px 15px;
  border-top: 1px dashed #e0d0b1;
}
        
.item-details p {
  margin: 10px 0;
}
        
.item-details ul {
  margin: 10px 0;
  padding-left: 20px;
}
        
.priority {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8em;
  font-weight: bold;
  margin-left: 10px;
}
        
.priority.high {
  background-color: #ffcdd2;
  color: #c62828;
}
        
.priority.medium {
  background-color: #fff9c4;
  color: #f57f17;
}
        
.priority.low {
  background-color: #c8e6c9;
  color: #2e7d32;
}
        
.product-recs {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
        
.product-card {
  width: 120px;
  text-align: center;
}
        
.product-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid #e0d0b1;
}
        
.product-name {
  font-size: 0.8em;
  margin-top: 5px;
}
        
.completion-message {
  text-align: center;
  margin-top: 20px;
  padding: 15px;
  background-color: #e8f5e9;
  border-radius: 8px;
  display: none;
}
        
@media (max-width: 600px) {
  body {
  padding: 15px;
}
            
.item-header {
  flex-wrap: wrap;
}
            
.item-price {
  margin: 5px 0 0 0;
  width: 100%;
  text-align: center;
}
            
.product-recs {
    justify-content: center;
  }
}
/*Styling for the Videos */
.containsvideos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  justify-items: center;
}

.video {
  width: 100%;
  display: flex;
  justify-content: center;
}

.video embed {
  max-width: 100%;
  height: 315px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .containsvideos {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .video embed {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .video embed {
    height: 200px;
  }
}
