@font-face {
    font-family: 'Смешарики';
    src: url('./smeshariki2007fixed_regular.ttf') format('TrueType');
    font-weight: normal;
    font-style: normal;
}
body {
    max-width:900px;
    margin:0 auto;
    font-family: 'Verdana', 'Geneva', sans-serif;
    line-height:1.5;   
    padding: 25px;       
    }

.text-block {
    background-color: rgba(190, 255, 160, 0.85);  
    padding: 5px 20px 12px 20px ;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}
nav, nav ul, nav ul li a {
    background-color: transparent;  
}
p {
   margin-bottom: 15px;                
  }
img {
    background-color: transparent;
    width: 100%;
    }

figcaption {
    font-size: 15px;
    line-height: 2;
    font-family: 'Verdana', 'Geneva', sans-serif;
    }

.clearfix {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 20px;
    align-items: stretch;
}
 
.column60 {
    width: 60%;
    float: none;  
}

.column40 {
    width: 40%;
    float: none;  
}

figure {
    margin-bottom: 70px;
    width: 800px;       
    height: auto;        
    max-width: 110%; 
    }

.taxonomy p {
    margin: 2px 0;     
    padding: 0;
    line-height:1.2;
}
.minireview {
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
    }

.about-photo {
    width: 94%;
    height: 94%;  
    object-fit: cover;
    object-position: center 20%;
    display: block;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
    border: 3px solid #2B7E22;
}

.column40 figure {
    margin: 0;
    width: 100%; 
    height: 100%; 
    display: flex; 
}

nav {
    font-size: 20px;
    width: 100vw;        
    position: relative; 
    left: 50%;           
    right: 50%;
    margin-left: -50vw;  
    margin-right: -50vw;
}

nav ul {
    list-style-type: none;
    margin: 0 auto;           
    padding: 0;
    background-color: #79EB09;
    overflow: visible;
    max-width: 900px;         
    display: flex;            
    justify-content: center;
    border-radius: 40px;  
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);  
}

nav ul li {
    float: none;              
    display: inline-block;
    position: relative;    
}

nav ul li a {
    font-family: 'Смешарики', sans-serif;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    }
nav ul li a:hover {
    background-color: #6bc50b;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

h1 {
    font-family: 'Смешарики', sans-serif;
    color: #2B7E22;
   }

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #6bc50b;  
    min-width: 150px;
    padding: 0;
    margin: 0;
    list-style: none;
    border-radius: 5px;
    z-index: 9999;
}

.dropdown-menu li {
    float: none;  
    width: 100%;
}

.dropdown-menu a {
    padding: 10px 15px;
    color: white;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.dropdown-menu a:hover {
    background-color: #86F60E;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.hero-image {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 250px;
    height: 250px;
    z-index: 10;
}

.hero-image img {
    mix-blend-mode: multiply;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
   }

.buttons-row {
    display: flex;
    justify-content: center;  
    gap: 20px;                
    margin: 25px 0;
}

.small-button {
    display: inline-block;
    background: linear-gradient(135deg, #79EB09 0%, #6bc50b 100%);
    color: white;
    text-decoration: none;
    padding: 8px 20px;       
    border-radius: 30px;
    font-family: 'Смешарики', Arial, sans-serif; 
    font-size: 16px;         
    font-weight: normal;
    box-shadow: 0 4px 10px rgba(121, 235, 9, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.small-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(121, 235, 9, 0.4);
    background: linear-gradient(135deg, #6bc50b 0%, #79EB09 100%);
}

.small-button:active {
    transform: translateY(-1px);
}
