@import "https://fonts.googleapis.com/css2?family=Megrim&display=swap";

body,
html {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center; /* Horizontally center content */
  align-items: center; /* Vertically center content */
}

#new__content {
  position: relative;
  z-index: 1; /* Ensure content is above the Three.js scene */
  color: white;
  font-family: Megrim, cursive;
  max-width: 800px;
  width: 100%; /* Allow content to scale within the max-width */
}

#more-content {
  padding: 2rem;
  background-color: rgba(
    22,
    0,
    22,
    0.6
  ); /* Optional background for the content */
  color: #fff;
  font-size: 1.9rem;
  font-weight: 500;
  z-index: 10; /* Content above Three.js canvas */
  border-radius: 10px;
}

/* Style for the Three.js canvas */
canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Place the canvas behind the content */
}


ul {
    list-style: none !important; /* Remove default bullets */
    line-height: 3.5rem !important;
    font-size: 1.2rem !important;
    padding-left: 1.3rem !important;
}


.label {
    font-size: 1.7rem;
    font-family: 'Germania One' !important;
    font-weight: 600 !important;
    text-align: center;
    padding: 10px 0px;
    line-height: 2rem;
    color: wheat !important;
}

.itemContainer {
    margin-top: 0.7rem !important;
}

.item {
    font-family: 'Raleway Regular' !important;
    font-weight: 400 !important;
    line-height: 1.5rem;
    text-align: left !important;
    color: wheat !important;
}

.new__footer {
    width: 100% !important;
    display: flex !important;;
    align-items: center !important;;
    justify-content: center !important; /* Center items horizontally */
    gap: 1.2rem;
}

.new__footer i {
    font-size: 2rem;
    color: wheat !important;
}

.new__footer h3, .new__footer h2 {
    font-size: 2rem;
    color: wheat !important;
    font-family: 'PlayfairDisplay Black';
}

.new__footer h4 {
    font-size: 1.4rem;
    color: wheat !important;
    font-family: 'PlayfairDisplay Regular';
    text-align: justify;
    font-weight: 400;
}

.new__explanation {
    font-size: 1.5rem;
    color: canvasText !important;
    font-family: 'PlayfairDisplay Regular';
    text-align: justify;
    font-weight: 300;
}


.contact-form {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    /*max-width: 400px;*/
    width: 100%;
    margin: 40px auto;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease;
    font-size: 1.2rem;
    font-family: 'PlayfairDisplay Regular';
}

.form-group label {
    font-size: 1.2rem;
    font-family: 'PlayfairDisplay Regular';
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: none !important; /* Change to your preferwheat focus color */
}

textarea {
    resize: vertical; /* Allow vertical resizing only */
    min-height: 250px;
    font-size: 1.2rem;
    font-family: 'PlayfairDisplay Regular';
}

.form-button {
    width: 100%;
    padding: 10px;
    background-color: transparent; /* Change to your preferwheat button color */
    color: white !important;
    border-color: white !important;
    border-width: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.4rem;
    font-family: 'PlayfairDisplay Regular';
}

.form-button:hover {
    opacity: 0.7;
}

i:hover {
    opacity: 0.85;
}

.course__desc {
    font-size: 1.5rem !important;
    color: wheat !important;
    font-weight: 500 !important;
    line-height: 2rem !important;
    text-align: justify !important;
    font-family: 'Raleway Regular' !important;
}
