body {
    background-image: url('./main_page_pics/background_pic.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    margin: 30px 20px;
    font-size: 16px;
}

::-webkit-scrollbar {
    display: none;
}

.use_other_device_screen{
    background-image: url('./main_page_pics/background_pic.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 12;
    margin: -30px -20px;
    
    display: none;
    justify-content: center;
    align-items: center;
}

h1 {
    font-family: "Spectral", serif;
    font-size: 2vw;
    font-weight: 500;
    font-style: normal;
    line-height: 100.7%;

    margin: 0;  
    padding: 5px 0px 5px 0px;
}

p {
    font-family: "Spectral", serif;
    font-size: 1vw;
    font-weight: 600;
    font-style: normal;
    line-height: 130.7%;

    margin: 0;  
    padding: 5px 0px 5px 0px;
}

.inner_text_links{
    color: white;
}


.header {
    position: fixed;
    display: flex;
    justify-content: center;
    flex-direction: column;
    z-index: 11;
}

.header_description {
    display: flex;
    align-items: flex-start;
    
    background-color: black;
    color: aliceblue;
    width: 95%;
    margin-bottom: 20px;
}

.text_in_block{
    font-family: "Spectral", serif;
    font-size: 1vw;
    font-weight: 600;
    font-style: normal;
    line-height: 130.7%;

    margin: 0;  
    padding: 5px 0px 5px 0px;

    background-color: black;
    color: aliceblue;
    width: 50%;
    margin-bottom: 20px;
}


.menu_links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    z-index: 10;
}


.menu_links a{
    font-family: "Spectral", serif;
    font-size: 1rem;
    font-weight: 600;
    font-style: normal;
    line-height: 100.7%;

    margin: 0;  
    padding: 2px 5% 2px 0px;

    background-color: black;
    color: aliceblue;
    text-decoration: none;

}

.menu_links a.active_menu_link{
    text-decoration: underline;
}

.menu_links a.unactive_link{
    color:rgba(255, 255, 255, 0.407);
}

.menu_links a.unactive_link:hover {
    text-decoration: none;
    cursor: default;
}


.menu_links a:hover {
    text-decoration: underline;
}

.to_main_page_icon_block {
    width: 100%;
    position: fixed;
    z-index: 10;

    display: flex;
    align-items: end;
    justify-content: center;
    bottom: 20px;

    mix-blend-mode: screen;
}

.to_main_page_icon_block img{
    width: 50px;
    height: 50px;
}

.prosess {
    padding-top: 13vw;
    z-index: 9;
}

.prosess_block {
    display: flex;
    align-items: flex-start;
    justify-content: left;
    position: relative;
    gap: 20px;

    padding-bottom: 50px;
}

.prosess_block_elements {
    display: flex;
    justify-content:left;
    align-items: flex-start;
    width: 70vw;

    gap: 20px;
    flex-wrap: wrap;
}

.prosess_block_elements img {
    width: 35%;
    height: auto;
    display: block;
}

.txt_question_block{
    display: flex;
    align-items: flex-start;

    background-color: black;
    color: aliceblue;
    width: 30vw;
    height: 200px; 
}


.issue_covers_block{
    padding-top: 13vw;
    z-index: 9;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    width: 80%;
}

.issue_covers_block a {
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

.issue_covers_block img {
    width: 300px;
}

.issue_covers_block a img {
    transition: box-shadow 0.3s ease-in-out;  
}

.issue_covers_block a:hover img {
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.711);
    transition: box-shadow 0.3s ease-in-out;
}

.experiment_block_elements {
    display: flex;
    justify-content: left;
    align-items: flex-start;
    width: 70vw;

    gap: 20px;
    flex-wrap: wrap;
}

.experiment_block_elements a {
    display: block;
    flex: 0 0 calc(35% - 10px);
}

.experiment_block_elements img {
    width: 100%;
    height: auto;
    display: block;
}

/* .experiment_block_elements img {
    width: 35%;
    height: auto;
    display: block;
} */

.experiment_block_elements a img {
    transition: box-shadow 0.3s ease-in-out;
}

.experiment_block_elements a:hover img {
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.711);
    transition: box-shadow 0.3s ease-in-out;
}

@media (max-width: 900px) {
    h1{
        font-size: 3vw;
    }

    p{
        font-size: 2vw;
    }

    .text_in_block{
        font-size: 2vw;
        width: 100%;
    }

    .txt_question_block{
        width: 60vw;
    }

    .prosess {
        padding-top: 35vw;
    }

    .issue_covers_block {
        padding-top: 35vw;
    }

    .prosess_block_elements img {
        width: 80%;
    }

    .experiment_block_elements a {
        display: block;
        flex: 0 0 calc(80% - 10px);
    }  

    .experiment_block_elements img {
        width: 80%;
    }

}

@media (max-width: 600px) {
    h1{
        font-size: 3vw;
    }

    p{
        font-size: 2vw;
    }

    .text_in_block{
        font-size: 2vw;
        width: 100%;
    }

    .txt_question_block{
        width: 60vw;
    }

    .prosess {
        padding-top: 45vw;
    }

    .issue_covers_block {
        padding-top: 45vw;
        flex-wrap: wrap;
    }

    .prosess_block_elements img {
        width: 80%;
    }

    .menu_links{
        flex-wrap: wrap;
    }
}

@media (max-width: 500px) {

    .use_other_device_screen{
        display: flex
    }
/*     
    p{
        font-size: 3vw;
    }

    .prosess {
        padding-top: 75vw;
    }

    .issue_covers_block {
        padding-top: 75vw;
    } */
}
