@font-face {
    font-family: 'BreeSerif';
    src: url('fontes/BreeSerif-Regular.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   
}

body {
    background-image: url('imgsEcomerce/SITE EcoLuxo (1).png'); 
    background-size: cover;    
    background-position: center;  
    background-repeat: no-repeat; 
    min-height: 100vh;            
}
.menu-secundario {
    width: 100%;
    background-color: #f9f9f9;
    color: #2e7d32;
    text-align: center;
    padding: 15px 0;
    font-family: 'Poppins', sans-serif;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  .menu-secundario p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
  }
  
  .menu-secundario p a {
    color: #2e7d32;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s;
  }
  
  .menu-secundario p a:hover {
    color: #145214;
  }
  
.logo{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}


.login-container {
    position:relative;
    width:850px;
    height: 550px;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
    overflow: hidden;
}
.login-container a{
    font-size: 14.5px;
    margin:15px 0;
}

.login-box {
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background: #fffffff8;
    display: flex;
    align-items: center;
    color:#333;
    text-align: center;
    padding: 40px;
    z-index: 1;
}
form {
    width: 100%;
}

.login-container h1
{
font-size: 36px;
margin: -10px 0;
color: #214e18;
}

.input-box{
    position: relative;
    margin: 30px 0;
}
.input-box i{
    position:absolute;
    right:20px;
    top:50%;
    transform: translateY(-50%);
}
.input-box input{
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #eee;
    border-radius: 8px;
    border: none;
    outline: none;
    font-size: 16px;
    color:#333;
   
}
.input-box input::placeholder
{
    color:#888;
    font-weight: 400;
}
.senha-link{
    margin: -15px 0 15px;
}
.senha-link a{
    font-size: 14.5px;
    color:#a8a5a5;
    text-decoration: none;
}
.btn-login{
    width: 100%;
    height: 48px;
    background-color:rgb(79, 121, 81);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    border: none;
    cursor:pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}

.toggle-box{
position: absolute;
width: 100%;
height: 100%;
}
.toggle-box::before{
    content: '';
    position: absolute;
    left: -250%;
    width: 300%;
    height: 100%;
    background:#2e7d32;
    border-radius: 150px ;
    z-index:2;
    transition: 1.8s ease-in-out;
}
.toggle-box h1{
    color: #ffffff;
}
.toggle-box p{
    color: #d6d3d3;
}

.toggle-panel{
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    color: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index:2;
}
.toggle-panel p{
    margin-bottom: 20px;
}
.toggle-panel .btn{
    width: 160px;
    height: 46px;
    background: transparent;
    border: 2px solid #fff;
    box-shadow: none;
}
.toggle-box .registre-btn{
    color: #4cd374;
}@media (max-width: 768px) {

    .login-container {
      width: 95%;
      height: auto;
      min-height: 500px;
      border-radius: 20px;
      flex-direction: column;
      padding: 20px 10px;
    }

    .login-box {
      position: relative;
      width: 100%;
      height: auto;
      padding: 30px 20px;
      text-align: center;
      border-radius: 20px;
    }

    .login-container h1 {
      font-size: 28px;
    }

    .input-box {
      margin: 20px 0;
    }

    .input-box input {
      padding: 12px 15px;
      font-size: 15px;
    }

    .senha-link a {
      font-size: 13px;
    }

    .btn-login {
      height: 45px;
      font-size: 15px;
    }

    .toggle-box {
      position: relative;
      width: 100%;
      height: auto;
      padding: 20px 0;
      background: #2e7d32;
      border-radius: 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      z-index: 2;
    }

    .toggle-box h1 {
      font-size: 24px;
      color: #fff;
      margin-bottom: 10px;
    }

    .toggle-box p {
      color: #d6d3d3;
      margin-bottom: 15px;
    }
    .toggle-panel h1,
    .toggle-panel p {
        display: none; /* Esconde apenas o h1 e p */
    }
    .toggle-panel {
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 10px;
    }

    .toggle-panel .btn,
    .toggle-panel .registre-btn {
      width: 160px;
      height: 46px;
      font-size: 15px;
      text-decoration: none;
      color: #4cd374;
      border: 2px solid #fff;
      display: inline-flex;
      justify-content: center;
      align-items: center;
      border-radius: 8px;
      background: transparent;
      cursor: pointer;
    }

    .logo {
      justify-content: center;
      padding: 15px 0;
    }

    .menu-secundario p {
      font-size: 0.9rem;
    }

    .menu-secundario p a {
      font-size: 0.9rem;
    }
}
