/*Адаптивность*/

@media (min-width: 950px) {
    .main_site h1{
        margin-left: 3%;
    }
    .main_site p{
        margin-left: 3%;
    }
    .main_site a{
        margin-left: 3%;
    }


    #about_content{
        flex-wrap: nowrap;
    }
    #content_img{
        width: 55%;
        margin-right: 3%;
    }
    #content_text {
        width: 45%;
        max-width: 1080px;
    }


    #port{
        width: 45%;
    }
    #social_media{
        width: 45%;
    }
    #social_media img{
        width: 35px;
    }


    #list{
        width: 60%;
        flex-wrap: nowrap;
    }



    #list_bottom a:nth-last-child(-n+2){
        margin-left: 100px;
    }
    #list_bottom a{
        font-size: 1.3em;
    }
}

@media (max-width: 949px) and (min-width: 525px){
    .main_site h1{
        margin-left: 2%;
    }
    .main_site p{
        margin-left: 2%;
    }
    .main_site a{
        margin-left: 2%;
    }


    #about_content{
        flex-wrap: wrap;
    }
    #content_img{
        width: 70%;
    }
    #content_text {
        width: 70%;
        margin-top: 20px;
    }


    #port{
        width: 45%;
    }
    #social_media{
        width: 45%;
    }
    #social_media img{
        width: 35px;
    }



    #list_bottom a:nth-last-child(-n+2){
        margin-left: 50px;
    }
    #list_bottom a{
        font-size: 1.2em;
    }
}

@media (max-width: 524px){
    .main_site h1{
        margin-left: 1px;
    }
    .main_site p{
        margin-left: 1px;
    }
    .main_site a{
        margin-left: 1px;
    }


    #about_content{
        flex-wrap: wrap;
    }
    #content_img{
        width: 90%;
    }
    #content_text {
        width: 90%;
        margin-top: 10px;
    }


    #port{
        width: 90%;
    }
    #social_media{
        width: 90%;
    }
    #social_media img{
        width: 40px;
    }



    #list_bottom a:nth-last-child(-n+2){
        margin-left: 15px;
    }
    #list_bottom a{
        font-size: 1.0em;
    }




    #phone{
        margin-top: 80px;
    }
}












.main_site{
    text-align: left;

    background: linear-gradient(to right, rgba(0, 0, 0, 0.574), rgba(0, 0, 0, 0.064)), url("https://i.imgur.com/F2ZsvbU.jpeg") no-repeat center;
    /*background-color: #96a3a3;*/
    background-size: cover;
    background-position: center;

    padding: 20px;


    display: flex;          /* Делаем flex-контейнер */
    flex-direction: column; /* Размещаем элементы вертикально */
    justify-content: center; /* Центрируем по вертикали */
    /*align-items: center;    /* Центрируем по горизонтали */
    
    min-height: 600px; /* Делаем секцию минимум на 50% высоты экрана */

    /*max-width: 100%*/

}
.main_site h1{
    color: rgb(0, 221, 255);

    margin-top: 0;

    font-size: 3.0em;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 600;
    max-width: 1080px;
}
.main_site p{
    color: white;

    font-size: 1.5em;
    /*margin: 13px 0 0 0;*/
    margin-top: 13px;

    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;
}





.main_site a:hover{
    color: rgb(0, 191, 220);
    border-color: rgb(0, 203, 234);

    font-size: 1.6em;
    width: 79px;

    margin-top: 40px;
}
.main_site a{
    color: rgb(0, 221, 255);

    font-size: 1.5em;
    /*margin: 10px 0 0 0;*/
    margin-top: 10px;

    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;

    width: 76px;
    float: right;

    border: 4px solid rgb(0, 221, 255);
    border-radius: 20px;
    padding: 7px 12px;

    margin-top: 30px;
}






#kol {
    border-bottom: 4px solid #028D9D;
    width: 50%;

    margin: 0 auto;
    margin-top: 40px;

    max-width: 1080px;
}






#about_content {
    /*padding-top: 20px;

    margin-top: 20px;
    width: 80%;

    margin: 0 auto;

    overflow: hidden;*/
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 100vh;
    background-color: rgb(249, 254, 255);

    margin: 50px auto;

    max-width: 1080px;


}
#content_img {
    float: left;
    border: 2px solid #00cbea;
    border-radius: 3px;

}
/*#content_text {
    width: 55%;
}*/
#content_text h1{
    font-size: 1.5em;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 600;
}
#content_text p{
    font-size: 1.3em;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 450;
    margin-top: 20px;
}







#port{
    /*padding-top: 20px;

    margin-top: 20px;
    width: 80%;

    margin: 0 auto;

    overflow: hidden;*/

    overflow: hidden;

    /*width: 45%;*/
    
    margin: 0 auto;
    margin-top: 80px;

    max-width: 1000px;
}

#pc{
    float: left;

}
#phone{
    float: right;
}

#pc h1,#phone h1{
    font-size: 1.8em;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 600;

    color: #454545;
}
#pc p,#phone p{
    font-size: 1.5em;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 450;
    margin-top: 20px;

    color: #00262a;
}



#social_media {
    overflow: hidden;

    /*width: 45%;*/
    
    margin: 0 auto;
    margin-top: 70px;

    max-width: 1000px;


    display: flex;
    justify-content: center;
    align-items: center;

    background-color: rgb(250, 254, 255);

}
#social_media img:hover{
    width: 47px;

}
#social_media img{
    /*width: 35px;*/
    margin: 0 40px;
}
/*(#kol2 {
    border-bottom: 4px solid #028D9D;
    width: 100px;

    margin: 0 auto;


}*/




#list {
    margin: 0 auto;
    max-width: 1000px;
    margin-top: 60px;

    display: flex;
    justify-content: center;


    flex-direction: column;
    align-items: center;
}

#list_h{
    font-size: 1.7em;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 800;

    color: #4f4f4f;
}
#list_bottom{

    margin-top: 10px;
}





#list_bottom a{
    /*font-size: 1.3em;*/
    font-family: "Roboto Flex", sans-serif;
    font-weight: 700;

    color: #6d6d6d;
}
#list_bottom a:hover{

    font-size: 1.4em;
}
/*#list_bottom a:nth-last-child(-n+2){
    margin-left: 100px;
}*/


#kol2 {
    border-bottom: 3px solid #b3e2e7;
    width: 50%;

    margin: 0 auto;
    margin-top: 50px;

}