body{
    background-color: rgb(77, 77, 77);
}

.backgroundcolor{
    background-color: rgba(253, 197, 244, 0.2);
}
.backgroundcolor2{
    background-color: rgba(127, 53, 255, 0.2);
}

h1{
    text-align: center;
    font-family: DIN Next CYR Regular;
     font-size: 40px;
    color: rgb(255, 255, 255);
}

p{
    text-align: center;
    font-family: DIN Next CYR Regular;
     font-size: 20px;
    color: rgb(255, 255, 255);
}

form{
    width: 500px;
    margin: auto;
    font-family: DIN Next CYR Regular;
    color: white;
}

fieldset{
    border-radius: 15px;
    width: 150px;
}

label{
    display: inline-block;
    width: 150;
}
em{
    color: red;
}
.main-menu {
    background-color: rgba(253, 197, 244, 0.2);
    font-family: Despair Display, bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
}

.main-menu ul {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.main-menu li{
     position: relative;
    display: inline-block;
}

.main-menu a {
    text-decoration: none;
    display: inline-block;
    font-size: 50px;
    color: #7f35ff;
    -webkit-text-stroke: 2px rgb(255, 255, 255);  
}

.main-menu a:hover {
    background-image: linear-gradient(rgba(77, 77, 77, 0.1), rgba(0,0,0,0.1));
}

.dropdown-content {
    display: none;
    position: absolute;
    text-align: left;
    
}

.dropdown-content a {
    padding: 12px 16px;
    display: block;
    font-size: 30px;
    background: rgba(77, 77, 77, 0.95);
    -webkit-text-stroke: 1px rgb(255, 255, 255); 
}

.dropdown-content a:hover {
    font-size: 35px;  
}

.dropdown:hover .dropdown-content {
    display: block;
}

@media (max-width: 1000px) {
  form {
    width: 90%; 
    max-width: 500px;
  }

  fieldset {
    width: auto; 
    max-width: 150px; 
  }

  label {
    width: 100%; 
    display: block; 
    margin-bottom: 5px; 
  }
  h1{
    font-size: 30px;
  }

  p{
    font-size: 16px;
  }

    .main-menu ul {
        flex-direction: column;
    }

    .main-menu li {
        display: block;
        text-align: center;
    }

    .main-menu a {
        display: block;
    }

    .dropdown-content {
        position: static;
        display: none;
        background: rgba(77, 77, 77, 0.95);
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }
    

}