/*
Theme Name: дочерняя тема Бонина
Template: neve

Не обязательные параметры:
Theme URI: http://example.com/
Description: Дочерняя тема для темы twentytwentyone
Author: 
Author URI: http://example.com/about/
Version: 1.0
*/

/* Свои дополнительные стили */
.title{
    color:black;
}
*{
    margin:0px;
    padding: 0px;
    box-sizing: border-box;
}
body{
    background-color: #f2f2f2;
    height: 100vh;
    width: 100%;
}
.heading{
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 20px auto;
    z-index: -1;
}
.heading h1{
    font-size: 50px;
    color: #000;
    margin-bottom: 25px;
    position: relative;
}
.heading h1::after{
    content:"";
    position: absolute;
    width: 100%;
    height: 4px;
    display:block;
    margin: 0 auto;
    background-color: #E09DAA;
}
.heading p{
    font-size: 18px;
    color: #666;
    margin-bottom: 35px;
}
.container{
    width:90%;
    margin: 0 auto;
    padding: 10px 20px;
}
.about{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.about-image{
    flex:1;
    margin-right: 40px;
    overflow: hidden;
}
.about-image img{
    max-width: 100%;
    height: auto;
    display: block;
    transition: 0.5s ease;
}
.about-image:hover img{
    transform: scale(1.2);
}
.about-content{
    flex:1;
}
.link{
    color:blue;
}
.about-content h2{
    font-size: 23px;
    margin-bottom: 15px;
    color: #333;
}
.about-content p{
    font-size: 18px;
    line-height: 1.5;
    color: #666;
}
@media screen and (max-width: 768px){
    .heading{
        padding: 0 px 20 px;
    }
    .heading h1{
        font-size: 36px;
    }
    .heading p{
        font-size: 17px;
        margin-bottom: 0px;
    }
    .about{
        padding: 20px;
        flex-direction: column;
    }
    .container{
        padding: 0px;
    }
    .about-image{
        margin-right: 0px;
        margin-bottom: 20px;
    }
    .about-content p{
        padding: 0px;
        font-size: 16px;
    }
}

footer{
    background-color: #111;
}
.footerContainer{
    width: 100%;
    padding: 70px 30px 20px;
}
.socialIcons{
    display: flex;
    justify-content: center;
}
.socialIcons a{
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin: 10px;
    border-radius: 50%;
}
.socialIcons a i{
    font-size: 2em;
    color: black;
    opacity: 0.9;
}
.socialIcons a:hover{
    background-color: #111;
    transition: 0.2s;
}
.socialIcons a:hover i{
    color: white;
    transition: 0.2s;
}
.footerNav{
    margin: 30px 0;
}
.footerNav ul{
    display: flex;
    justify-content: center;
    list-style-type: none;
}
.footerNav ul li a{
    color: white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.2s;
}
.footerNav ul li a:hover{
    opacity: 1;
}
@media (max-width: 700px){
    .footerNav ul{
        flex-direction: column;
    }
    .footerNav ul li{
        width: 100%;
        text-align: center;
        margin: 10px;
    }
}
.header {
    background-color: #111;
    color: white;
    padding: 20px;
    text-align: center;
}

.nav-item {
    display: inline-block;
    margin: 0 20px;
    font-size: 25px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #E09DAA;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    font-size: 20px;
}
.dropdown-content a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: black;
}
.dropdown:hover .dropdown-content {
    display: block;
}
header a{
    color: white;
}

  

.nap{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f1f1;
}
.about-section{

    background-size: 55%;
    background-color: grey;
    overflow: hidden;
    padding: 100px 0;
}
.inner-container{
    width: 55%;
    float: right;
    background-color: lightgray;
    padding: 150px;
}
.inner-container h1{
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 900;
}
.text{
    font-size: 13px;
    color: #545454;
    line-height: 30px;
    text-align: justify;
    margin-bottom: 40px;
}
@media screen and (max-width:1200px){
    .inner-container{
        padding: 80px;
    }
}
@media screen and (max-width:1000px){
    .inner-container{
        width: 100%;
    }
    .about-section{
        background-size: 100%;
        padding: 100px 40px;
    }
}
@media screen and (max-width:1000px){
    .inner-container{
        width: 100%;
    }
    .about-section{
        padding: 0;
    }
}
.cardhover{
    display: flex;
    justify-content: center;
    height: 80vh;
    background: #f2f2f2;
    align-items: center;
}
.cont{
    display: flex;
}
.card{
    height: 450px;
    margin: 50px;
    box-shadow: 5px 5px 20px grey;
    overflow: hidden;
}
.hov{
    height: 500px;
    width: 350px;
}
.intro{
    height: 70px;
    width: 350px;
    padding: 6px;
    box-sizing: border-box;
    position: absolute;
    background: rgb(27,27,27,.5);
    color: white;
    bottom: 0px;
}
.bcd{
    margin: 10px;
    font-size: 40px;
}
.abc{
    font-size: 20px;
    margin: 20px;
    visibility: hidden;
    opacity: 0;
}
.sp{
    font-weight: bold;
}
.card:hover{
    cursor: pointer;
}
.card:hover .intro{
    height: 220px;
    bottom: 0px;
    background: rgba(224, 157, 170, 0.7);
    color: #000;
}
.card:hover p{
    opacity: 1;
    visibility: visible;
}