/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family:'Courier New', Courier, monospace;
    background-color: #bb0906;
    color: #f0d01b;
    text-align: right;
    font-size: 35px;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between; 
    font-size: 100;
    color: #d46e15;
    padding: 0px;
    margin-top: 20px;
    position: relative; 
}

/* Second header styles */
h2 {
    font-size: 30px; 
}


/* Add black lines above and below buttons */
header::before,
header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 5px;
    background-color: black;
}

header::before {
    top: -10px; 
}

header::after {
    bottom: -10px;
}

/* Button styles */
button {
    border: none;
    background-color: transparent;
    font-family: cursive;
    color: rgb(217, 246, 130);
    padding: 10px 1px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    margin: 2px 2px;
    cursor: pointer;
}

/* Main content styles */
.main-content {
    padding: 20px;
}

/* page reference */
.reference-page-text {
    position: absolute;
    font-family: cursive;
    top: 10px;
    left: 10px;
    color: #000000; 
    font-size: 20px; 
  }

  /* Paragraph styles */
    p {
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
        color: black; 
        font-size: 25px; 
        position: relative; 
        top: 50px; 
        text-align: left;
    }

    /* Home page images styles */
    .image-container {
        display: flex;
        justify-content: center;
        margin-top: 60px;
    }
    
    .ferrari-logo {
        max-width: 200px;
        height: auto;
        margin: 10px;
    }
    
     /* Track lap video styles */

    .video-container {
        display: flex;
        justify-content: center;
        margin-top: 20px;
      }


      /* History page images styles */ 

    .Enzo {
        display: flex;
        justify-content: center; 
        margin-top: 60px; /
    }

    /* Popular cars Layout Styles */

    .ferrari-carpics{
        display: flex;
        justify-content: center; 
        margin-top: 20px;
        max-width: 700px;
    }
    .car-info {
        margin-bottom: 50px; 
    }

    .car-info h3 {
        font-size: 30px;
        color: #e89145;
        text-align: center;
        margin-bottom: 10px; 
        margin-top: 30px;/
    }
    
    .car-info .image-container {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    
    .car-info p {
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
        color: black; 
        font-size: 25px; 
        position: relative; 
        top: 50px; 
        text-align: left;
    }