#container {
    text-align: center;
    margin: auto;
    height: 500px;
    width: 1000px;
    margin: 0 auto;
    background-color: rgb(255, 255, 255);
    position: relative;
    border-radius: 20px;
    box-shadow: 10px 10px 25px 15px rgba(0, 0, 0, 0.3);
    margin-top: 2%;
}

#autentificare, #inregistrare {
    width: 50%;
    position: absolute;
    top: 20%;
}

#autentificare, #autentificareperdea {
    left: 0;
}

#inregistrare, #inregistrareperdea {
    right: 0;
}

#container a {
    font-size: 0.8em;
}

#container input {
    background-color: #E0D7C6;
    width: 240px;
    border-radius: 20px;
    padding: 5px;
}

#perdea {
    width: 50%;
    height: 100%;
    right: 0;
    background-color: #bc5810;
    position: absolute;
    border-top-left-radius: 20%;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20%;
    border-bottom-right-radius: 20px;
    transition: 1s ease-in-out;
}

#autentificareperdea, #inregistrareperdea {
    width: 45%;
    position: absolute;
    top: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.8s ease-in-out;
    color: white;
}

#autentificareperdea {
    opacity: 0;
    z-index: -5;
}

#inregistrareperdea {
    opacity: 1;
    z-index: 5;
}

#butoninregistrare,#butonautentificare {
    font-size: 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    padding: 15px 20px;
    color: white;
    background-color: #d59b0a;
    font-family: 'Times New Roman', Times, serif;
}

#butonaut,#butoninreg{
    height: 40px;
    width: 40px;
    cursor: pointer;
    border-style: none;
    border-radius: 10px;
}

#container input{
    height: 25px;
    width: 300px;
    margin-bottom: 10px;
    background-color: #EFEFEF;
    border-style: none;
    font-family: 'Times New Roman', Times, serif;
}

body {
    background-color: #62b8ff;
    margin: 0;
    overflow-x: hidden;
}

#pamant{
    height: 680px;
    width: 100%;
    background:linear-gradient(to top, #4E342E 87%, #62b8ff 10%);
    margin-top:11%;
    z-index: 1;
}

#iarba{
    height: 5px;
    width: 100%;
    background-color: #7CFC00;
    margin-top: -0.2%;
}


#cos-gunoi {
    height: 90px;
    width: 50px;
    margin: 0 auto;
    background: linear-gradient(to top,grey 70% ,#62b8ff 50%);
    margin-top: 0%;
    border-radius: 20%;
}

.mingi {
    background: transparent;
    box-shadow:
        -10px 10px 0 #4a4a4a,
         10px 10px 0 #4a4a4a,
         0px 5px 0 #4A4A4A;
    width: 20px;
    height: 20px;
    background-color: #4a4a4a;
    border-radius: 50%;
    margin-top: 0%;
    margin-left: 30%;
}

#capac {
    width: 50px;
    height: 10px;
    background-color: rgb(197, 197, 197);
    border-radius: 5px 5px 0 0;
    margin-top: 1.5%;
}

#cos-gunoi i{
    margin-left:25%;
    margin-top: 15%;
    color: white;
}

.cloud {
    position: absolute;
    top: 20%;
    left: 30%;
    width: 30px; 
    height: 30px;  
    background-color: #b0bec5; 
    border-radius: 50%;  
    opacity: 0.8;   
    box-shadow: 
      20px 0px 0 0 #b0bec5,
      19px 0px 0 0 #b0bec5,
      18px 0px 0 0 #b0bec5,
      17px 0px 0 0 #b0bec5,
      16px 0px 0 0 #b0bec5,
      15px 0px 0 0 #b0bec5,
      14px 0px 0 0 #b0bec5,
      13px 0px 0 0 #b0bec5,
      12px 0px 0 0 #b0bec5,
      11px 0px 0 0 #b0bec5,
      10px 0px 0 0 #b0bec5,
      9px 0px 0 0 #b0bec5,
      8px 0px 0 0 #b0bec5,
      7px 0px 0 0 #b0bec5,
      6px 0px 0 0 #b0bec5,
      5px 0px 0 0 #b0bec5,
      4px 0px 0 0 #b0bec5,
      3px 0px 0 0 #b0bec5,
      2px 0px 0 0 #b0bec5,
      1px 0px 0 0 #b0bec5,
      -20px 0px 0 0 #b0bec5,
      -19px 0px 0 0 #b0bec5,
      -18px 0px 0 0 #b0bec5,
      -17px 0px 0 0 #b0bec5,
      -16px 0px 0 0 #b0bec5,
      -15px 0px 0 0 #b0bec5,
      -14px 0px 0 0 #b0bec5,
      -13px 0px 0 0 #b0bec5,
      -12px 0px 0 0 #b0bec5,
      -11px 0px 0 0 #b0bec5,
      -10px 0px 0 0 #b0bec5,
      -9px 0px 0 0 #b0bec5,
      -8px 0px 0 0 #b0bec5,
      -7px 0px 0 0 #b0bec5,
      -6px 0px 0 0 #b0bec5,
      -5px 0px 0 0 #b0bec5,
      -4px 0px 0 0 #b0bec5,
      -3px 0px 0 0 #b0bec5,
      -2px 0px 0 0 #b0bec5,
      -1px 0px 0 0 #b0bec5,
      0 -15px 0 0 #b0bec5;
}
  
.cloud1 {
    animation: moveCloud1 40s linear infinite;
    top: 15%; 
}
  
.cloud2 {
    animation: moveCloud2 60s linear infinite; 
    top: 11%; 
}

.cloud3 {
    animation: moveCloud3 50s linear infinite;
    top: 13%;
}


@keyframes moveCloud1 {
    0% { transform: translateX(101vw); }
    100% { transform: translateX(-900px); }
}
  
@keyframes moveCloud2 {
    0% { transform: translateX(110vw); }
    100% { transform: translateX(-900px); }
}

@keyframes moveCloud3 {
    0% { transform: translateX(-900px); }
    100% { transform: translateX(1200px); }
}

.nor{
    width: 210px;
    height: 65px;
    margin-top: -119%;
    background-color: #fff;
    border-radius: 70px;
    position: absolute;
    opacity: 0.7;
}

.nor::before,
.nor::after {
    content: "";
    position: absolute;
    background-color: #fff;
}

.nor::before {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    top: -50px;
    right: 37px;
}

.nor::after {
    width: 75px;
    height: 85px;
    border-radius: 80px;
    top: -60px;
    left: 37px;
    transform: rotate(-45deg);
}

#msg{
    height: 65px;
    width: 210px;
    display: flex;
    justify-content: center;  
    align-items: center;   
}
p{
    font-size: 1em;
    color: #bc5810;
    position: absolute;
    z-index: 1;
}

.ndreapta{
    animation: miscarenord 7s linear forwards;
}

.nstanga{
    animation: miscarenors 7s linear forwards;
}

@keyframes miscarenord {
    0% { transform: translateX(51vw); }
    100% { transform: translateX(-71vw); }
}

@keyframes miscarenors {
    0% { transform: translateX(-51vw); }
    100% { transform: translateX(101vw); }
}

#parola {
    background: linear-gradient(180deg, #e6bc52 0%, #bc5810 100%);
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease;
    display: inline-block;
    text-align: center;
    background-size: 200% 200%;
    font-family: 'Times New Roman', Times, serif;
    border-radius: 20px;
}

@keyframes gradient-flowup {
    0% {
        background-position: 50% 0%;
    }
    100% {
        background-position: 50% 100%;
    }
}

@keyframes gradient-flowdown {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 50% 0%;
    }
}

#parola:hover {
    transform: scalex(1.07);
    animation: gradient-flowup 1.5s ease-in-out forwards;
}

#parola:not(:hover){
    transform: scalex(1);
    animation: gradient-flowdown 1.5s ease-in-out forwards;
}
