/* General Layout */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    height: auto;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    border-style: groove;
    border-radius: 20px;
}

h1 {
    color: #FFF;
}

h2,
h3 {
    color: #FFF;
}

/* Form and Input Styles */
#scraperForm {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#urlInput {
    padding: 10px;
    font-size: 16px;
    width: 300px;
    margin-right: 10px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #FFF;
    color: #121212;
    border-style: solid;
    border-color: #FFF;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: transparent;
    color: #fff;
}

/* Result Section */
.result {
    margin-top: 20px;
}

.error {
    color: red;
    font-size: 18px;
}

.loading {
    color: #FFF;
    font-size: 18px;
    font-weight: bold;
}

/* Most Used Properties Section */
.properties {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.property {
    text-align: center;
    flex: 1;
    margin: 10px;
}

.square {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    border-style: groove;
}

.hex-code {
    font-size: 14px;
    color: #007bff;
    cursor: pointer;
}

.hex-code:hover {
    text-decoration: underline;
}

/* New First Contentful Background Color Section */
.first-content-background {
    margin-top: 20px;
}

.first-content-background .property {
    text-align: center;
    flex: 1;
    margin: 10px;
}

.first-content-background .square {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

.first-content-background .hex-code {
    font-size: 14px;
    color: #007bff;
    cursor: pointer;
}

.first-content-background .hex-code:hover {
    text-decoration: underline;
}

/* Fonts Section */
.fonts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.font-sample {
    padding: 10px;
    border-radius: 4px;
    margin: 10px;
    text-align: center;
    max-width: 200px;
    background-color: #ffff;
    border-radius: 8px;
    border-style: groove;
    align-content: center;
}

.font-sample p {
    margin: 0;
    color: #007bff;

}

.font-type {
    color: white;
}

/* Colors Section */
.secondary-colors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.color-box {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin: 5px;
    align-content: center;
}

.font-colors, .background-colors {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    overflow-x: scroll;
  }
  
  .color-box {
    width: 100px;
    height: 100px;
    display: inline-block;
    margin-right: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
  }
  .hex-code {
    cursor: pointer;
    font-family: monospace;
    font-size: 0.9rem;
  }
  
  .color-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  p {
    color: #FFF;
    }

    .btn-back {
        background-color: transparent;
        color:#fff;
        border: none;
        padding: 10px 15px;
        font-size: 16px;
        cursor: pointer;
        display: block;
        align-self: flex-start;
        margin-bottom: 10px;
      }
      
      .btn-back i {
        margin-right: 5px;
      }
