@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400;
    src: local('Roboto'),
         url('/fonts/roboto-regular.woff2') format('woff2'),
         url('/fonts/roboto-regular.woff') format('woff');
    font-display: swap;
}

body {
    min-width: 240px;
    font-family: 'Roboto', sans-serif;
    background: -webkit-linear-gradient(90deg, #b3ffff,#e0ffff,#b3ffff);/* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(90deg, #b3ffff,#e0ffff,#b3ffff);/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */                                             
}

.df {
    display: flex;
}
.fw {
    flex-wrap: wrap;
}

header {
    margin-bottom: 30px;
}

.header__inner {
    box-sizing: border-box;
    padding: 10px 30px;
    max-width: 1000px;/*только для больших экранов. Укажу только здесь, чтобы не дублировать в медиа*/
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
}

/*.logo img { задал в медиа
    width: 150px;
}*/

.phone a {
    text-decoration: none;
    /*font-size: 28px; задал в медиа*/
    color: #000;
}

.socials {
    justify-content: center;
    margin-top: 10px;
}

/*.socials__item { задал в медиа
    margin-right: 10px;
}*/

/*.socials__item img { задал в медиа
    border-radius: 15px;
    width: 30px;
}*/

.content__inner {
    box-sizing: border-box;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    font-size: 16px;
}

h1 {
    font-size: 20px;
}

/*button*/
.nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.btn {
    text-decoration: none;
    display: block;
    width: 11em;
    border: 1px solid;
    padding: 10px;
    background-color: #3AAAE4;
    color: black;
    border-radius: 6px;
    text-align: center;
    margin: 0 10px 10px 0 ;

}

.arrow {
    width: 40px;
    height: 14px;
    margin-right: 20px;
}

/* бургер */
.collapse {
    display: none;
    align-items: center;
}

.menu {
    align-items: center;
    margin-right: 20px;
}

/* добавляется к nav */
.open {
    display: flex !important;
}

/* стили для бургера */
.burger{
    /*border: 1px solid green;*/
    display: none;    
    position: relative;
    z-index: 50;
    align-items: center;
    justify-content: flex-end;
    width: 6vw;
    height: 6vw;
}

.burger span{
    /*padding: 10px;*/


    height: 3px;
    width: 70%;
    transform: scale(1);
    background-color: #3AAAE4;
}

.burger::before, .burger::after{
    content: '';
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #3AAAE4;
    transition: all 0.5s ease 0s;
}

.burger::before { top: 0 }

.burger::after { bottom: 0 }


/* Добавляем класс active для анимации иконки бургера */
.burger.active span { transform: scale(0) }

.burger.active::before{
    top: 50%;
    transform: rotate(-45deg) translate(0, -50%);
}

.burger.active::after{
    bottom: 50%;
    transform: rotate(45deg) translate(0, 50%);
}

.page-bottom {
    display: none;
    justify-content: space-around;
}

/* медиа запрос */
@media (max-width: 900px) {
    .burger {
        display: flex;
    }
    .collapse {
        display: flex;
    }
    
    .page-bottom {
    display: flex;
    }

    .nav{
        display: none;
        flex-direction: column;
        position: fixed;
        height: 100%;
        width: 100%;
        top: 0; bottom: 0; left: 0; right: 0;
        z-index: 50;
        overflow-y: auto;
        padding: 50px 40px;
        /*background-color: white;*/
        background-image: url(/img/doodles.png);
        animation: burgerAnimation 0.4s;
    }

    .nav ul{
        flex-direction: column;
        padding-top: 200px;
        row-gap: 10px;
    }

    @keyframes burgerAnimation {
        from {opacity: 0}
        to {opacity: 1}
}