Загрузка данных
/* =========================================================
НА «ТЫ» С ТЕХНОЛОГИЯМИ
Стиль: как на афише
Цвета:
#D9FF35 — кислотный лайм
#B99CFF — сиреневый
#FF8FC7 — розовый
#111111 — чёрный
#FFFFFF — белый
========================================================= */
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
min-height: 100vh;
background:
radial-gradient(circle at 4% 8%, rgba(217,255,53,.25) 0 80px, transparent 82px),
radial-gradient(circle at 96% 15%, rgba(185,156,255,.25) 0 100px, transparent 102px),
#ffffff;
color: #111111;
font-family:
"Arial",
"Helvetica Neue",
sans-serif;
overflow-x: hidden;
}
/* =========================================================
ВЕРХНЯЯ ПАНЕЛЬ
========================================================= */
header {
min-height: 76px;
background: #ffffff;
border-bottom: 3px solid #111111;
padding: 0 38px;
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
z-index: 10;
}
header::before {
content: "";
position: absolute;
left: 0;
top: -4px;
width: 180px;
height: 10px;
background: #D9FF35;
transform: rotate(-2deg);
}
header b {
font-size: 15px;
font-weight: 900;
letter-spacing: .06em;
text-transform: uppercase;
}
header span {
font-size: 13px;
font-weight: 800;
letter-spacing: .08em;
}
header button,
footer button {
border: 3px solid #111111;
background: #ffffff;
color: #111111;
padding: 12px 18px;
font-size: 14px;
font-weight: 900;
cursor: pointer;
transition:
transform .15s ease,
background .15s ease,
box-shadow .15s ease;
}
header button:hover,
footer button:hover {
background: #D9FF35;
transform: translate(-2px, -2px);
box-shadow: 5px 5px 0 #111111;
}
kbd {
background: #111111;
color: #ffffff;
padding: 3px 7px;
margin-left: 5px;
font-size: 11px;
}
/* =========================================================
ОСНОВНОЙ ЭКРАН
========================================================= */
section {
max-width: 1180px;
margin: 0 auto;
padding: 55px 40px 120px;
position: relative;
}
/* декоративные элементы */
section::before {
content: "✦";
position: fixed;
left: 25px;
top: 130px;
font-size: 45px;
color: #B99CFF;
transform: rotate(-12deg);
pointer-events: none;
}
section::after {
content: "♡";
position: fixed;
right: 35px;
bottom: 110px;
font-size: 55px;
color: #FF8FC7;
transform: rotate(12deg);
pointer-events: none;
}
/* =========================================================
ЗАГОЛОВОК
========================================================= */
.head {
position: relative;
margin-bottom: 42px;
padding: 20px 28px;
border-left: none;
background: #D9FF35;
transform: rotate(-1deg);
box-shadow: 8px 8px 0 #111111;
}
.head::before {
content: "";
position: absolute;
left: -15px;
top: 12px;
width: 70px;
height: 12px;
background: #B99CFF;
transform: rotate(-8deg);
z-index: -1;
}
.head::after {
content: "✦";
position: absolute;
right: 22px;
top: -22px;
font-size: 38px;
color: #111111;
transform: rotate(12deg);
}
.head small {
display: block;
margin-bottom: 7px;
font-size: 12px;
font-weight: 900;
letter-spacing: .15em;
color: #111111;
}
.head h1 {
margin: 0;
font-size: clamp(38px, 6vw, 68px);
line-height: .95;
font-weight: 1000;
letter-spacing: -.055em;
text-transform: uppercase;
}
/* =========================================================
ПЕРВЫЙ ЭКРАН
========================================================= */
.hero {
display: grid;
grid-template-columns: 1.05fr .95fr;
gap: 55px;
align-items: center;
}
.hero h1 {
margin: 0 0 30px;
font-size: clamp(65px, 9vw, 110px);
line-height: .78;
letter-spacing: -.075em;
font-weight: 1000;
text-transform: uppercase;
}
.hero h1 i {
display: inline-block;
color: #B99CFF;
font-style: normal;
text-shadow:
3px 3px 0 #111111;
transform: rotate(-2deg);
}
.hero p {
max-width: 620px;
font-size: 21px;
line-height: 1.45;
font-weight: 500;
}
.hero p::first-letter {
font-weight: 900;
}
/* =========================================================
ФОТО / ЗАГЛУШКИ
========================================================= */
.photo {
min-height: 390px;
background:
linear-gradient(
135deg,
rgba(217,255,53,.8),
rgba(185,156,255,.75),
rgba(255,143,199,.7)
);
border: 4px solid #111111;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
flex-direction: column;
font-size: 25px;
font-weight: 1000;
position: relative;
transform: rotate(2deg);
box-shadow: 10px 10px 0 #111111;
}
.photo::before {
content: "";
position: absolute;
inset: 13px;
border: 3px dashed #111111;
pointer-events: none;
}
.photo small {
max-width: 270px;
margin-top: 15px;
font-size: 13px;
line-height: 1.4;
font-weight: 700;
}
.photo.big {
min-height: 350px;
}
/* =========================================================
КАРТОЧКИ
========================================================= */
.cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.card {
min-height: 145px;
padding: 23px;
background: #ffffff;
border: 3px solid #111111;
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
text-align: left;
cursor: pointer;
transition:
transform .15s ease,
box-shadow .15s ease;
}
.card:nth-child(2n) {
transform: rotate(.7deg);
}
.card:nth-child(3n) {
transform: rotate(-.6deg);
}
.card:hover {
transform: translate(-3px, -5px) rotate(-1deg);
box-shadow: 8px 8px 0 #111111;
}
.card b {
font-size: 13px;
font-weight: 1000;
color: #7b4dff;
}
.card span {
font-size: 20px;
line-height: 1.1;
font-weight: 900;
}
.card.lime {
background: #D9FF35;
}
.card.lime b {
color: #111111;
}
/* =========================================================
ДВЕ КОЛОНКИ
========================================================= */
.two {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 45px;
align-items: center;
}
.two h2 {
display: inline-block;
margin: 0 0 12px;
padding: 7px 12px;
background: #B99CFF;
border: 2px solid #111111;
font-size: 25px;
transform: rotate(-1deg);
}
.two p {
font-size: 20px;
line-height: 1.55;
font-weight: 600;
margin-bottom: 30px;
}
/* =========================================================
ВОПРОСЫ
========================================================= */
.q {
margin-top: 30px;
padding: 20px 24px;
background: #FF8FC7;
border: 3px solid #111111;
font-size: 19px;
font-weight: 900;
transform: rotate(-.6deg);
box-shadow: 6px 6px 0 #111111;
}
/* =========================================================
ANDROID / IOS
========================================================= */
.os {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 25px;
}
.os button {
min-height: 220px;
padding: 35px;
border: 3px solid #111111;
background: #D9FF35;
text-align: left;
cursor: pointer;
transition: .15s;
box-shadow: 7px 7px 0 #111111;
}
.os button:nth-child(2) {
background: #B99CFF;
}
.os button:hover {
transform: translate(-3px, -3px);
box-shadow: 11px 11px 0 #111111;
}
.os strong {
display: block;
margin-bottom: 15px;
font-size: 42px;
font-weight: 1000;
}
.os small {
font-size: 16px;
font-weight: 700;
}
/* =========================================================
ЖЕСТЫ
========================================================= */
.gestures {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 18px;
}
.gestures .card {
text-align: center;
align-items: center;
justify-content: center;
min-height: 180px;
}
.gestures .card strong {
display: block;
font-size: 48px;
margin-bottom: 20px;
}
.gestures .card:nth-child(1) {
background: #D9FF35;
}
.gestures .card:nth-child(2) {
background: #B99CFF;
}
.gestures .card:nth-child(3) {
background: #FF8FC7;
}
.gestures .card:nth-child(4) {
background: #ffffff;
}
/* =========================================================
СИТУАЦИИ / ИГРЫ
========================================================= */
.case {
max-width: 850px;
padding: 38px;
background: #111111;
color: #ffffff;
border: 4px solid #111111;
position: relative;
box-shadow: 10px 10px 0 #D9FF35;
}
.case::after {
content: "✦";
position: absolute;
right: 20px;
top: 15px;
color: #FF8FC7;
font-size: 35px;
}
.case small {
color: #D9FF35;
font-weight: 1000;
letter-spacing: .14em;
}
.case h2 {
font-size: 34px;
line-height: 1.05;
margin: 15px 0 25px;
}
.case button {
padding: 15px 18px;
margin: 5px;
border: 3px solid #111111;
background: #ffffff;
color: #111111;
font-size: 15px;
font-weight: 900;
cursor: pointer;
transition: .15s;
}
.case button:hover {
background: #FF8FC7;
transform: rotate(-1deg);
}
/* =========================================================
ЧЕК-ЛИСТ
========================================================= */
.check {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
}
.check button {
padding: 19px;
background: #ffffff;
border: 3px solid #111111;
text-align: left;
font-size: 17px;
font-weight: 800;
cursor: pointer;
transition: .15s;
}
.check button:hover {
background: #B99CFF;
}
.check button.lime {
background: #D9FF35;
}
.check button b {
margin-right: 8px;
font-size: 20px;
}
/* =========================================================
УВЕДОМЛЕНИЯ
========================================================= */
.notice {
margin-top: 25px;
padding: 18px 22px;
background: #ffffff;
border: 3px solid #111111;
border-left: 12px solid #D9FF35;
font-size: 18px;
font-weight: 700;
box-shadow: 5px 5px 0 #B99CFF;
}
/* =========================================================
ФИНАЛ
========================================================= */
.finish {
text-align: center;
}
.finish > div:first-child {
width: 95px;
height: 95px;
margin: 0 auto 25px;
background: #D9FF35;
border: 4px solid #111111;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 60px;
font-weight: 1000;
transform: rotate(-7deg);
box-shadow: 7px 7px 0 #111111;
}
.finish h2 {
max-width: 800px;
margin: 0 auto 35px;
font-size: 42px;
line-height: 1;
}
/* =========================================================
НИЖНЯЯ НАВИГАЦИЯ
========================================================= */
footer {
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 76px;
background: #ffffff;
border-top: 3px solid #111111;
display: flex;
align-items: center;
justify-content: center;
gap: 35px;
z-index: 10;
}
footer strong {
min-width: 75px;
text-align: center;
font-size: 15px;
font-weight: 1000;
}
/* =========================================================
ПАНЕЛЬ ПРЕПОДАВАТЕЛЯ
========================================================= */
#panel {
position: fixed;
right: 0;
top: 0;
bottom: 0;
width: min(440px, 90vw);
background: #ffffff;
border-left: 4px solid #111111;
z-index: 50;
padding: 38px;
transform: translateX(105%);
transition: .25s ease;
overflow-y: auto;
box-shadow: -12px 0 0 #D9FF35;
}
#panel.open {
transform: translateX(0);
}
#panel > button {
position: absolute;
right: 18px;
top: 12px;
width: 40px;
height: 40px;
border: 3px solid #111111;
background: #FF8FC7;
font-size: 25px;
font-weight: 900;
cursor: pointer;
}
#panel h2 {
max-width: 330px;
font-size: 30px;
line-height: 1;
}
#panel hr {
border: 0;
border-top: 3px solid #111111;
margin: 25px 0;
}
#panel b {
font-size: 13px;
text-transform: uppercase;
letter-spacing: .1em;
}
#panel p {
line-height: 1.55;
font-size: 16px;
}
/* =========================================================
АДАПТАЦИЯ ПОД НОУТБУК / ТЕЛЕФОН
========================================================= */
@media (max-width: 850px) {
header {
padding: 0 15px;
}
header span {
display: none;
}
section {
padding: 35px 20px 110px;
}
.hero,
.two {
grid-template-columns: 1fr;
}
.hero h1 {
font-size: 72px;
}
.cards {
grid-template-columns: 1fr 1fr;
}
.gestures {
grid-template-columns: 1fr 1fr;
}
.photo {
min-height: 280px;
}
.check {
grid-template-columns: 1fr;
}
}
@media (max-width: 550px) {
.cards,
.os,
.gestures {
grid-template-columns: 1fr;
}
.hero h1 {
font-size: 58px;
}
.head h1 {
font-size: 38px;
}
footer {
gap: 10px;
}
footer button {
padding: 10px;
}
}