* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: bold;
}

.logo {
  color: darkgreen;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  cursor: context-menu;
}

span {
  color: orangered;
}

img {
  width: 700px;
  height: 700px;
}

.container-main {
  margin: auto;
  height: auto;
}

h1 {
  text-align: center;
  padding-top: 20px;
  margin-right: 50px;
}

form {
  width: 300px;
  margin-left: 100px;
  margin-bottom: 50px;
  align-items: center;
}

form label {
  display: flex;
  margin-top: 5px;
  font-size: 18px;
}

form input {
  width: 424px;
  padding: 7px;
  border: none;
  border: 1px solid grey;
  border-radius: 15px;
  outline: none;
  background-color: transparent;
  color: black !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn {
  width: 424px;
  border-radius: 15px;
}

.logInbox a {
  text-decoration: none;
  color: darkgreen;
}

p {
  text-align: center;
  font-size: 15px;
  color: black;
  margin-top: 5px;
  font-weight: bold;
  margin-left: 60px;
}

form input::placeholder {
  color: gray;
  opacity: 1;
}

form input:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

@media (max-width: 767px) {
  body {
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    background-color: #181a1b;
    overflow: hidden; /* Prevent horizontal overflow */
  }

  .logo {
    color: darkgreen;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    cursor: context-menu;
  }

  span {
    color: orangered;
  }

  img {
    max-width: 100%; /* Make the image responsive */
    height: auto; /* Maintain aspect ratio */
  }

  .container-main {
    margin: auto;
    height: 100vh; /* Set container height to viewport height */
    overflow-y: auto; /* Enable vertical scrolling */
  }

  h1 {
    text-align: center;
    padding-top: 40px;
    margin-right: 50px;
    margin-bottom: -20px;
  }

  form {
    max-width: 100%; /* Make the form responsive */
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  form label {
    margin-top: 10px;
    font-size: 18px;
    color: white; /* Added to make form labels white */
  }

  form input {
    width: 100%; /* Adjust width as needed */
    padding: 7px;
    border: none;
    border: 1px solid grey;
    border-radius: 15px;
    outline: none;
    color: white !important; /* Text color for responsive mode */
  }

  .btn {
    width: 80%; /* Adjust width as needed */
    border-radius: 15px;
  }

  .btn a {
    color: white;
  }

  .logInbox a {
    text-decoration: none;
    color: darkgreen;
  }

  p {
    text-align: center;
    font-size: 15px;

    color: white;

    margin-top: 10px;
    font-weight: bold;
  }

  form input::placeholder {
    color: gray;
  }
}

@media (min-width: 2560px) {
  .container-main { /* Assuming this is the parent container of the image */
    overflow: hidden; /* Removes overflow from the container */
  }

  img {
    width: 100%;
    height: 100vh; /* Full viewport height */
    object-fit: cover; /* Ensures the image covers the entire space */
  }
}

@media (min-width: 1366px) and (max-width: 1366px) {
  body, html {
    overflow: hidden !important; /* Force removal of overflow */
  }

  .container-main { /* Parent container of the image */
    overflow: hidden; /* Removes overflow from the container */
  }

  img {
    width: 100%;
    height: 100vh; /* Full viewport height */
    object-fit: cover; /* Ensures the image covers the entire space */
  }
}
