/
Simka
/
agatech
Обзор
Документация
Войти
/
Simka
/
agatech
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
css/styles.css
605 строк
11 KB
Simka
upload files
20 сен 2025, 10:33
20 сен 2025, 10:33
b08f074
Код
Авторство
О чём код?
* { margin: 0; padding: 0; } a { color: white; text-decoration: none; font-size: 14px; transition: color 0.3s ease; font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif; } .headline1 { font-family: "Exo 2"; font-size: 70px; color: #f5f5f5; } .headline2 { font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif; color: #666; } .buttons { background-color: #016BFF; color: #f5f5f5; padding: 2% 5%; border: none; border-radius: 5%; font-family: "Exo 2"; font-weight: 700; cursor: pointer; } .header { background-image: url(../assets/BACKGROUND.png); display: flex; justify-content: space-around; align-items: center; height: 90px; } .header-left { display: flex; width: 70%; justify-content: flex-end; align-items: center; } .header-left img { width: 13%; } .header-left nav { width: 73%; } .header-left nav a { padding: 1%; } .header-right { width: 30%; } .main { display: flex; flex-direction: column; align-items: center; } .main-text { font-family: "Exo 2"; font-size: 32px; font-weight: 700; } .main-minitext { color: #f5f5f5; margin: 5% 0; font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif; } .main-play { background-image: url(../assets/BACKGROUND.png); background-size: cover; width: 100%; display: flex; } .main-play-words { display: flex; flex-direction: column; justify-content: flex-end; padding: 10%; margin: 5%; width: 50%; } .main-play-img { width: 50%; display: flex; align-items: center; } .main-play-img img { width: 90%; } .main-mission { display: flex; width: 60%; flex-direction: column; align-items: center; text-align: center; margin: 5%; } .main-about { display: flex; width: 90%; } .main-about-left { width: 50%; align-items: start; } .main-about-right { display: flex; flex-direction: column; } .main-about-right b { color: #016BFF; font-family: "Exo 2"; font-size: 32px; font-weight: 700; } .main-about-right .main-minitext { color: black; margin: 10px; font-size: 14px; } .main-about-right .main-text { font-size: 24px; } .main-about-right-block { display: flex; align-items: center; margin-bottom: 5%; } .main-about-right-block-z { width: 50%; display: flex; flex-direction: column; } .main-services { width: 90%; align-self: center; font-family: "Exo 2"; } .main-services-grid { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; } .main-services-card { background-color: white; border-radius: 8px; padding: 24px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; border: 1px solid #eaeaea; margin: 5px; width: inherit; } .main-services-card:hover { transform: translateY(-4px); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); } .main-services-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; color: #1a1a1a; } .main-services-description { font-size: 14px; color: #666; line-height: 1.5; } .main-case { width: 90%; } .main-case-title { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid #eaeaea; } .main-case-title .filters { display: flex; gap: 15px; flex-wrap: wrap; width: 60%; justify-content: flex-start; } .main-case-title .filter-btn { padding: 8px 16px; background-color: white; border: 1px solid #eaeaea; border-radius: 6px; cursor: pointer; transition: all 0.3s ease; font-size: 14px; color: #333; } .main-case-title .filter-btn:hover { background-color: #f5f5f5; transform: translateY(-1px); } .main-case-title-name { font-size: 18px; font-weight: 600; color: #333; } .main-case-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 40px; } .main-case-gallery-item { position: relative; overflow: hidden; border-radius: 8px; height: 300px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; } .main-case-gallery-item:hover { transform: scale(1.02); } .main-case-gallery-item:hover img { transform: scale(1.1); } .main-case-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } .main-audit { display: flex; margin: 5% 0; width: 90%; } .main-audit-headline { width: 50%; } .main-audit-info { display: flex; flex-direction: column; width: 30%; } .main-audit-info .main-minitext { color: #1a1a1a; } .all-first { display: flex; justify-content: center; } .all-second { display: flex; flex-direction: column; } .each-50, .each-501 { display: flex; width: 100%; } @media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } .service-card { padding: 16px; } } .footer { font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif; padding: 2%; display: flex; background-image: url(../assets/BACKGROUND.png); background-repeat: no-repeat; background-size: cover; } .footer-left { width: 50%; } .footer-left img { width: 15%; padding: 10%; } .footer-right { display: flex; align-items: center; justify-content: space-around; width: 50%; align-items: stretch; } .footer-right .nav-links { list-style: none; } .footer-right .contact-info { color: #f5f5f5; } .footer-right .contact-info img { padding: 5%; } .slider-wrapper { position: relative; width: 100%; height: 100vh; overflow: hidden; } .slider { display: flex; flex-direction: column; height: 100%; transition: transform 0.5s ease-in-out; } .slide { flex: 0 0 100%; height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; background-size: cover; background-position: center; color: white; position: relative; } .slide-content { width: 40%; margin: 7%; display: grid; } .slide-content ul { margin: 5%; font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif; } .slide:nth-child(1) { background-image: url(../assets/1.PNG); } .slide:nth-child(2) { background-image: url(../assets/2.PNG); } .slide:nth-child(3) { background-image: url(../assets/3.PNG); } .slide:nth-child(4) { background-image: url(../assets/4.PNG); } .slide h2 { font-size: 3rem; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); } .slide p { font-size: 1.2rem; margin-bottom: 2rem; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); } .progress-container { position: absolute; right: 50%; top: 50%; transform: translateY(-50%); width: 2px; height: 80vh; background: rgba(255, 255, 255, 0.2); border-radius: 10px; z-index: 100; opacity: 0; transition: opacity 0.3s ease; } .progress-bar { width: 100%; height: 0%; background: #92bfff; border-radius: 10px; transition: height 0.3s ease; } .nav-buttons { position: absolute; bottom: 30px; left: 80%; transform: translateX(-50%); display: flex; gap: 20px; z-index: 100; opacity: 0; transition: opacity 0.3s ease; } .nav-btn { background: rgba(255, 255, 255, 0.2); border: none; color: white; padding: 12px 24px; border-radius: 30px; cursor: pointer; font-size: 1rem; font-weight: bold; transition: all 0.3s ease; } .nav-btn:hover { background: rgba(255, 255, 255, 0.4); transform: translateY(-2px); } .nav-btn:active { transform: translateY(0); } .dots-container { position: absolute; left: 30px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 15px; z-index: 100; opacity: 0; transition: opacity 0.3s ease; } .dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: all 0.3s ease; } .dot.active { background: white; transform: scale(1.3); } @media (max-width: 768px) { .slider-wrapper { display: flex; flex-direction: column-reverse; align-items: center; } .slide-content .headline1 { font-size: 35px; } .slide h2 { font-size: 2rem; } .slide p { font-size: 1rem; } .progress-container { right: 15px; height: 70vh; } .dots-container { display: none; } .nav-buttons { position: static; transform: translateY(100%); display: flex; gap: 20px; z-index: 0; opacity: 0; transition: opacity 0.3s ease; align-self: anchor-center; padding: 10px; } } @media screen and (min-width: 320px) and (max-width: 767px) { .headline1 { font-size: 35px; } .header { flex-direction: column; height: auto; padding: 10px; } .header-left { flex-direction: column; margin: 10px; } .header-left img { width: 50%; } .header nav { display: contents; } .header-right { width: auto; } .main-text { font-size: 22px; } .main-play { flex-direction: column-reverse; align-items: center; } .main-play-img { justify-content: center; } .main-play-img img { width: 70vw; } .main-play-words { display: flex; flex-direction: column; padding: 10%; margin: 0; width: auto; } .main-mission { width: 90%; } .main-about { width: 90; flex-direction: column; margin: 10px; } .main-services { width: 90%; align-self: center; font-family: "Exo 2"; display: flex; flex-direction: column; } .main-services-card { width: 80%; align-self: center; } .main-case-title { flex-direction: column; align-items: flex-start; } .main-case-title .filters { flex-wrap: wrap; width: 100%; justify-content: flex-end; flex-direction: column; align-items: stretch; } .main-case-gallery { display: flex; flex-direction: column; } .main-audit { flex-direction: column; } .main-audit-info { width: 100%; } .all-first, .each-501, .each-50 { flex-direction: column; } .footer { flex-direction: column; align-items: center; } .footer-left img { width: 100%; } .footer-right { flex-direction: column; width: auto; align-items: normal; } } @media screen and (min-width: 768px) and (max-width: 1023px) { .headline1 { font-size: 40px; } .main-text { font-size: 22px; } .main-play-words { padding: 5%; width: 40%; } .main-audit { justify-content: space-evenly; } } /*# sourceMappingURL=styles.css.map */