body {

    margin: 0;
    padding: 0;
}

body ::before {
    content: "";
    position: fixed;
    background-attachment: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(255, 255, 255, 0.3)),
        url("photo/background_mainpage.jpg");
    background-size: cover;
    z-index: -1;
}

h1 {
    font-family: Despair Display, bold;
    text-align: center;
    font-size: 60px;
    color: #74003e;
    -webkit-text-stroke: 2px rgb(255, 255, 255);
}

.scroll-container {
    margin: auto;
    padding: 10px;
    width: 70%;
    border-radius: 10px;
    text-align: justify;
    background-color: rgba(77, 77, 77, 0.8);
}

p {
    font-family: DIN Next CYR Regular;
    margin: auto;
    color: whitesmoke;
    font-size: 25px;
    padding: 5px;

}

.contact {
    font-family: DIN Next CYR Regular;
    margin: auto;
    color: whitesmoke;
    font-size: 25px;
    padding: 5px;

}

.main-menu {
    background-color: rgba(77, 77, 77, 0.5);
    font-family: Despair Display, bold;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

.fora {
    text-decoration: none;
    background-color: rgba(77, 77, 77, 0.5);
    color: #74003e;
    -webkit-text-stroke: 2px rgb(255, 255, 255);
}

.booton {

    font-family: Despair Display, bold;
    font-size: 50px;
    border-radius: 10px;
    text-align: center;
}

.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;
}

.imgalign {
    text-align: center;
    border-radius: 10px;
}

footer {
    padding: 3% 0% 2%;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(52, 50, 50, 0.5));
}

@media (max-width: 800px) {

    .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;
    }

    .imgalign img {
        max-width: 70%;
    }

}