*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: black;
  background-image: url(/uploads/Studio50.jpg);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 50% 100%;
  min-height: 100vh;
  display: flex;
  margin: 0;
  padding: 0;
}


.header {
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgba(255, 0, 0, 0.4);
  box-shadow: 0 8px 16px -6px rgba(255, 0, 0, 0.3);
  background-color: black;
  z-index: 100;
}

img {
  height: 60px;
  margin-left: 20px;
  width: 100px;
  object-fit: cover;
}

.left-section {
  display: flex;
  align-items: center;
}

.right-section {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  color: red;
  margin-right: 60px;
  gap: 40px;
}

.right-section p {
  margin: 0;
  border-radius: 12px;
  transition: color 0.3s ease;
}

.right-section p:hover {
  padding: 4px 8px;
  background-color: rgba(255, 0, 0, 0.2);
}

.right-section a {
  text-decoration: none;
  color: red;
  transition: color 0.3s ease;
  font-family: Arial, sans-serif;
}

.right-section a:hover {
  color: white;
}

h1 {
  font-family: Arial, sans-serif;
  font-size: 44px;
  background-color: rgb(215, 1, 1);
  color: white;
  padding: 12px 16px;
  border-radius: 10px 10px 0 0;
  margin-top: 0;
}

.container {
  width: 46%;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(215, 1, 1, 0.5);
  border-radius: 10px;
  margin-top: 30px;
  margin-left: 30px;
  padding-bottom: 20px;
  align-self: center;
  background-color: #0b0b0b;
  box-shadow: 0 0 25px rgba(215, 1, 1, 0.4);
}

form {
  padding: 0 24px 0 24px;
}

button {
  font-family: Arial, sans-serif;
  font-size: 16px;
  background-color: red;
  color: white;
  padding: 12px 22px;
  border-bottom: 1px solid white;
  border-left: 1px solid transparent;
  border-right: none;
  border-top: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

button:hover {
  color: white;
  border-bottom: 2px solid white;
  border-left: 1px solid white;
  transform: translateY(-4px);
}

input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus {
  border-color: red;
}

label {
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: white;
  display: inline-block;
  margin-top: 15px;
  margin-bottom: 6px;
}

form p {
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: white;
  margin-top: 15px;
  margin-bottom: 0;
}

.success-message:empty,
.error-message:empty {
  display: none;
}

.success-message:not(:empty),
.error-message:not(:empty) {
  display: block;
}

.success-message {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: rgb(0, 255, 0);
  background-color: rgba(0, 255, 0, 0.1);
  padding: 10px;
  border-radius: 4px;
  margin: 10px 24px 0 24px;
  text-align: center;
}

.error-message {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: rgb(255, 51, 51);
  background-color: rgba(255, 0, 0, 0.1);
  padding: 10px;
  border-radius: 4px;
  margin: 10px 24px 0 24px;
  text-align: center;
}

@media (max-width: 768px) {
  body {
    flex-direction: column;
    background-image: none;
    align-items: center;
    padding: 20px;
  }

  .right-section {
    margin-right: 20px;
    gap: 15px;
  }

  .container {
    width: 100%;
    margin-left: 0;
    margin-top: 85px;
  }

  h1 {
    font-size: 28px;
    padding: 16px;
  }
}