section
{
    height: 100dvh;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    color: white;
    background: radial-gradient(circle, #444 0%, #000 100%);
}
section>div
{
    width: 50%;
}
section h1,
section h2,
section p,
section i
{
    color: white;
}
section a:hover
{
    cursor: pointer;
}
section .cp-img
{
    position: relative;
}
section .cp-img img.active
{
    opacity: 1;
    visibility: visible;
}
section .cp-img img
{
    position: absolute;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    width: 80vw;
    max-height: 100dvh;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.25s ease-in-out;
}
section .cp-desc
{
    z-index: 1;
    align-self: center;
    font-size: 28pt;
    text-align: right;
    margin-right: 50px;
    margin-bottom: 50px;
}
section .cp-desc i
{
    display: block;
    font-weight: bold;
    max-width: 30vw;
    margin-left: auto;
}
section .cp-desc p
{
    margin-left: auto;
    font-size: 16pt;
    max-width: 30vw;
}
section .cp-desc .contact-block
{
    display: flex;
    gap: 20px;
    margin-left: auto;
    width: fit-content;
    margin-top: 40px;
    transition: opacity 0.25s ease-in-out;
}
section .cp-desc .contact-block a
{
    font-size: 15pt;
    font-weight: bold;
    display: block;
    padding: 15px 25px;
    color: #333;
    background: white;
    margin: 0;
    line-height: unset;
}
section .config-block
{
    display: flex;
    justify-content: end;
    gap: 20px;
    margin-top: 40px;
}
section .config-block input
{
    appearance: none;
    position: absolute;
    inset: 0;
    margin: 0;
}
section .config-block label
{
    display: block;
    font-size: 14pt;
    font-weight: bold;
    padding: 10px 20px;
    background: white;
    opacity: 0.5;
    position: relative;
    color: #333;
    transition: all 0.25s ease-in-out;
}
section .config-block input:hover
{
    cursor: pointer;
}
section .config-block label:has(input:checked)
{
    opacity: 1;
    transform: scale(1.2);
}
section .cp-img
{
    width: 100%;
    height: 100%;
}
section .cp-img img
{
    object-fit: contain;
    width: 100%;
    height: 100%;
    top: 0;
}
dialog
{
    background: whitesmoke;
    border: 0;
    color: #333;

    border-radius: 20px;

    width: 100%;
    height: 100dvh;
    max-width: 650px;
    max-height: 900px;

    &::backdrop
    {
        background: #000C;
    }

    & button
    {
        float: right !important;
        border: 0;
        padding: 10px 15px;
        border-radius: 10px;
        background: whitesmoke;
        font-weight: bold;
        font-size: 14pt;
    }
}

section a:focus
{
    /*border: 5px solid #056191;*/
    outline-offset: 5px;
    outline-color: #056191;
    outline-width: 5px;
}
section input:focus
{
    outline-offset: 5px;
    outline-color: #056191;
    outline-width: 5px;
    /*border: 5px solid #056191;*/
}

h1.heading
{
    text-align: center;
    font-size: 48pt;
    color: white;
    position: absolute;
    top: 35px;
}

/* MOBILE FIXES */
@media (max-width: 950px)
{
    section
    {
        height: fit-content;
        flex-direction: column;
        padding-bottom: 50px;
    }
    section:first-child
    {
        padding-top: 100px;
    }
    section .cp-desc
    {
        font-size: 16pt;
        margin: 0;
        width: 100%;
        text-align: center;

        & i, p
        {
            margin: 0;
            display: block;
            max-width: unset;
        }
    }
    section .config-block
    {
        justify-content: center;
    }
    section .cp-desc .contact-block
    {
        opacity: 1;
        gap: 5px;
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }
    section .cp-img
    {
        width: 100%;
        height: 400px;
    }
}
