header
{
    margin-inline: auto;
    width: 90%;
    max-width: 1020px;
}
header nav
{
    margin-top: 25px;
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 100px -20px #0000001a;
}
header nav img { height: 55px }
header nav .burger
{
    cursor: pointer;
    display: none;
    padding: 15px 10px;
}
header nav .burger .icon
{
    display: block;
    position: relative;
    width: 25px;
    height: 3px;
    background-color: #000;
}
header nav .burger .icon::before
{
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: #000;
}
header nav .burger .icon::after
{
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: #000;
}
header nav .close
{
    cursor: pointer;
    display: none;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 10px;
}
header nav .close .icon::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-45deg);
    width: 35px;
    height: 3px;
    background-color: #000;
}
header nav .close .icon::after
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(45deg);
    width: 35px;
    height: 3px;
    background-color: #000;
}
header nav ul
{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    list-style-type: none;
    transition: .3s;
}
header nav ul li.active > a, header nav ul li.active > p { color: #000 }
header nav ul a, header nav ul p
{
    margin: 0;
    position: relative;
    font-size: 15px;
    color: #565656;
    text-align: center;
    text-decoration: none;
    font-family: 'Inter Medium';
    transition: .5s;
}
header nav ul li a::after, header nav ul li p::after
{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 0;
    background-color: #000;
    transition: .3s ease-in-out;
}
header nav ul li a:hover::after, header nav ul li p:hover::after { width: 100% }
header nav ul .drop { position: relative }
header nav ul .drop:hover .dropper { transform: translate(-50%, -50%) scale(1); }
header nav ul li .dropper
{
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background-color: #fff;
    width: fit-content;
    box-shadow: 0 0 10px 0 #0000001a;
    transition: .2s;
}
header nav ul li .dropper a, header nav ul li .dropper p
{
    cursor: pointer;
    margin: 0;
    padding: 7px 15px;
}
header nav ul li .dropper a.active, header nav ul li .dropper p.active { color: #000 }

header h1
{
    margin: 29px 0 0 0;
    font-size: 100px;
    line-height: 90%;
}

footer
{
    margin-top: 250px;
    padding: 70px 0 30px 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 100px;
    background-color: #000;
    color: #fff;
}
footer section { width: 220px }
footer section h5
{
    margin: 0;
    padding: 0;
    font-size: 20px;
}
footer section p
{
    display: inline-block;
    margin: 0;
    margin-top: 10px;
    font-size: 12px;
    color: #AEAEAE;
}
footer section p a
{
    display: inline;
    text-decoration: none;
    color: #AEAEAE;
}
footer img 
{ 
    padding: 10px;
    background-color: #fff;
    align-self: flex-end;
    height: 130px;
}

@media only screen and (max-width: 1170px) 
{
    footer { gap: 40px }
    footer section { width: 120px }
    footer section h5 { font-size: 15px }
    footer section p { font-size: 10px }
    footer img { width: 70px }
}
@media only screen and (max-width: 605px) 
{
    header nav .burger { display: block }
    header nav .close { display: block }
    header nav ul
    {
        margin: 0;
        padding-right: 50px;
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(300px);
        z-index: 10;
        height: 100%;
        flex-direction: column;
        gap: 45px;
        background-color: #fff;
        box-shadow: 0 0 10px 0 #0000001a;
    }
    header nav ul.on { transform: translateX(0) }
    header nav ul a, header nav ul p
    {
        margin: 0;
        position: relative;
        font-size: 25px;
        color: #565656;
        text-decoration: none;
        font-family: 'Inter Medium';
        transition: .5s;
    }
    header nav ul .drop > p { display: none; }
    header nav ul .drop:hover .dropper { transform: unset; }
    header nav ul li .dropper
    {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 45px;
        position: static;
        transform: unset;
        background-color: #fff;
        width: fit-content;
        box-shadow: none;
        transition: .2s;
    }
    header nav ul li .dropper a, header nav ul li .dropper p
    {
        cursor: pointer;
        margin: 0;
        padding: 7px 15px;
    }
    header nav ul .lan
    {
        position: absolute;
        bottom: 20px;
    }
    header nav ul .lan .dropper { gap: 15px }
    
    header h1 { font-size: 80px }
        
    footer
    {
        margin-top: 50px;
        flex-direction: column;
        align-items: center;
    }
    footer section { width: 80% }
    footer img 
    { 
        align-self: center;
        width: 130px;
        height: 130px;
    }
}