/*ЦВЕТА*/
:root {
  --dark: #3D3E7E;
  --light: #EEF8FB;
  --shadow: #6288B4;
  --blue: #C5E6F3;
  }

/*ШРИФТЫ*/
@font-face {
  font-family: "CherryBombOne";
  src: url('CherryBombOne-Regular.eot?#iefix') format('embedded-opentype'),
  url('CherryBombOne-Regular.woff2') format('woff2'),
  url('CherryBombOne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "BeVietnamPro";
  src: url('BeVietnamPro-Regular.ttf') format('truetype'),
  url('BeVietnamPro-Regular.eot?#iefix') format('embedded-opentype');
  
  font-weight: 400;
  font-style: normal;
}

/*РАЗМЕР ЭКРАНА*/

@media (min-width: 1280px) {
  .page {
  width: 1280px;
  }
  h1 {
    font-size: 115px;
    }
  .home-button {
  padding: 27px 145px;
   font-size: 60px;
  }
  .button-shadow {
  width: 430.81px;
  height: 129px;
  margin-top: -111px;
  }
}

@media (max-width: 1280px) {
  .page {
  width: 1280px;
  }
  h1 {
    font-size: 115px;
    }
  .home-button {
  padding: 27px 145px;
   font-size: 60px;
  }
  .button-shadow {
  width: 430.81px;
  height: 129px;
  margin-top: -111px;
  }
}

/*@media (min-width: 1080px) {
  .page { 
    width: 1080px;
  }
  h1 {
    font-size: 70px;
    }
  .home-button {
  padding: 27px 110px;
   font-size: 60px;
  }
  .button-shadow {
  width: 326.61px;
  height: 123px;
  }
  }*/

@media (max-width: 1080px) {
  .page { 
    width: 1080px;
  }
  h1 {
    font-size: 70px;
    }
  .home-button {
  padding: 27px 110px;
   font-size: 45px;
  }
  .button-shadow {
  width: 326.61px;
  height: 123px;
  margin-top: -111px;
  }
  }
  
  
  @media (max-width: 420px) {
  .page { 
    width: 420px;
  }
  h1 {
    font-size: 30px;
    }
  .home-button {
  padding: 13px 60px;
   font-size: 30px;
  }
  .button-shadow {
  width: 192.41px;
  height: 70px;
  margin-top: -52px;
  }
  }
  
/*ФОН*/
body {
  background-image: url('./img/back.webp');
  background-repeat: repeat;
  background-size: 950px;
  display: flex;
  flex-direction: column;
  justify-content: center;  
  align-items: center;
  align-content: center;
  margin: 0;
  }
  
/*СИНЯЯ СТРАНИЧКА*/
.page {
  margin: 0;
  height: auto;
  background: var(--blue);
  padding-bottom: 20px;
  border-radius: 0px 0px 10px 10px;
   }
 
ul {
  list-style: none;
  text-align: center;
  margin: 0;
  padding: 0;
  }

a {
  margin: 0;
  text-decoration: none;
  color: var(--dark);
  }
  
  .zagolovok {
    margin: auto;
    display: flex;  
  align-content: center;
  justify-content: center;  
  align-items: center;
    }

.main {
  margin: 0 24px;
    display: flex;  
  align-items: flex-start;
  align-content: space-between;
  }

.dark-pad {
  
  height: auto;
  background: var(--shadow);
  border-radius: 10px;
  display: flex;  
    flex-direction: column;
  align-items: center;
  position: relative;
  }
  
  .welcome {
    margin: 7px;
    width: 883px;
    height: auto;
  background: var(--light);
  border-radius: 10px;
  display: flex;  
  align-items: flex-start;
  justify-content: space-between;
    }
    
.welcome-text{
  width: 435px;
  margin: 0 28px 19px 28px;
  }
  
  .lower {
    width: 883px;
    display: flex;
    justify-content: space-between; 
  gap: 7px;
  margin-bottom: 7px;
    }
    
.lower-left {
  width: 656px;
  display: flex;
  flex-direction: column;
  align-items: space-between;
  position: relative;
  }
    
.artfight {
  width: auto;
  height: 111px;
  background: var(--light);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  }
  
.featured {
  width: auto;
  height: 352px;
  display: flex;
  justify-content: center;
  background: var(--light);
  border-radius: 10px;
   margin-top: 7px;
  }
  
.lower-right {
  width: 220px;
  height: 470px;
  background: var(--light);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  }
  
.right-side {
    margin: 0 0 0 25px;
}
    
.button {
  width: 307px;
  display: inline-block;
  justify-content: center;  
  align-items: center;
  font-family: "CherryBombOne";
  font-size: 40px;
  color: var(--dark);
  background: var(--light);
  padding: 7px 0;
  border: 2px solid var(--shadow);
  border-radius: 10px;
  transition: transform 0.3s ease;
  z-index: 2;
  position: relative;
  margin: 0;
  }
  
.button:hover {
  transform: translate(0, 8px);
}
  
.nav-button {
  margin: 0 0 22px 0;
  display: inline-block;
  justify-content: center;
  }
  
.nav-button-shadow {
  height: 65px;
  width: 311px;
  border-radius: 10px;
  background: var(--shadow);
  margin-top: -58px;       
      z-index: 1;              
      position: relative;
  }
  
.graphics {
  width: auto;
   
  background: var(--light);
  border-radius: 10px;
  border: 2px solid var(--shadow);
  margin: 0;
  padding: 5px;
  }
  
.stamps {
  display: grid;
  grid-template-columns: 99px 99px 99px;
  align-items: start;
  justify-content: space-between;
  }
  
.blinkies {
  display: grid;
  grid-template-columns: 150px 150px;
  align-items: start;
  justify-content: space-between;
  }
    
.nes-full {
  transition: transform 0.3s ease;
  }
.nes-full:hover {
  transform: translate(0, -13px);
  }

/*АНДЕР КОНСТРАКШН*/
.uc {
  padding: 80px 55px 0 55px;
}

.header_cont {
  margin: auto;
  display: flex;
  justify-content: center;  
  align-items: center;
  }

/*КНОПКА ХОУМ АНДЕР КОНСТРАКШН*/
.button-center {
  margin-top: 50px;
  display: flex;
  justify-content: center;  
  align-items: center;
  }

.home-button {
  display: inline-block;
  font-family: "CherryBombOne";
 
  color: var(--dark);
  background: var(--light);
  border: 2px solid var(--shadow);
  border-radius: 10px;
  transition: transform 0.3s ease;
  z-index: 2;
  position: relative;
}

.home-button:hover {
  transform: translate(0, 18px);
}

.full-button {
  margin: 0;
  display: inline-block;
  flex-direction: column;
  align-items: center;
  position: relative;
  }

.button-shadow {
  
  border-radius: 10px;
  background: var(--shadow);
         
      z-index: 1;              
      position: relative;
  }
  
  /*ЖЕЛТЫЙ ЗНАК*/
  .sign {
    margin: 100px;
    display: flex;
  justify-content: center;  
  align-items: center;
    }

/*1 ЗАКОЛОВОК САМЫЙ ВЕРХНИЙ*/
h1 {
  margin: 0;
  font-family: "CherryBombOne";
  
  color: var(--dark);
  text-align: center;
  }

/*2 ЗАГОЛОВОК*/
h2 {
  margin: 0;
  font-family: "CherryBombOne";
  font-size: 40px;
  color: var(--dark);
  text-align: center;
  }
  
h3 {
  margin: 0;
  font-family: "CherryBombOne";
  font-size: 20px;
  color: var(--dark);
  text-align: center;
  }

/*ОБЫЧНЫЙ ТЕКСТ*/
  p {
    font-family: "BeVietnamPro";
    font-size: 20px;
    color: var(--dark);
    text-align: center;
    }