:root
{
    --section-gap: 5px;
}

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html
{
    width: 100%;
    overflow-x: hidden;
}

body
{
    animation: pageLoad 1s ease;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main
{
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes pageLoad 
{
    from 
    {
        opacity: 0;
    }

    to 
    {
        opacity: 1;
    }
}


/* =========================
   HEADER
========================= */

.hat
{
    padding: 20px 20px;
    background-color: rgb(218, 254, 222);
}

.hat_container
{
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
}

.header_nav
{
    display: flex;
    align-items: center;
    gap: 100px;
}

.header_list
{
    display: flex;
    list-style: none;
    gap: 50px;
}

.header_list-link
{
    font-family: "Google Sans", sans-serif;
    font-weight: 500;
    color: rgb(80, 77, 77);
    font-size: 20px;
    transition: color 0.3s;
}

.header_list-link.active
{
    color: black;
    border-bottom: 2px solid black;
    padding-bottom: 10px;
}

.header_list-link:hover
{
    color: black;
}

a
{
    text-decoration: none;
}


/* =========================
   MAIN
========================= */

.main_obj
{
    /* width: 100%;
    max-width: 1000px;

    display: flex;
    align-items: center;
    gap: 100px;

    margin: var(--section-gap) auto 0;
    padding: 0 20px; */

    display: flex;
    align-items: center;
    gap: 100px;

    width: 100%;
    max-width: 1000px;

    margin: 0 auto;
    padding: 0 20px;
}

.main_obj > img
{
    display: block;
    width: 250px;
    max-width: 100%;
    height: auto;
}

.main_info
{
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.main_info h2
{
    font-family: "Google Sans", sans-serif;
    font-size: 32px;
    margin-bottom: 30px;
}

.main_list
{
    display: flex;
    flex-direction: column;

    gap: 50px;

    list-style: none;
}

.main_list li
{
    position: relative;

    padding-left: 35px;

    font-family: "Google Sans", sans-serif;
    font-size: 21px;
    line-height: 1.4;

    color: rgb(0, 0, 0);
}

.main_list li::before
{
    content: "✓";

    position: absolute;
    left: 0;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    border-radius: 50%;

    background-color: rgb(218, 254, 222);

    color: rgb(35, 120, 55);

    font-size: 15px;
    font-weight: bold;
}


/* =========================
   SUPPORT
========================= */

.support
{
    width: 100%;
    margin-top: var(--section-gap);
    padding: 20px;
}

.support_container
{
    width: 100%;
    max-width: 1200px;

    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;
}

.support_text
{
    flex: 1;
    min-width: 0;

    font-family: "Google Sans", sans-serif;
    font-size: 14px;
    line-height: 1.5;

    color: rgb(0, 0, 0);
    text-align: center;
}

.support_images
{
    display: flex;
    align-items: center;

    gap: 30px;

    flex-shrink: 0;
}

.support_image
{
    width: 130px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.support_image img
{
    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* =========================
   FOOTER
========================= */

.footer
{
    width: 100%;

    background-color: rgb(232, 230, 230);

    margin-top: var(--section-gap);
    padding: 5px 20px;
}

.footer_container
{
    width: 100%;
    max-width: 1000px;

    margin-inline: auto;

    font-family: "Google Sans", sans-serif;
    font-size: 16px;

    text-align: center;
}

.footer_container p
{
    margin-bottom: 5px;
}

.footer_container p:last-child
{
    margin-bottom: 0;
}

.footer_support
{
    max-width: 400px;

    font-family: "Google Sans", sans-serif;
    font-size: 16px;

    text-align: justify;

    margin-left: 10px;
}

.footer_support p
{
    white-space: normal;
    overflow-wrap: break-word;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px)
{
    .header_nav
    {
        gap: 50px;
    }

    .header_list
    {
        gap: 30px;
    }

    .main_obj
    {
        gap: 50px;
    }

    .main_info h2
    {
        font-size: 28px;
    }

    .main_list
    {
        gap: 30px;
    }

    .main_list li
    {
        font-size: 19px;
    }

    .support_container
    {
        gap: 30px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 650px)
{
    /* HEADER */

    .hat
    {
        padding: 15px 20px;
    }

    .header_nav
    {
        flex-direction: column;
        gap: 20px;
    }

    .header_list
    {
        gap: 25px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .header_list-link
    {
        font-size: 18px;
    }

    .header_list-link.active
    {
        padding-bottom: 5px;
    }


    /* MAIN */

    .main_obj
    {
        flex-direction: column;

        gap: 30px;

        margin-top: var(--section-gap);

        padding: 0 20px;

        text-align: center;
    }

    .main_obj > img
    {
        width: 220px;
    }

    .main_info
    {
        width: 100%;
    }

    .main_info h2
    {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .main_list
    {
        gap: 20px;

        text-align: left;
    }

    .main_list li
    {
        font-size: 18px;
        padding-left: 35px;
    }


    /* SUPPORT */

    .support
    {
        padding: 20px;
    }

    .support_container
    {
        flex-direction: column;
        gap: 20px;
    }

    .support_text
    {
        order: 2;

        width: 100%;
        font-size: 14px;
    }

    .support_images
    {
        order: 1;

        justify-content: center;
        flex-wrap: wrap;
    }

    .support_image
    {
        width: 120px;
        height: 90px;
    }


    /* FOOTER */

    .footer
    {
        padding: 5px 15px;
    }

    .footer_container
    {
        font-size: 14px;
    }
}


/* =========================
   VERY SMALL PHONES
========================= */

@media (max-width: 400px)
{
    .header_list
    {
        gap: 15px;
    }

    .header_list-link
    {
        font-size: 16px;
    }

    .main_obj > img
    {
        width: 190px;
    }

    .main_info h2
    {
        font-size: 23px;
    }

    .main_list li
    {
        font-size: 16px;
    }

    .support_images
    {
        gap: 15px;
    }

    .support_image
    {
        width: 100px;
        height: 75px;
    }
}


.contacts
{
    display: flex;
    align-items: center;
    gap: 100px;

    width: 100%;
    max-width: 1000px;

    margin: 0 auto;
    padding: 40px 20px;
}

.contacts_intro
{
    flex: 1;
    min-width: 0;
}

.contacts_intro h1
{
    font-family: "Google Sans", sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
}

.contacts_intro p
{
    font-family: "Google Sans", sans-serif;
    font-size: 19px;
    line-height: 1.5;
}

.contacts_list
{
    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 35px;

    list-style: none;
}

.contacts_item
{
    display: flex;
    flex-direction: column;
    gap: 4px;

    padding-left: 20px;
    border-left: 4px solid rgb(218, 254, 222);

    font-family: "Google Sans", sans-serif;
}

.contacts_label
{
    font-size: 14px;
    color: rgb(80, 77, 77);
}

.contacts_value
{
    font-size: 21px;
    font-weight: 500;
    color: black;
    overflow-wrap: anywhere;
}

a.contacts_value
{
    align-self: flex-start;
    border-bottom: 2px solid rgb(218, 254, 222);
    transition: border-color 0.3s;
}

a.contacts_value:hover
{
    border-bottom-color: rgb(35, 120, 55);
}

.contacts_role
{
    font-size: 16px;
    color: rgb(80, 77, 77);
}


/* ---- Contacts: TABLET ---- */

@media (max-width: 900px)
{
    .contacts
    {
        gap: 50px;
    }

    .contacts_intro h1
    {
        font-size: 28px;
    }

    .contacts_intro p
    {
        font-size: 18px;
    }

    .contacts_value
    {
        font-size: 19px;
    }
}


/* ---- Contacts: MOBILE ---- */

@media (max-width: 650px)
{
    .contacts
    {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .contacts_intro h1
    {
        font-size: 26px;
    }

    .contacts_intro p
    {
        font-size: 17px;
    }

    .contacts_list
    {
        gap: 25px;
    }

    .contacts_value
    {
        font-size: 18px;
    }
}


/* ---- Contacts: VERY SMALL PHONES ---- */

@media (max-width: 400px)
{
    .contacts_intro h1
    {
        font-size: 23px;
    }

    .contacts_value
    {
        font-size: 16px;
    }
}

.system
{
    display: flex;
    align-items: center;
    gap: 80px;

    width: 100%;
    max-width: 1000px;

    margin: 0 auto;
    padding: 40px 20px;
}

.system_photo
{
    flex: 0 0 380px;
    aspect-ratio: 3 / 4;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px dashed rgb(160, 200, 168);
    border-radius: 12px;
    background-color: rgb(238, 250, 240);

    font-family: "Google Sans", sans-serif;
    font-size: 16px;
    color: rgb(80, 77, 77);
}

.system_photo img
{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.system_info
{
    flex: 1;
    min-width: 0;
}

.system_info h1
{
    font-family: "Google Sans", sans-serif;
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 30px;
}

.system_specs
{
    display: flex;
    flex-direction: column;

    font-family: "Google Sans", sans-serif;
}

.system_spec
{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;

    padding: 14px 0;
    border-bottom: 1px solid rgb(218, 254, 222);
}

.system_spec:first-child
{
    border-top: 1px solid rgb(218, 254, 222);
}

.system_spec dt
{
    font-size: 17px;
    color: rgb(80, 77, 77);
}

.system_spec dd
{
    font-size: 21px;
    font-weight: 500;
    color: black;
    text-align: right;
    white-space: nowrap;
}


/* ---- System: TABLET ---- */

@media (max-width: 900px)
{
    .system
    {
        gap: 40px;
    }

    .system_photo
    {
        flex-basis: 300px;
    }

    .system_info h1
    {
        font-size: 28px;
    }

    .system_spec dd
    {
        font-size: 19px;
    }
}


/* ---- System: MOBILE ---- */

@media (max-width: 650px)
{
    .system
    {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .system_photo
    {
        flex: none;
        width: 100%;
        max-width: 320px;
        margin-inline: auto;
    }

    .system_info h1
    {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .system_spec dt
    {
        font-size: 16px;
    }

    .system_spec dd
    {
        font-size: 18px;
    }
}


/* ---- System: VERY SMALL PHONES ---- */

@media (max-width: 400px)
{
    .system_info h1
    {
        font-size: 23px;
    }

    .system_spec
    {
        flex-direction: column;
        gap: 2px;
    }

    .system_spec dd
    {
        text-align: left;
    }
}
