@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-image: url('/assets/static/bg1.png');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}
.content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}
.social-icons {
  margin: 20px 0;
}
.social-icons a {
  text-decoration: none;
  color: white;
  margin: 0 11px;
  font-size: 1.3em;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.social-icons img {
  width: 46px;
  height: 46px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.social-icons a:hover img {
  opacity: 0.4;
}
.contact-box {
  border: 2px solid #b38aff;
  padding: 15px;
  width: 230px;
  cursor: pointer;
  display: inline-block;
  margin-top: 9px;
  font-size: 1.1em;
}
.contact-form {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-top: 15px;
  padding: 20px;
  border: 1px solid #b38aff;
  background-color: rgba(0, 0, 0, 0);
  color: white;
  backdrop-filter: blur(0.3px) brightness(0.6);
  width: 100%;
  max-width: 400px;
  min-height: 200px;
}
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid rgba(0, 0, 0, 0.4);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  resize: vertical;
}
input:focus,
textarea:focus {
  border: 1px solid white;
  outline: none;
}
.file-upload {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  color: white;
  font-size: 1em;
  background: none;
  border: none;
  padding: 0;
  margin-top: 5px;
  margin-left: 4px;
}
.file-upload label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.file-upload i {
  font-size: 1.4em;
}
.file-upload input[type="file"] {
  display: none;
}
.file-upload img {
  width: 40px;
  height: 40px;
  margin-left: 4px;
  vertical-align: middle;
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}
.remove-file {
  display: none;
  margin-left: 8px;
  color: #ff6666;
  cursor: pointer;
  font-size: 1em;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.remove-file img {
  width: 80px;
  height: 80px;
  margin-left: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}
.remove-file:hover,
.file-upload img:hover,
.remove-file img:hover {
  opacity: 0.7;
  transform: scale(1.2);
}
#file-info {
  display: flex;
  align-items: center;
  margin-top: 8px;
}
.file-name {
  color: white;
  font-size: 1em;
  word-break: break-word;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
button {
  padding: 12px 22px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  margin-top: 22px;
  font-size: 0.9em;
}
button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}
.brand-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  padding-left: 3rem;
  margin-top: 1.5rem;
}
.home-link {
  font-size: 2.5rem;
  font-weight: 200;
  color: #a0a0a0;
  font-family: 'Raleway', sans-serif;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}
.home-link::after {
  content: "   -   /root ツ";
  opacity: 0;
  margin-left: 8px;
  transition: opacity 0.3s ease;
  font-size: 1rem;
  color: #888;
  white-space: nowrap;
}
.home-link:hover::after {
  opacity: 1;
}
.home-link:hover,
.home-link:focus,
.home-link:active {
  color: #ffffff;
  transform: translateY(-2px);
}
.back-button {
  font-size: 1.6rem;
  color: #a0a0a0;
  font-family: 'Raleway', sans-serif;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  padding-bottom: 0rem;
}
.back-button:hover,
.back-button:focus,
.back-button:active {
  color: #ffffff;
  transform: translateY(-2px);
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (max-width: 800px) {
       body {
         display: flex;
         flex-direction: column;
         justify-content: center;
         align-items: center;
         text-align: center;
         margin: 0;
         padding: 0;
         min-height: 100vh;
         background-size: cover;
         margin-left: 3px;
         transform: scale(0.90) translateY(0px);
         transform-origin: top center;
       }
 .brand-column {
    display: none;
}
  .back-button {
    display: none;
  }
}
