@charset "UTF-8";
/* Reset */
* {
  margin: 0;
  padding: 0;
}

body, html {
  font-family: Arial, sans-serif;
  overflow-x: hidden; /* Prevent horizontal scroll due to sliding sidebar */
}

/* Layer-1: Full-page background image */
.layer-1 {
  position: fixed;
  top: 60%;
  left: 70px;
  width: 90vw;
  height: 50vh;
  background-image: url('../images/scocci-logo-sidebar-wh.png');
  background-size: cover;
  background-position: center;
  opacity: 2%;
  z-index: 1; /* Behind other layers */
}

/* Layer-2: Sidebar sliding in from the left */
.layer-2 {
  position: fixed;
  top: 0;
  left: -200px; /* Initially hidden */
  width: 200px;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.9); /* Slight transparency for layered effect */
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3); /* Right-edge shadow */
  border-right: 1px solid black;
  z-index: 2; /* Above layer-1 */
  transition: left 1.5s cubic-bezier(0.1, 0.8, 0.1, 1)!important; /* Smooth slide-in */
}

.layer-2 .sidebar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 20px;
}

.layer-2 .logo {
  width: 200px; /* Centered and sized */
}

/* Logo: Responsive and centered within sidebar */
.logo {
  margin-top: 600%;
  max-width: 150%; /* Resize proportionally within the sidebar width */
  height: auto; /* Maintain aspect ratio */
  transform: rotate(-90deg); /* Rotate to vertical */
}

/* Main content area styling */
.content {
  max-width: 100%;
  padding: 80px 20px 20px;
  margin-left: 200px; /* leave space for sidebar */
  z-index: 3;
}

/* Header with title and menu */
.header {
  display: flex;
  align-items: center;
  gap: 200px; /* Space between title and menu */
  margin-top: 20px;
}

.title {
  margin-top: 20;
  text-align: left;
}

/* Menu styling */
/* Removed empty ruleset for .menu */

.menu ul {
  display: flex;
  list-style: none;
}

.menu-item {
  margin-right: 20px;
}

.login-box {
  display: inline-block;
  padding: 5px 10px;
  background-color: black;
  border-radius: 4px;
}

.login-box a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.login-box a:hover {
  text-decoration: underline;
}

.headline {
  font-size: 1.5rem;
  color: black;
  margin-bottom: 10px;
}

.content-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* from style.css ++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.content {
  text-align: center; /* Center-align content */
  padding-top: 0px;
}

/* Text area with defined width and spacing */
.text-area {
  width: 400px; /* Set fixed width */
  margin: 0px auto 0; /* Center align with margin auto */
  margin-left: -270px;
  text-align: left; /* Left-align text within the area */
}

/* Headline and paragraph styling */
.headline {
  font-size: 1.5rem;
  font-weight: 100;
  color: #888888;
  margin-bottom: 15px; /* Space below the headline */
  margin-left: -270px!important;
}

.content-text {
  font-size: 0.8rem;
  color: #333;
  line-height: 1.6;
}

/* Sidebar (Layer-2): Adjusted positioning to slide in 150px from the left */
.layer-2 {
  position: fixed;
  top: 0;
  left: -150px; /* Start 150px off-screen to the left */
  width: 100px; /* Reduced width */
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
  border-right: 1px solid black;
  z-index: 2;
  transition: left 1s cubic-bezier(0.1, 0.2, 0.2, 1); /* Smooth slide-in */
}

/* Sidebar when active: set to 0 to align with the edge */
.layer-2.active {
  left: 0; /* Position at the edge of the page */
}

/* Sidebar Content: Flexbox for dynamic vertical centering */
.sidebar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center content vertically */
  height: 100%; /* Full height of sidebar */
}
/* Contact Form */
body {
  font-family: sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0rem;
}

.contact-container {
  max-width: 500px;
  margin: auto;
  background: white;
  padding: 0rem;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

form {
  flex-direction: column;
  gap: 0rem;
}

input, textarea, button {
  padding: 0rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
}

button {
  background: black;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #333;
}

.form-status {
  margin-top: 2rem;
  color: green;
}

/* Loader wrapper */
.loader-wrapper {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
  color: black;
}

.loader-spinner {
  width: 16px;
  height: 16px;
  border: 3px solid rgba(0, 0, 0, 0.2);
  border-top: 3px solid black;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media screen and (max-width: 768px) {
  form {
    max-width: 400px;
    margin-top: 0px;
}  
}