:root {
    --bs-primary: #64c8c8;
    --bs-link-color: #fff;
    --bs-link-hover-color: #64c8c8;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-image: url(../images/bg.svg);
    background-size: 110%;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: white;
}


body {
    padding: 32px;
    color: white;
    background-color: #17171C;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2 {
    color: var(--bs-primary);
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header img {
    width: 150px;
    margin-bottom: 32px;
}

header a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

ul.links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 30px;
}

ul.links li div.box .badge {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    right: 1rem;
    font-size: 0.8rem;
    background: red;
}

ul.links li div.box {
    height: 6rem;
    border-radius: 0.7rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 1rem;
}

ul.links li a {
    color: #fff;
    transition: transform 0.3s ease;
    transform: scale(1.0);
    display: block;
}

ul.links li a:hover {
    transform: scale(1.05);
    color: #fff;
}
	
	.box {
		font-size: 2.5rem;
	}


.saint_petersburg {
    color: #17171c;
}

@media (max-width:768px) {
    body {
        padding: 32px 0;
        background-image: none;
        font-size: 14px;
    }

    header img {
        width: 75px;
    }

    .h1, h1 {
        font-size: calc(1.375rem + 1vw);
    }

    .h4, h4 {
        font-size: 18px;
    }

    ul.links {
        grid-template-columns: repeat(1, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 10px;
    }

    .mb-3,
    .mb-4,
    .mb-5 {
        margin-bottom: 1rem !important;
    }
}