/* Основные стили */
body {
   
	
    color: #00ff00;
    font-family: 'VT323', monospace;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
	background-color: black;
	
	
	

	

}

body {
  scrollbar-width: thin;          /* "auto" или "thin"  */
  scrollbar-color: #00ff00 #464a46;   /* плашка скролла и дорожка */ 
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url("images/fon1.jpg") no-repeat center center;
  background-size: cover;
  z-index: -1;
  animation: zoom 35s infinite alternate ease-in-out;
}

@keyframes zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.5); }
}



.background {
	
	  
	 
		background-image: url("images/fon2.png");
		position: fixed;
		z-index: 1;
	background-repeat: no-repeat;
  background-attachment: fixed;  
  background-size: cover;

    color: #00ff00;
    font-family: 'VT323', monospace;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 80%;
	transition: all 300ms ease;
	width: 80%;


}

.menu2 {
	
	
   text-align: center;
   
	
}

.pip-boy {
    background-color: #1a1a1a;

    border: 5px solid #464a46;
    border-radius: 30px;
    width: 65%;
    max-width: 80%;
	min-width: 70%;
    height: 100%;
    max-height: 100%;
    padding: 20px;
    margin: 20%;
}

#movingDiv {
  transition: transform 0.1s ease-out; /* Плавное движение */
  will-change: transform; /* Оптимизация производительности */
}

.screen {
    background-color: #000;
		background-image: url("images/index2.jpg");
	background-repeat: no-repeat;
   
  background-size: cover;
    
    border-radius: 10px;
    width: 96%;
    height: 95%;
    padding: 20px 20px 20px 0px;
    overflow-y: auto;
    position: relative;
	box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
	margin: 0;
	 
}

.menu ul {
    list-style-type: none;
    padding: 20	px;
    opacity: 0;
    animation: fadeIn 2s forwards;
}

.menu ul li {
    margin: 15px 0;
}

.menu ul li a {
    color: #00ff00;
    text-decoration: none;
    font-size: 24px;
    display: block;
    padding: 10px;
    border: 2px solid #00ff00;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.menu ul li a:hover {
    background-color: #00ff00;
    color: #000;
	padding: 15px;
}

.cursor {
 
    bottom: 10px;
    right: 10px;
    font-size: 24px;
    animation: blink 1s infinite;
}

/* Стили для контента */
.content .section {
    display: none; /* Скрываем все разделы по умолчанию */
}

.content .section.active {
    display: block; /* Показываем активный раздел */
}

.section {
    margin-top: 20px;
	padding: 25px;
}

.section h2 {
    font-size: 28px;
    margin-bottom: 10px;
	padding: 25px;
}

.section p, .section ul {
    font-size: 20px;
    margin: 10px 0;
	padding: 25px;
	
}

.section ul {
    list-style-type: none;
    padding: 0;
	
}

.section ul li {
    margin: 10px 0;
	padding: 20	px;
	
}

.pip-image {
    width: 100%;
    padding: 20	px;
    margin-bottom: 10px;
}

.pip-image2 {
    width: 100%;
    padding: 20	px;
    margin-bottom: 10px;
}

.index-image {
   
    border: 2px solid #00ff00;
    border-radius: 5px;
    margin-bottom: 10px;
width: 100%;

   padding: 20	px;

		
           
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Адаптивность */
@media (max-width: 600px) {
    .pip-boy {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        padding: 10px;
		margin: 0;
    }
	
	.background {
	
	  
	 
		background-image: none;
		position: fixed;
		z-index: 1;
	background-repeat: no-repeat;
  background-attachment: fixed;  
  background-size: cover;

    color: #00ff00;
    font-family: 'VT323', monospace;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 80%;
	transition: all 300ms ease;
	width: 90%;


}

	.menu2 img{
	
	
   
   width: 20%;
	
	}

    .menu ul li a {
        font-size: 16px;
        padding: 8px;
    }

    .cursor {
        font-size: 16px;
    }

    .section h2 {
        font-size: 20px;
    }

    .section p, .section ul {
        font-size: 14px;
    }
}