Files
tp/main_dc/valitovgaziz/html/style/hero_section.css
T
2026-02-22 08:12:05 +05:00

112 lines
1.8 KiB
CSS

/* Hero Section Styles */
.hero {
background: linear-gradient(135deg, var(--primary) 0%, #2fe892 100%);
padding: 4rem 2rem;
margin-bottom: 2rem;
border-radius: 10px;
}
.hero-content {
grid-column: 1 / -1;
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}
.hero-text {
display: flex;
flex-direction: column;
gap: 1rem;
}
.hero-subtitle {
font-size: 1.5rem;
margin-bottom: 1rem;
}
.highlight {
color: #137c5c; /* Яркий акцентный цвет */
}
.hero-description {
font-size: 1.1rem;
margin-bottom: 2rem;
line-height: 1.6;
}
.hero-buttons {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
margin-top: 1rem;
}
.btn {
background-color: var(--secondary);
display: inline-block;
padding: 0.8rem 1.5rem;
border-radius: 5px;
text-decoration: none;
font-weight: bold;
transition: all 0.3s ease;
}
.btn-primary {
color: white;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.btn-secondary {
color: white;
border: 2px solid white;
}
.btn-secondary:hover {
background-color: #2980b9;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.hero-image {
flex: 0 0 300px;
text-align: center;
}
.hero-image img {
width: 100%;
max-width: 300px;
border-radius: 10px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.resume-block {
justify-self: left;
}
#resume-link {
color: #2980b9;
/* Адаптивность для героя */
@media (max-width: 768px) {
.hero-content {
flex-direction: column;
text-align: center;
}
}
}
/* Адаптивность для героя */
@media (max-width: 768px) {
.hero-content {
flex-direction: column;
text-align: center;
}
.hero-buttons {
justify-content: center;
}
}