@font-face {

    
    
  font-family: 'Montserrat-Medium';

  src: url(../fonts/Montserrat-Medium.ttf);

}



@font-face {

  font-family: 'GT-Eesti-Pro-Display-thin';

  src: url(../fonts/gteestiprodisplay_thin.otf);

}



@font-face {

  font-family: 'GT-Eesti-Pro-Display-medium';

  src: url(../fonts/gteestiprodisplay_medium.otf);

}



@font-face {

  font-family: 'Montserrat-bold';

  src: url(../fonts/Montserrat-Bold.ttf);

}



@font-face {

  font-family: 'Montserrat-regular';

  src: url(../fonts/Montserrat-Regular.ttf);

}



@font-face {

  font-family: 'Montserrat-Black';

  src: url(../fonts/Montserrat-Black.ttf);

}


html,
body {
  background-color: #00000000;
  font-family: 'Montserrat-Medium';
  height: 100%;
  margin: 0;
  padding: 0;


}

:root {
  --white:aliceblue;
  --gray: #1a1a18;
  --background: #f5f5dc;
  --background2: #faebd7;
  --fon1:#1420DF;
  --fon2:#F700B6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;}


.grid_index {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 108px 1fr 250px;
    grid-template-areas:
        "header"
        "main"
        "footer"
    ;
}


/* Шапка сайта */

header {
    grid-area: header;
    background: #1E1357;
}

a {
    text-decoration: none;
}

li {
    list-style-type: none;
}

.navbar {
    max-width: 1440px;
    display: flex;
    align-items: center;
    margin: auto;
    justify-content: space-between;
    color: var(--red);
    padding: 10px 30px 10px 30px;
}

.logo img {
    width: 250px;
}



/* МЕНЮШКА БУРГЕР */
.nav-links{
  background: linear-gradient(135.00deg,#F700B6, #1420DF);
  padding: 0px 10px;
  border-radius: 10px;
}
.nav-links a {
  color: var(--white);
  padding: 10px;
}

.menu {
  max-height: 0;
  overflow: hidden;
  position: absolute;
  background-color: #342A67;
  text-align: center;
  right: 0;
  left: 0;
  margin-top: 17px;
  z-index: 3;
}

.menu li a {
  display: block;
  padding: 15px;
}

.menu li {
  transition: all .3;
}

.menu li a:hover {
  transition: all .3s;
  color: var(--gray);
  background-color: beige;
}

#checkbox_toggler {
  display: none;
}

.hamburger {
  font-size: 24px;
  cursor: pointer;
  display: block;
  padding: 20px 0px;
}

#checkbox_toggler:checked~.menu {
  display: block;
  max-height: 100%;
  transition: all .5s;
}

.hamburger-line {
  background-color: var(--white);
  display: block;
  width: 24px;
  height: 2px;
  position: relative;
}



.hamburger-line::before,
.hamburger-line::after {
  background-color: var(--white);
  content: '';
  display: block;
  position: absolute;
  transition: all .3s;
  width: 100%;
  height: 100%;
}

.hamburger-line::before {
  top: 7px;
}

.hamburger-line::after {
  top: -7px;
}

#checkbox_toggler:checked~.hamburger .hamburger-line::before {
  transform: rotate(-45deg);
  top: 0;
}

#checkbox_toggler:checked~.hamburger .hamburger-line::after {
  transform: rotate(45deg);
  top: 0;
}

#checkbox_toggler:checked~.hamburger .hamburger-line {
  background-color: transparent;
}




/* подвал сайта */
footer{
  background-color: #1E1357;
  grid-area: footer;
  height: 240px;
  align-items: center;
  display: flex;

}
.all_object{
  width: 1440px;
  display: flex;
  justify-content: space-between;
  padding: 0px 20px 0px 20px ;
  

  margin: auto;
}
.all_object a{
  color:var(--white);
  display: block;
}

.all_object span{
  color:var(--white);
  font-family:GT-Eesti-Pro-Display-medium;
  font-size: 36px;;
}

/* левый подвала */
.left a{
  padding-bottom: 15px;
}
.left a img{
 max-width: 250px;
  padding-bottom:20px ;
}

/* центральный блок */
.center li{
  padding-bottom: 8px;
  font-family: GT-Eesti-Pro-Display-thin;
font-size: 18px;
}

.footer_nav :hover{
  color: #F800B6;
}
.right{
  padding-left: 30px;
}