@media(max-width:1100px){
.container{width:min(92%,700px)}
.nav{
display:flex;
position:absolute;
top:100%;
left:0;
width:100%;
height:calc(100vh - 78px);
height:calc(100dvh - 78px);
padding:65px 8vw;
background:rgba(11,11,11,.98);
backdrop-filter:blur(18px);
flex-direction:column;
align-items:flex-start;
justify-content:flex-start;
gap:0;
opacity:0;
visibility:hidden;
pointer-events:none;
transform:translateY(-18px);
transition:opacity .35s ease,transform .45s cubic-bezier(.22,1,.36,1),visibility .35s;
}
.nav a{
width:100%;
padding:22px 0;
border-bottom:1px solid rgba(255,255,255,.12);
font-family:var(--font-title);
font-size:34px;
}
.nav a::after{display:none}
.header.is-menu-open .nav{
opacity:1;
visibility:visible;
pointer-events:auto;
transform:translateY(0);
}
.header .button{display:none}
.menu{
display:block;
position:relative;
width:44px;
height:44px;
flex:0 0 44px;
cursor:pointer;
z-index:2;
}
.menu span{
position:absolute;
left:7px;
width:30px;
height:2px;
background:white;
display:block;
transition:top .35s ease,transform .35s ease;
}
.menu span:first-child{top:16px}
.menu span:last-child{top:26px}
.header.is-menu-open .menu span:first-child{top:21px;transform:rotate(45deg)}
.header.is-menu-open .menu span:last-child{top:21px;transform:rotate(-45deg)}
.hero{min-height:900px;height:auto;padding:180px 0 120px}
.hero__container{flex-direction:column;align-items:flex-start}
.hero h1{font-size:70px}
.hero__card{margin-top:40px}
.about__grid{grid-template-columns:1fr;gap:50px}
.photo-placeholder{height:500px;font-size:55px}
.about h2,.research h2,.faq h2{font-size:60px}
.cards{grid-template-columns:1fr}
.contacts h2{font-size:65px}
.journey__track{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
section{padding:90px 0}
.container{width:90%}
.logo{font-size:28px}
.hero{padding-top:140px}
.hero h1{font-size:48px;line-height:1}
.hero__description{font-size:17px}
.hero__buttons{flex-direction:column;align-items:flex-start}
.button{padding:16px 28px}
.hero__card{width:100%;padding:35px}
.hero__number{font-size:70px}
.intro h2{font-size:48px}
.intro p:last-child{font-size:17px}
.about h2,.research h2,.faq h2{font-size:45px}
.photo-placeholder{height:380px;font-size:42px}
.stats{flex-direction:column;gap:25px}
.stats strong{font-size:48px}
.card{padding:35px;min-height:auto}
.card h3{font-size:32px}
.faq__list{margin-top:50px}
.faq__question{padding:25px 0;font-size:27px;gap:20px}
.faq__answer p{padding:0 45px 26px 0;font-size:15px}
.contacts__box{padding:60px 25px}
.contacts h2{font-size:45px}
.loader__text{font-size:34px}
.cursor{display:none}
}
@media(max-width:400px){
.hero h1{font-size:40px}
.logo{font-size:24px}
.subtitle{letter-spacing:3px}
.intro h2{font-size:40px}
.contacts h2{font-size:38px}
}
@media(max-width:700px){
.journey h2{
font-size:45px;
}
.journey__track{
display:grid;
grid-template-columns:1fr;
width:100%;
}
.journey__item{
width:100%;
min-height:auto;
}
}
@media(max-width:700px){
.archive h2{
font-size:45px;
}
.archive__grid{
display:flex;
flex-direction:column;
}
.archive__card,
.archive__card--big{
height:350px;
}
}
@media(max-width:700px){
.book__grid{
grid-template-columns:1fr;
gap:60px;
}
.book__cover{
width:280px;
height:420px;
}
.book__title{
font-size:40px;
}
.book__content h2{
font-size:45px;
}
}
@media(max-width:700px){
.reviews h2{
font-size:45px;
}
.reviews__grid{
grid-template-columns:1fr;
}
.review{
padding:35px;
}
}
@media(max-width:700px){
.contacts{
padding-bottom:28px;
}
.contacts__content h2{
font-size:45px;
}
}
@media(max-width:900px){
.contacts__grid{
grid-template-columns:1fr;
gap:55px;
}
.contacts__links{
align-items:flex-start;
text-align:left;
}
.contacts__media{
justify-self:center;
width:min(100%,280px);
max-width:280px;
max-height:500px;
}
.contacts__video{
max-height:500px;
}
}
@media(max-width:700px){
.contacts__legal{
align-items:flex-start;
flex-direction:column;
gap:12px;
margin-top:65px;
font-family:var(--font-main);
font-size:12px;
font-weight:400;
line-height:1.6;
}
.contacts__legal p:last-child{
text-align:left;
}
.family-tree h2{
font-size:45px;
}
.tree__lead{
max-width:330px;
}
.tree{
width:112%;
margin-left:-6%;
margin-top:35px;
}
.tree__person text{
font-size:19px;
}
.tree__person text tspan+ tspan{
font-size:11px;
}
.tree__price{
font-size:27px;
}
}
@media(max-width:700px){
.migration h2{
font-size:45px;
}
.migration__map{
height:400px;
}
.map__point{
font-size:20px;
}
}
