@font-face {
    font-family: PTG;
    src: url(../fonts/Prelo-Book.woff2) format("woff2");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: PTG;
    src: url(../fonts/Prelo-Bold.woff2) format("woff2");
    font-weight: bold;
    font-style: normal
}

/*RESET CSS*/
*, *::before, *::after{
    box-sizing: border-box; /* Set the sizing of an element to include it's border */
}

*{
    margin: 0; /* Set the default margin to 0 */
    padding: 0; /* Set the default padding to 0 */
}

ul[role='list'], ol[role='list']{
    list-style: none; /* Turn off numbered and unordered list decoration */
}

html:focus-within{
    scroll-behavior: smooth; /* Make the scrolling inside of any scrollable element smooth */
}

a:not([class]){
    text-decoration-skip-ink: auto; /* Makes link undelines look better */
}

img, picture, svg, video, canvas{
    max-width: 100%; /* Makes it responsive */
    height: auto; /* Makes it responsive */
    vertical-align: middle; /* Makes text next to inline images look better */
    font-style: italic; /* If the images don't load it makes the alt decription look better */
    background-repeat: no-repeat;
    /* The background repeat and size are there if you want to load a picture first like a backroung image that is worse quality while the better quality image loads */
    background-size: cover;
}

input, button, textarea, select{
    font: inherit; /* Makes these elements inherit fonts */
}

/* Turns off animation for people who don't want to see them */
@media (prefers-reduced-motion: reduce){
    html:focus-within {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition: none;
    }
}

body, html{
    scroll-behavior: smooth; /* Makes normal scrolling smooth */
}

/*RESET CSS*/

body {
    margin: 0;
    background-image: url(../img/back.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom;
    height: auto;
    font-size: 18px;
}
body, a {
    font-family: PTG;
    font-weight: 400;
}

* {
    box-sizing: border-box;
    transition: 0.4s ease all;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}
ul {
    padding: 0;
    margin: 0;
}
.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
}
.navbar .container {
    display: flex;
    flex-direction: row;
    height: 100%;
}
#activity ul {
    padding-left: 50px;
}
#activity b {
    margin: 20px 0 10px 0;
}
p {
    margin-bottom: 15px;
    text-align: justify;
}
.navbar {
    background: white;
    color: black;
    padding: 15px;
    width: 100%;
    height: 85px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}
.navbar .logo img {
    max-height: 100%;
}
.navbar .logo {
    height: 100%;
    max-width: 50vw;
}
.navbar ul.links {
    margin-left: auto;
    margin-right: 50px;
    list-style: none;
    display: flex;
    align-items: center;
    transition: 0.4s ease all, 0s ease background;
}
.navbar ul.links li {
    text-transform: uppercase;
    padding: 0 15px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s ease all, 0s ease margin;
}
.navbar ul.links li a {
    text-decoration: none;
    color: black;
}
.navbar ul.links li:hover {
    background: #e52636;
    cursor: pointer;
}
.navbar ul.links li:hover a {
    color: white;
}
button {
    background: #e52636;
    outline: none;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 25px;
    border: 1px solid #e52636;
    letter-spacing: 1px;
}
button:hover {
    cursor: pointer;
    transform: scale(1.1);
    color: white;
    background: #222;
    border-color: #000;
}
.content {
    background-size: cover;
    height: calc(100vh - 65px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.content h2 {
    color: #e52636;
}
.navbar.sticky {
    position: fixed;
    z-index: 40;
}
.navbar.sticky ~ main {
    position: relative;
    z-index: 20;
    top: 65px;
}
h2 {
    font-family: PTG;
    font-weight: bold;
    padding: 20px 0;
    font-size: 2em;
}
section {
    padding-top: 85px;
}
.wrap-address {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
}
.wrap-address .left, .wrap-address .right {
    width: 50%;
}
.wrap-address .left a, .link-pdf {
    color: #e52636;
    transition: 0.3s;
    text-decoration: none;
}
.wrap-address .left a:hover, .link-pdf:hover {
    text-decoration: underline;
}
#contacts {
    padding-bottom: 50px;
}
#contacts iframe {
    width: 100%;
}
.wrap-address .right {
    border-radius: 10px;
    overflow: hidden;
}
#about img {
    float: right;
    width: 41%;
    margin-top: -50px;
    margin-left: 30px;
    border-radius: 10px;
}
.al-right {
    float: right;
    width: 41%;
    margin-top: 50px;
    margin-left: 30px;
    border-radius: 10px;
}
.al-left {
    float: left;
    width: 41%;
    margin-top: 18px;
    margin-right: 30px;
    border-radius: 10px;
}
.stat {
    display: flex;
    flex-direction: row;
}
.stat .wrap-item {
    display: flex;
    flex-direction: column;
    padding: 0 40px 30px 0;
}
.stat .wrap-item .number {
    font-size: 24px;
    font-weight: bold;
    color: #e52636;
}
@media screen and (max-width: 850px) {
    #about img, .al-right, .al-left {
        float: none;
        margin: 10px 0 !important;
        width: 100%;
    }
    .wrap-address {
        flex-direction: column;
    }
    .wrap-address .left, .wrap-address .right {
        width: 100%;
    }
    .wrap-address .left {
        margin-bottom: 20px;
    }
    .navbar .right {
        height: 0;
        overflow: hidden;
    }
    .toggle {
        position: absolute;
        top: 32.5px;
        right: 20px;
        z-index: 99;
        transform: translateY(-50%);
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .toggle > * {
        width: 80%;
        height: 2px;
        background: black;
        margin: 3px 0;
    }
    .navbar.collapsed .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .navbar.collapsed .toggle .line2 {
        opacity: 0;
    }
    .navbar.collapsed .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    .navbar .links {
        position: fixed;
        background: #080808;
        z-index: 40;
        top: 0;
        left: -100%;
        flex-direction: column;
        width: 75vw;
        height: 100vh;
    }
    .navbar .links li:first-child {
        margin-top: 80px;
    }
    .navbar.collapsed .links {
        left: 0;
    }
    .navbar.collapsed .links a {
        color: #fff;
    }
    .navbar.collapsed .links li {
        width: 100%;
    }
    .navbar.collapsed .links li:hover a {
        color: #080808;
    }
    .navbar.collapsed .right {
        position: fixed;
        width: 45vw;
        text-align: center;
        height: auto;
        bottom: 40px;
        left: 22.5vw;
        transform: translateX(-50%);
        z-index: 45;
    }
    .navbar.collapsed ~ main {
        filter: blur(1px);
        opacity: 0.8;
    }
    .navbar.sticky {
        position: fixed;
        z-index: 40;
    }
}
