@import url('https://fonts.gooleapis.com/css?family-Poppins:200,300,400,500,600,700,800,900&display=swap');

:root
{
    --h1: bold max(36px, 4vw) / max(48px, 5vw);
    --background-color: #000b3c;
    --icon-color: black;
    --on-hover: rgb(0, 178, 237);
    --text-color: black;
    --text-on-bg: white;
}

*
{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html
{
    scroll-behavior: smooth;
}

body
{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    overflow-x: hidden;
}

section
{
    width: 100%;
    align-items: center;
    min-height: 70vh;
    margin: 0px auto;
}

#toTop
{
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: whitesmoke;
    border: 2px solid var(--background-color);
    border-radius: 10px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 3px 0 var(--background-color);
    transition: all 0.3s ease-in;
    transition: 
        transform 0.3s
        box-shadow 0.3s
}

#toTop:active
{
    transform: translateY(3px);
    box-shadow: none;
}

#toTop .top
{
    width: 30px;
}

header
{
    position: sticky;
    min-height: 70px;
    top: 0;
    left: 0;
    padding: 0 70px;
    background: var(--background-color);
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #000;
    z-index: 1000;
}

header a .logo
{
    top: 10px;
    position: absolute;
    height: 70px;
    line-height: 50px;
    float: left;
}

header a .logo .menu_logo
{
    width: 40px;
    height: auto;
}

header nav
{
    float: right;
}

header nav ul
{
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li
{
    list-style: none;
}

header nav ul li a
{
    height: 70px;
    line-height: 70px;
    padding: 0 20px;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-right: 2px;
    transition: all 0.2s ease-out;
}

header nav ul li a:hover,
header nav ul li a.active
{
    background: var(--on-hover);
}

header .menu-toggle
{
    position: relative;
    top: 12px;
    fill: #fff;
    float: right;
    cursor: pointer;
    display: none;
}

header .menu-toggle .menu
{
    width: 30px;
}

@media (max-width: 850px)
{
    header
    {
        padding: 20px 20px;
    }
    header a .logo
    {
        top: 10px;
        height: 30px;
    }
    header .menu-toggle
    {
        display: block;
        position: static;
    }
    header nav
    {
        position: absolute;
        width: 100%;
        height: auto;
        background: var(--background-color);
        top: 70px;
        left: -100%;
        transition: 0.5s;
    }
    header nav.show
    {
        left: 0;
    }
    header nav ul
    {
        display: block;
        text-align: center;
    }
    header nav ul li a
    {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        margin-right: 0;
        margin-bottom: 2px;
    }
}

footer
{
    width: 100%;
    position: relative;
    background: var(--background-color);
    display: grid;
    padding: 50px 50px;
    height: auto;
    justify-content: center;
    align-content: end;
}

footer .container
{
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-gap: 20px;
}

footer .container .sec h2
{
    position: relative;
    color: var(--text-on-bg);
    font-weight: 600;
    margin-bottom: 15px;
}

footer .container .sec p
{
    color: var(--text-on-bg);
}

footer .container .sec .sci
{
    margin-top: 20px;
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(5,50px);
}

footer .container .sec .sci li
{
    list-style: none;
}

footer .container .sec .sci li a
{
    display: inline-block;
    width: 36px;
    height: 36px;
    display: grid;
    justify-content: center;
    align-items: center;
}

footer .container .sec ul li a
{
    color: var(--text-on-bg);
    transition: all 0.3s ease-in-out;
}


footer .container .sci li a .icon:hover
{
    padding: 5px;
    border-radius: 50%;
    border: 1px solid var(--on-hover);
    filter: drop-shadow(0 0 10px var(--on-hover));
}

footer .container .sec ul li a:hover
{
    color: var(--on-hover);
}

footer .icon
{
    width: 30px;
    fill: var(--text-on-bg);
    height: auto;
    transition: all 0.3s ease-in;
}

footer .icon:hover
{
    fill: var(--on-hover);
}

footer .container .quicklinks
{
    position: relative;
}

footer .container .quicklinks ul li
{
    list-style: none;
}

footer .container .quicklinks ul li a
{
    margin-bottom: 10px;
    display: inline-block;
}

footer .container .contact .info
{
    position: relative;
}

footer .container .contact .info li
{
    display: grid;
    grid-template-columns: 30px 1fr;
    grid-gap: 10px;
    margin-bottom: 16px;
    justify-content: center;
    align-items: center;
}

footer .container .contact .info li a
{
    color: var(--text-on-bg);
}

@media (max-width: 950px)
{
    footer
    {
        padding: 50px 40px;
    }

    footer .container
    {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }
}

@media (max-width: 700px)
{
    footer .container
    {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 450px)
{
    footer .container .sec .sci
    {
        grid-template-columns: repeat(3,60px);
    }
    .copyrightText p
    {
        font-size: 10px;
    }
}

.copyrightText
{
    display: flex;
    padding: 4px;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.copyrightText p
{
    font-size: 15px;
    color: var(--text-color);
}

.copyrightText p a
{
    color: red;
}

@media (max-width: 520px)
{
    .copyrightText p
    {
        font-size: 12px;
    }    
}