@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
body{
    margin: 0;
    padding: 0;
    background-color: #ffecec;
}
#map{
    height: 70vh;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}
.container{
    width: 100%;
}
.grach_description{
    width: 25%;
    background-color: rgba(248, 248, 248,0.8);
    z-index: 1;
    position: absolute;
    margin: 100px;
    border-radius: 15px;
}
.h{
    font-size: 48px;
    padding: 10px;
    margin-left: 10px;
    font-weight: 500;
}
.p{
    font-size: 22px;
    width: 360px;
    margin-left: 20px;
    color: rgb(50, 50, 50);
    font-weight: 500;
}
header{
    width: 200px;
    height: 41px;
    background-color: rgb(247, 247, 247);
    position: absolute;
    z-index: 2;
    margin-left: 50%;
    margin-top: 25px;
    border-radius: 100px;
    text-align: center;
    font-size: 30px;
    font-weight: 900;
}
.tabs__item:not(._active) {
    display: none;
}
.buttonn{
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
    background-color: #fff;
    font-size: 33px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    margin-top: 10px;
    border-radius: 10px;
    text-decoration: none;
    color: black;
    position: relative;
    width: 80%;
    margin-left : 10%;

}
.buttonn a{
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    margin: 0 10px; 
}
.buttonn a:hover{
    background-color: #f5f5f5;
}
.tabs__button{
    list-style: none;
    display: flex;
    padding-top: 10px;
    cursor: pointer;
    display: inline;
}
.txt{
    font-size: 31px;
    text-indent: 20px;
    padding-top: 30px;
    padding-left: 50px;
}
#history{
    width: 69%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff3f3;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 32px;
    line-height: 1.5;
    color: #313131;
    margin-left: 15%;
    margin-top: 10px;
    font-family: "Lora", serif;
    font-style: normal;
    margin-top: 5px;
}
.text_history{
    margin-top: 20px;
}
.years__card{
    width: 390px;
    background-color: #b1b1b1;
    font-size: 26px;
    border-radius: 20px;
    box-shadow: -2px -2px 7px -1px rgba(0,0,0,0.42) inset;
    -webkit-box-shadow: -2px -2px 7px -1px rgba(0,0,0,0.42) inset;
    -moz-box-shadow: -2px -2px 7px -1px rgba(0,0,0,0.42) inset;
    margin: 10px;
}
.dates{
    display: flex;
    justify-content: space-between;
    border-radius: 20px;
}
.years{
    display: flex;
    justify-content: space-between;
    width: 80%;
    flex-wrap: wrap-reverse;
    margin-left: 11%;
    margin-top: 20px;
}
.years__card_date{
    width: 100%;
    height: 50px;
    text-align: center;
    background-color: #8c8c8c;
    border-radius: 20px 20px 20px 20px;
    border-bottom: 2px solid rgb(163, 1, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffecec;
    font-family: "Roboto", sans-serif;
    font-weight: 800;
    font-size: 30px;
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.71);
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.71);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.71);
}
.years__card_text{
    font-family: "Lora", serif;
    font-style: normal;
    font-weight: 400;
    font-size: 25px;
    margin: 10px;
}
.tabs__button._active {
    color: red
}
.block_img{
    width: 70%;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 20px;
    background-color: #fff3f3;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-left: 15%;
    margin-top: 5px;
    display: flex;
    justify-content: space-evenly;
}
.blocks_img__kolotush{
    width: 100%;
    margin: 0 auto;

}
.block__first_img{
    width: 400px;
    overflow: hidden;
    border-radius: 50px;
    -webkit-box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.54);
    -moz-box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.54);
    box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.54);
    
}
.block__second_img{
    width: 600px;
    border-radius: 20px;
    height: 350px;
    -webkit-box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.54);
    -moz-box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.54);
    box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.54);
    overflow: hidden;
    margin-top: 30px;
}
.img_kolotush2{
    width: 100%;
    scale: 1.3;
    object-fit: cover;
}
.img_kolotush1{
    width: 100%;
    scale: 1.1;
    object-fit: cover;
}
.block__third_img{
    width: 600px;
    border-radius: 20px;
    -webkit-box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.54);
    -moz-box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.54);
    box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.54);
    overflow: hidden;
    margin-top: 30px;
}
.img_kolotush3{
    width: 100%;
    max-height: 100%;
    scale: 1.1;
    object-fit: cover;
}
.block_desription{
    margin-top: 15px;
    margin-left: 20px;
    font-size: 30px;
    font-family: "Lora", serif;
    font-style: normal;
    font-weight: 600;
    color: #333;
}
@media (min-width: 1025px) and (max-width: 1520px ){
    .grach_description{
        width: 360px;
    }
    .h{
        font-size: 40px;
    }
    .p{
        font-size: 20px;
    }
  }
  @media (min-width: 769px) and (max-width: 1024px ) {
    .grach_description{
        width: 360px;
        margin: 50px;
        margin-top: 150px;
        margin-left: 20px;
    }
    .h{
        font-size: 40px;
    }
    .p{
        font-size: 18px;
    } 
}
@media (max-width: 768px){
    .buttonn{
        font-size: 16px;
        margin-left: 2%;
        width: 86%;
    }
    .grach_description{
        width: 150px;
        margin-left: 40px;
        margin-top: 125px;
    }
    .h{
        font-size: 20px;
        margin-left: 10px;
        font-weight: 600;
    }
    .block__second_img{
        height: auto;
    }
    .p{
        font-size: 15px;
        width: 100%;
        margin-bottom: 10px;
        margin-left: 10%;
        margin-top: -5px;
    }
    header{
        margin-left: 30%;
        font-size: 30px;
        width: 150px;
    }
    #history{
        font-size: 18px;
        margin-left: 10%;
    }
}
