/* normalize */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


/* fonts */
@font-face {
    font-family: "Firasansultra";
    src: url(../fonts/Firasansultra.ttf) format("truetype");
}

/* main */
body{
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    width: 12px;               /* ширина scrollbar */
}
body::-webkit-scrollbar-track {
    background: black;
}
body::-webkit-scrollbar-thumb {
    background-color: var(--blue);    /* цвет плашки */
    border-radius: 8px;       /* закругления плашки */
}

.section{
    padding: 170px 0;
    width: 100%;
    background: url(../img/bg_main_sec.jpg);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container{
    padding: 0 200px;
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

:root{
    --blue: #4655B4;
    --pink: rgb(199, 109, 109);
}

.title{
    font-family: Firasansultra;
    font-size: 50px;
    color: white;
    font-size: 60px;
}

.title__h2{
    font-size: 42px;
    padding-bottom: 50px;
}

.text{
    font-family: Firasansultra;
    color: white;
    width: 40%;
    font-size: 20px;
    letter-spacing: 1px;
}

.link{
    color: white;
    font-family: Firasansultra;
    font-size: 20px;
    text-decoration: none;
}


/*  ------------------------- burger -------------------------- */


.menu_but{
    color: white;
    font-family: Firasansultra;
    text-decoration: none;
    padding: 20px;
    position: relative;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 22px;
    text-shadow: 1px 1px 2px black;
}

.menu_but:hover{
    color: var(--blue);
}

#menuToggle{
  display: none;
  position: absolute;
  
  z-index: 1;
}

#menuToggle input{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -18px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2;
}

#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  top: -12px;
  
  background: white;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: white;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 116vw;
  height: 116vh;
  margin: -100px 0 0 0;
  padding-top: 150px;
  text-align: center ;
  right: -100px;
  
  background: rgba(0, 0, 0, 0.7);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  margin: 0;
  padding: 10px 0;
  font-size: 22px;
}

/*
 * And let's fade it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
  opacity: 1;
}
/* ------------------------------------------------------------ */




.boom2{
    display: none;
}

.blue{
    color: var(--blue);
}

html{
    scroll-behavior: smooth;
}

/* -------------menu ----------------- */

.section__menu{
    padding: 0;
    background: rgba(0, 0, 0, 0.65);
    position: fixed;
    z-index: 2;
}

.container__menu{
    padding: 0 90px;
    justify-content: space-between;
}

.menu__logo{
    /* исправить фон логотипа */
    width: 60px;
    height: 60px;
}

.link__menu{
    text-decoration: none;
    padding: 20px;
    position: relative;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 22px;
    text-shadow: 1px 1px 2px black;
}

.link__menu:hover{
    color: var(--blue);
}

/* -------------- banner ---------------*/

.section__banner{
    display: flex;


    background: url(../img/bg_main.jpg);
    background-position: center center;
    background-size: cover;
    height: 100vh;
}

.container__banner{
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 130px;
}

/* ------------section baze ------------ */
.container__baze{
    margin-bottom: 60px;
}

.img__baze{
    width: 420px;
    height: 320px;

    border-radius: 10px;
    position: relative;
    top: -15px;
    border: 1px solid black;
}

.img__baze2{
    width: 420px;
    height: 260px;

    border-radius: 10px;
    position: relative;
    top: -8px;
}

.img__baze22{
    width: 420px;
    height: 260px;

    border-radius: 10px;
    /* position: relative; */
    display: none;
}

.text__baze3{
    width: 70%;
}

/* --------- section fossils ---------------*/
.img__fossils{
    width: 420px;
    height: 400px;
}

.text__fossils{
    width: 50%;
}
    /* border: green 3px solid; */


.separator{
    display: block;
    background-color: black;
    width: 100%;
}

#followBlock{
    position: absolute;

    width: 120px;
    height: 120px;
}

/* --------- section nutrition---------------- */
.container__nutrition{
    align-items: center;
    justify-content: center;
}

.text__nutrition{
    text-align: center;
    padding: 0 50px;
    width: 70%;
}

.boom{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.effect_1{
    width: 70px;
    height: 70px;
}

.effect_2{
    display: block;
    width: 75px;
    height: 65px;
}

.effect_3{
    margin-top: 300px;
    width: 90px;
    height: 90px;
}
/* ------------------section food ---------- */
.section__food{
    padding-bottom: 100px;
}

.container__food{
    flex-direction: column;
}

.text__food{
    text-align: center;
    margin-bottom: 50px;
    width: 65%;
}

.img__food{
    border-radius: 15px;
}

/* --------- Lust ---------------- */
.section__aboutsite{
    padding: 170px 0;
    padding-bottom: 220px;
}

.container__aboutsite{
    padding: 0 24%;
}

.title__aboutsite{
    text-align: center;
    width: 100%;
    font-size: 40px;
    letter-spacing: 2px;
}

.text__aboutsite{
    color: black;
    width: 70%;
}

.title__h3{
    font-size: 30px;
}

.blue__aboutsite{
    color: var(--blue);
    position: relative;
    cursor: pointer;
    transition: all 0.25s ease;
}

.blue__aboutsite:hover{
    color: var(--pink);
}

li{
    margin-left: 18px;
}

 /* ------- footer ---------- */
.section__footer{ 
    padding-top: 170px;
    padding-bottom: 30px;

    background-image: url(../img/bg_footer1.png);
    background-size: 100%;
    background-position: center top;
}

.container__footer{
    padding: 0 30%;   
    justify-content: space-between;
    align-items: center;
}

.text__footer{
    width: 100%;
    text-shadow: 1px 1px rgb(0, 0, 0);
}

.blue__footer{
    color: var(--blue);
    border: var(--blue) 3px solid;
    /* max-width: 10px; */
    border-radius: 8px;
}

.icons{
    display: flex;
    flex-direction: row;
}

.icon{
    width: 45px;
    height: 45px;
    margin-right: 10px;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.79, 0.22, 1, 1);
    box-shadow: 1px 1px 85px 1px black;
}

.icon1{
    background: url(../img/icon_footer/vc.png);
    background-size: cover;
    background-position: center center;
}

.icon1:hover{
    background: url(../img/icon_footer_blue/vc.png);
    background-size: cover;
    background-position: center center;
}

.icon2{
    background: url(../img/icon_footer/telegram.png);
    background-size: cover;
    background-position: center center;
}


.icon2:hover{
    background: url(../img/icon_footer_blue/telegram.png);
    background-size: cover;
    background-position: center center;
}

.icon3{
    background: url(../img/icon_footer/cube.png);
    background-size: cover;
    background-position: center center;
}

.icon3:hover{
    background: url(../img/icon_footer_blue/cube.png);
    background-size: cover;
    background-position: center center;
}

@media (max-width: 1650px){
    h1.title{
        font-size: 48px;
    }
}

@media (max-width: 1280px){
    /* -------- main ----------- */
    h1.title{
        font-size: 36px;
    }

    .link__menu{
        font-size: 18px;
    }

    .section{
        padding: 140px 0;
    }

    .container{
        padding: 0 10%;
    }

    .section__menu{
        padding: 0;
    }

    .link__menu{
        padding: 14px;
    }

    .title__h2{
        font-size: 32px;
    }

    .text{
        font-size: 16px;
        /* width: 50%; */
    }
    /* --------------- baze ---------- */
    .img__baze{
        width: 350px;
        height: 250px;
    }

    .img__baze2{
        width: 350px;
        height: 250px;
    }

    .text__baze3{
        width: 70%;
    }
    /* -------------- nutrition -------*/
    .effect_1{
        width: 60px;
        height: 60px;
    }

    .effect_2{
        width: 65px;
        height: 55px;
    }

    .effect_3{
        width: 75px;
        height: 75px;
    }
    /* ------------- fossils ----------- */
    .img__fossils{
        width: 350px;
        height: 330px;
    }

    /* --------- food -------------- */
    .text__food{
        width: 70%;
    }

    .img__food{
        width: 850px;
        height: 500px;
    }
    /* -------- aboutsite ---------- */
    .container__aboutsite{
        padding: 0 15%;
    }

    .title__aboutsite{
        font-size: 32px;
        padding: 16px;
    }

    /* --------- footer ---------- */
    .section__footer{
        padding-top: 130px;
        padding-bottom: 30px;
    }

    .container__footer{
        padding: 0 25%;
    }
}   

@media (max-width: 1000px){
    .menu__logo{
        width: 55px;
        height: 55px;
    }

    #followBlock{
        display: none;
    }

    .menu_main{
        display: none;
    }

    #menuToggle{
        display: block;
    }

    .container{
        padding: 0 15%;
    }

    .container__menu{
        padding: 0 10%;
    }

    .container__banner{
        padding: 0 10%;
    }

    h1.title{
        font-size: 28px;
    }

    .text__nutrition, .text__food{
        text-align: left;
    }

    /* ---------- baze ------------ */
    .section__menu{
        padding: 0;
    }

    .container__baze{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .text{
        width: 100%;
    }

    .img__baze{
        border-radius: 35px;
        top: 30px;
        width: 100%;
        height: auto;
    }

    .img__baze2{
        display: none;
    }
    
    .img__baze22{
        border-radius: 35px;
        display: block;
        position: relative;
        top: 30px;
        width: 100%;
        height: auto;
    }

    /*  ----------- fossils ---------------- */
    .container__fossils{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .img__fossils{
        position: relative;
        top: 50px;
        width: 60%;
        height: auto;
    }

    /*  -------------------------------  */
    .text__nutrition{
        padding: 0;
    }

    .boom{
        display: none;
    }

    .effect_2{
        display: none;
    }

    .boom2{
        padding: 0 15%;
        margin-top: 40px;

        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;

    }

    .effect_1{
        width: 85px;
        height: 85px;
    }
    
    .effect_2_2{
        width: 85px;
        height: 80px;
    }

    .effect_3{
        margin: 0;
        width: 100px;
        height: 100px;
    }   

    /* ------------------------ */
    .img__food{
        border-radius: 40px;
        width: 115%;
        height: auto;
    }

    /* =--------------------------------- */
    .container__aboutsite{
        padding: 0 12%;
    }
    /* ---------------------------------- */
    .container__footer{
        padding: 0 20%;
        background-size: cover;
    }

    .icon{
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 730px){
    .container{
        padding: 0 10%;
    }
    .title__h2{
        font-size: 26px;
    }

    .text{
        font-size: 14px;
    }

    .title__aboutsite{
        font-size: 26px;
    }

    .icon{
        width: 30px;
        height: 30px;
    }

    .text__footer{
        font-size: 10px;
    }

    .blue__footer{
        border-radius: 5px;
        border: 2px solid var(--blue);
    }

    .section__footer{
        padding-top: 90px;
        padding-bottom: 20px;
    }
}   


@media (max-width: 500px){
    .title__h2{
        font-size: 21px;
    }

    .text{
        font-size: 12px;
    }

    .effect_1{
        width: 55px;
        height: 55px;
    }

    .effect_3{
        width: 70px;
        height: 70px;
    }

    .effect_2_2{
        width: 55px;
        height: 50px;
    }

    .container__aboutsite{
        padding: 0 9%;
    }
}   
