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

html{
    font-size: 16px;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #272626;
    line-height: 1.7;
    font-weight: 400;
    direction: ltr;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
     display: flex;
    flex-direction: column;
}
html, body {
    height: 100%;
}


body.menu-open {
    background-color: rgba(0,0,0,0.5);
}

h1, h2, h3, h4, h5, h6, p {
    margin-bottom: 1.875rem; 
}

/* ---------------------HEADER------------------ */
header{
    width: 100%;
    text-align: center;
    align-items: center;
    background:#ffffff;
}

.mobile-menu{
    display: none;
    border: 1px solid #000; 
    padding: 0.3125rem; 
}

.mobile-menu img{
    display: block;
    width: 1.5625rem; 
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100dvh;
    overflow-y: auto;

    display: flex;
    flex-direction: column;

    background: #fff;
    color: #000;
    transition: 0.3s;
    z-index: 1000;
    padding: 1.25rem; 
}

#closeBtn{
    border: 1px solid #000;
    padding: 0.3125rem;
}

#closeBtn img{
    display: block;
    width: 1.5625rem;
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: flex-end;
    cursor: pointer;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.sidebar-bottom{
    margin-top: auto;
}

.sidebar-content a {
    text-align: start;
    display: block;
    color: #272626;
    text-decoration: none;
    padding: 0.9375rem; 
    white-space: normal;
    font-size: 1.5rem; 
}
.sidebar-content a:hover{
    color:#2f5aae;
}

.sidebar-footer-menu{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.sidebar-footer-menu li{
    list-style: none;
}
.sidebar-footer-menu li a{
    padding: 0;
}
.logo-container{
    max-width: 75rem; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    padding: 1.25rem; 
}

.logo-container a{
    text-decoration: none;
    color: #272626;
   
}
.logo-container a:hover{
    color:#2f5aae;
}

.button{
    width: 100%;
    display: flex;
    flex-direction: column;
}

.button a{
    text-decoration: none;
    width: 100%;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.125rem; 
    text-shadow: 0rem 0rem 0.25rem black; 
    text-align: center;
    border: 0.0625rem solid #282b2e;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.875rem; 
    color: #f3f1f1;
    border-color: #282b2e;
}

.blue-btn{
    background-color: #0079fd;
    padding: 0.3rem 0;
}

.green-btn{
   background-color: #009136;
   padding: 0.9rem  0;
}

/* -----------------CONTAINER----------------- */

.container{
    max-width: 1200px; 
    margin: 0 auto;
    flex: 1;
}

.main-page ul{
    margin-left: 1.125rem; 
    margin-bottom: 1.875rem; 
}

.title{
    font-size: 2.5rem; 
    font-weight: 700;
    line-height: 1.1;
}

figure{
    max-width: 404px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 1.875rem;
}

figure img{
    width: 100%;
    height: auto;
    display: block;
}

.subtitle{
    font-size: 2rem; 
    font-weight: 700;
    line-height: 1.2;
}

.link{
    text-decoration: none;
    color: #2f5aae;
    cursor: pointer;
}
.social-media{
    margin-top: -1.5em;
    display: flex;
}

/* ---------------FOOTER--------------- */

footer {
    margin-top: auto;
}

.footer-container{
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(1.25rem / 2 * -1); 
    margin-left: calc(1.25rem / 2 * -1);
}

.footer-menu{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 30%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 1em;
}

.footer-menu li{
    list-style: none;
}

.footer-menu li a{
    text-decoration: none;
    min-height: 1.5625rem; 
    color: #272626;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
}
.footer-menu li a:hover{
    color:#2f5aae;
}
.footer-bottom{
    background-color: #121212;
    color: #ffffff;
}

.bottom-text{
    padding: 0.9375rem 0; 
}

.bottom-text p{
    margin: 0;
}

.page2{
    margin-top: 2em;
}
.about{
    text-align: center;
}
/* ------------------RESPONSIVE------------------ */

@media (max-width: 1024px){ 
   
    .user-name{
        display: none;
    }

    .mobile-menu{
        display: block;
    }

    .container{
        padding: 0 1rem;
    }

    .footer-container{
        display: none;
    }
    .social-media{
        flex-direction: column;
    }
}