

/* Основные стили */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f7f3e9;
  color: #3a3a3a;
  margin: 0;
  padding: 0;
  background-color: #1f1f1f ; /* Тёмный фон */
  background-image: url('php-icon.png'), url('sass-icon.png'), url('html-icon.png'), url('css-icon.png');
  background-size: 80px 80px; /* Размер иконок */
  background-repeat: repeat; /* Повторяем */
  background-position: 
    top left, 
    top right, 
    bottom left, 
    bottom right;
}

body a {
  text-decoration: none;
}


/* Верхний блок */
#topblock {
  background-color: #4b3513;
  color: #ffffff;
  padding: 5px 10px;
 margin-left: 20px;
margin-right: 20px;
  text-align: right;
}

#topblock a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 10px;
}

#topblock a:hover {
  color: #ffc07f;
}

/* Основной заголовок */
#header {
 margin-left: 20px;
margin-right: 20px;
  display: flex;
  padding: 20px;
  background-color: #b8a68c;
  color: #3a3a3a;
}

#photomag {
  margin-right: 20px;
}

#photomag img {
  border-radius: 5px;
  border: 3px solid #d29a6e;
}

#headertext {
  max-width: 700px;
}

#headertext h1 {
  font-size: 24px;
  color: #8b4513;
  margin: 5px 0;
}

#headertext h2 {
  font-size: 20px;
  color: #3a3a3a;
}

#headertext h3 {
  font-size: 16px;
  color: #73562a;
}

#headertext h3 a{
  text-decoration: none; 
	color: #3a3a3a;
}

/* Блок меню */
#menu {
 margin-left: 20px;
margin-right: 20px;
  display: flex;
  justify-content: center;
  padding: 15px;
  background-color: #e6d8c1;
border-radius: 0 0 5px 5px;
}

.button {
  background-color: #d29a6e;
  color: #ffffff;
  padding: 10px 20px;
  text-decoration: none;
  margin: 5px;
  border-radius: 5px;
  font-weight: bold;
}

.button.colorfix {
  background-color: #bc6c25;
}

.button:hover {
  background-color: #bc6c25;
}

/* Основной текст */
#maintext {
  padding: 20px;
  background-color: #f3ece4;
  border-radius: 5px;
  margin: 20px;
}

#maintext h1 {
  font-size: 22px;
  color: #6a533e;
}

#resume {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

#resume td {
  padding: 10px;
  border: 1px solid #ddd;
}

#resume td a {
text-decoration: none;
color: #000;
}

#resume .c1 {
  background-color: #e6d8c1;
  font-weight: bold;
}

#resume .c2 {
  background-color: #ffffff;
}

.odd {
  background-color: #f5f0e9;
}

.even {
  background-color: #ffffff;
}

.logo__wrapper {
display: flex;
justify-content: center;
gap: 15px;
padding-top: 7px;
height:30px;
}

.logo__wrapper img {
height: 100%;
width:30px;
}

.logo__wrapper a {
}


.logo__wrapper a:hover {
animation: rotateAndInvert 7s;
}



/* Нижнее меню */
#menub {
  padding: 15px;
  background-color: #4b3513;
  text-align: center;
}



.mitemb {
  color: #ffffff;
  padding: 10px 15px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.mitemb:hover {
  color: #ffc07f;
}

@keyframes rotateAndInvert {
  0% {
    transform: rotateZ(0deg);
    filter: none;
  }
  30% {
    transform: rotateZ(360deg);
    filter: opacity(40%);
  }
  100% {
    transform: rotateZ(360deg);
    filter: opacity(40%);
  }
}








