* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
	font-family: 'Widock TRIAL'; 
	src: local('Widock TRIAL Bold'), url(assets/fonts/WidockTRIALBold.otf);
}

body {
    font-family: Widock TRIAL;
    background-color: #ffffff;
    color: #333;
}

nav ul li {
    flex: 1 0 360px;
    font-family: Widock TRIAL;
    font-size: 1.2em;
    text-transform: uppercase;
}

header {
    background: linear-gradient(to right, #4a6de2, #1e00a5);
    color: white;
    text-align: center;
    padding: 50px 0;
}

header h1 {
    font-size: 6em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

header p {
    font-size: 2.5vh;
}

main {
    display: flex;
    justify-content: center;
    align-items: self-start;
    height: calc(100vh - 200px);
    background-size: cover;
    background-image: linear-gradient(to bottom, rgba(233, 255, 255, 0.493), rgb(255, 255, 255)), url(assets/bg.jpg);
}

nav {
    display: flex;
    justify-content: center;
    margin: 40px;
}

nav ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}



.button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75px; 
    font-size: 1.2em;
    color: white;
    background-color: #2833c9; 
    text-decoration: none;
    border-radius: 20px;
    text-align: center; 
    transition: transform .2s, background-color .2s;
}

.button:hover {
    background: #100e92; 
    transform: scale(1.05);
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em; /* уменьшение размера заголовка */
    }

    nav ul li {
        font-size: 1em; /* уменьшение размера шрифта в навигации */
    }

    .button {
        height: 50px;
        font-size: 1em; /* уменьшение размера шрифта кнопок */
    }
}