@font-face {
  font-family: 'PWSimpleHandwriting'; /* Replace with your desired font name */
  src: url('/static/fonts/PWSimpleHandwriting.ttf') format('truetype'); /* Replace with the correct path to your TTF file */
}

@font-face {
  font-family: 'Rubik'; /* Replace with your desired font name */
  src: url('/static/fonts/Rubik-VariableFont_wght.ttf') format('truetype'); /* Replace with the correct path to your TTF file */
}

/* General styles */
body {
    font-family: 'Rubik', sans-serif;
    background-color: #eaf0ea;
    position: relative;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.flash{
  position: fixed;
  top: 100px;
  left: 0;
  width:100%;
}


/* Navigation bar styles */
#mynavbar {
    width: 100%;
    background-color: white;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1000;
    margin-bottom: 0px;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


.navbar-logo img {
    height: 50px;
    cursor: pointer;
}

.navbar-button {
    text-decoration: none;
}

.nav-btn {
    background-color: white;
    color: #473005;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid #473005;
    text-align: center;
    margin-right: 20px;
}

.nav-btn:hover {
    background-color: #473005;
    color: white;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 100px;
  margin-left: 20px;
}

.logo-container img {
  max-height: 100%; /* Adjust as needed */
  width: auto;
}

.logo-container #logo {
  /* Specific styles for the first image, if needed */
  height: 60%;
}

.logo-container #favicon {
  /* Specific styles for the second image, if needed */
  height: 70%;
}


.navbar-logo img {
  margin-bottom: 10px;
}


.login-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1px;
    align-items: flex-start;
    padding: 5px;
    flex-wrap: wrap;
    padding-top: 100px;
    height: 100%;
}

.middle-column {
  flex: 1;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 40px;
}


#login-form {
    margin-top: 100px;
    width: 350px;
    text-align: left; /* Align text within the form to the left */
    border: 1px solid grey;
    padding: 33px;
    border-radius: 9px;
    background-color: rgb(255, 255, 255, 0.8);
    margin-bottom: 60px;
}

#login-form label {
  display: block; /* Make labels take up the full width */
  text-align: left; /* Align the text to the left */
  margin-bottom: 5px; /* Add some spacing between label and input */
}

#login-form .form-control {
  text-align: left; /* Align input text to the left */
}

#login-form * {
    font-size: 16px;
}

.login-form input,
.login-form button {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
}

.login-btn {
    color: white;
    border: 1px solid #473005;
    padding: 7px 11px 7px 11px;
    border-radius: 5px;
    text-decoration: none;
    background-color: #3d2e14;
    width: 100%;
}

.login-btn:hover {
    color: white;
}



@media (max-width: 768px) {
  /* Stack the columns in the desired order: middle → right → left */


.logo-container {
    height: 80px;
    margin-bottom: 2px;
    margin-top: 10px;
}

.login-container {
    display: flex;
    flex-direction: column; /* Stack columns vertically */
    align-items: center; /* Center-align content */
    height: auto; /* Allow height to adjust to content */
}


#login-form {
    margin-top: 20px;
    width: 90%;
    text-align: left; /* Align text within the form to the left */
    border: 1px solid grey;
    padding: 23px 33px 33px 33px;
    border-radius: 9px;
    background-color: rgb(255, 255, 255, 0.75);
}

  .middle-column {
    order: 1; /* Show first */
    text-align: center;
    padding: 10px;
    max-width: 100%;
  }

  .right-column {
    order: 2; /* Show second */
    text-align: center;
    padding: 10px;
    max-width: 100%;
  }

  .left-column {
    order: 3; /* Show third */
    text-align: center;
    padding: 10px;
    max-width: 100%;
  }

  .video {
    height: 160px;
    width: 300px;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (Height / Width = 9 / 16 = 0.5625) */
    margin: 0 auto; /* Center the video */
  }

  .video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Fill the container */
    height: 100%; /* Maintain aspect ratio */
    border-radius: 7px; /* Optional: keep rounded corners */
  }

  /* Adjust general text font size */
  .text p {
    font-size: 1.2rem; /* Reduce size for better fit */
    text-align: center;
    margin-bottom: 20px;
  }

}


