/*
===============================================
ШАРИФТ
===============================================
*/
@font-face {
font-family: 'Overused Grotesk'; /* Имя, которое мы будем использовать в CSS */
/*
Указываем путь к файлу и его формат 'opentype' для .otf.
ВАЖНО: Замените 'OverusedGrotesk-Regular.otf' на точное имя вашего файла.
*/
src: url('fonts/OverusedGrotesk-Regular.otf') format('opentype');
/* Если у вас есть разные файлы для разной жирности, нужно будет создать несколько @font-face правил.
Для начала этого достаточно. */
font-weight: normal; /* или 400 */
font-style: normal;
}
/* Если у вас есть отдельный файл для жирного начертания, например, OverusedGrotesk-Bold.otf,
добавьте еще одно правило:
@font-face {
font-family: 'Overused Grotesk';
src: url('fonts/OverusedGrotesk-Bold.otf') format('opentype');
font-weight: bold; // или 700
font-style: normal;
}
*/
/*
===============================================
ОСНОВНЫЕ СТИЛИ
===============================================
*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
/* Применяем наш шрифт */
font-family: 'Overused Grotesk', sans-serif;
background-color: #0d0d0d;
color: #e0e0e0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
text-align: center;
padding: 20px;
}
.main-container {
width: 100%;
max-width: 700px;
padding: 40px;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 24px;
background: rgba(255, 255, 255, 0.03);
}
h1 {
font-size: 3rem;
font-weight: bold; /* Используем жирное начертание, если оно подключено */
margin-bottom: 8px;
letter-spacing: -1px;
}
h2 {
font-size: 1.25rem;
font-weight: normal; /* Используем обычное начертание */
margin-bottom: 40px;
color: #888;
}
.token-name {
color: #9d00ff;
font-weight: bold;
}
#countdown {
display: flex;
justify-content: center;
gap: 20px;
margin-bottom: 50px;
}
.time-unit {
display: flex;
flex-direction: column;
align-items: center;
}
.time-unit span {
font-size: 3.5rem;
font-weight: bold;
line-height: 1;
color: #ffffff;
}
.time-unit label {
font-size: 0.875rem;
text-transform: uppercase;
color: #888;
letter-spacing: 1.5px;
margin-top: 10px;
}
.cta-button {
display: inline-block;
background-color: #9d00ff;
color: #ffffff;
padding: 16px 32px;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
font-size: 1rem;
transition: transform 0.2s ease, background-color 0.2s ease;
border: none;
}
.cta-button:hover {
transform: scale(1.05);
background-color: #af33ff;
}
.sale-live {
font-size: 2rem;
color: #9d00ff;
font-weight: bold;
}
/* Стили для мобильных устройств */
@media (max-width: 600px) {
.main-container {
padding: 25px;
border: none;
background: none;
}
h1 {
font-size: 2.5rem;
}
h2 {
font-size: 1rem;
}
#countdown {
gap: 15px;
}
.time-unit span {
font-size: 2.5rem;
}
}