:root {
    --theme-blue: #2c68ae;
    --gradient-blue: rgba(97, 152, 217, 1);
}

* {
    margin: 0;
    box-sizing: border-box;
    font-family: Barlow, sans-serif;
    color: #626262;
    padding: 0;
    transition: all 0.2s;
}

select {
    font-family: Barlow, sans-serif;
}

a {
    color: inherit;
    text-decoration: underline;
}

html {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

body {
    width: 100%;
    height: 100%;
}

main {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

#left-panel {
    flex-grow: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 50%;
    background: rgb(97, 152, 217);
    background: radial-gradient(circle, var(--gradient-blue) 0%, var(--theme-blue) 74%);
}

#right-panel {
    position: relative;
    flex-grow: 2;
    gap: 2rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.links {
    padding: 2rem;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    color: #fff;
}

.links.mobile {
    margin-top: auto;
    color: inherit;
}

#cover-img {
    width: 100%;
    height: calc(90% - 200px);
}

#line1 {
    position: absolute;
    right: -40px;
    width: 100%;
    height: 200px;
    top: 160px;
    border-top: 2px solid #aaa4;
    border-right: 3px solid #aaa4;
    border-bottom: none;
    border-left: none;
    transform: skewX(45deg);
    pointer-events: none;
}

#line2 {
    position: absolute;
    width: 100%;
    height: 400px;
    top: max(450px, 50vh - 500px);
    border-bottom: 2px solid var(--theme-blue);
    border-left: 3px solid var(--theme-blue);
    border-top: none;
    border-right: none;
    transform: skewX(45deg);
    pointer-events: none;
}

#contacts {
    padding: 2rem;
    align-self: flex-end;
}

#main-logo {
    height: 240px;
    width: 500px;
    margin-top: 60px;
}

.input-container {
    position: relative;
    min-width: 300px;
    padding: 1rem;
    padding-right: 0;
    display: flex;
    flex-direction: row;
}

.input-bend {
    width: calc(100% - 1rem);
    height: 20px;
    bottom: 2px;
    position: absolute;
    transform: skewX(45deg);
    border-left: 1.5px solid currentColor;
    border-bottom: 1px solid currentColor;
    border-top: none;
    border-right: none;
    pointer-events: none;
}

input {
    border: none;
    width: 100%;
    font-size: 1rem;
}

.hexagon {
    clip-path: polygon(25px 2px, 175px 2px, 198px 25px, 175px 48px, 25px 48px, 2px 25px);
    background: rgb(97, 152, 217);
    background: linear-gradient(180deg, rgba(97, 152, 217, 1) 30%, rgba(44, 104, 174, 1) 79%);
}

.hexagon p.btn {
    width: 196px;
    background: #fff;
    color: #424242;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(25px 6px, 170px 6px, 188px 25px, 170px 43px, 25px 43px, 7px 25px);
}

.ghost {
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgb(233, 240, 249) 20%, rgb(102, 154, 214) 78%);
}

.btn {
    height: 50px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.8;
}

.buttons-container {
    margin-top: 32px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    /* max-width: 80%; */
}

.hollow-wrapper {
    position: relative;
}

.hollow-wrapper span {
    position: absolute;
    inset: 0;
    text-align: center;
    align-self: center;
    color: #888;
}

#main-logo {
    object-fit: contain;
    max-height: 240px;
    z-index: 1;
}

#white-logo {
    padding: 1rem;
    object-fit: contain;
    object-position: left center;
    height: 160px;
}

#cover-img {
    object-fit: contain;
}

.icon {
    min-width: 1.8rem;
    min-height: 1.8rem;
    border-radius: 2px;
    border: 1px solid currentColor;
    transform: rotate(45deg);
    margin-right: 1.2rem;
}

.icon svg {
    transform: rotate(-45deg);
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile {
    display: none;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/*
.log-in-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
*/

.login-form h3 {
    text-align: center;
}

@media (max-width: 800px) {
    #left-panel {
        display: none;
    }

    .mobile {
        display: flex;
    }

    #line1,
    #line2 {
        display: none;
    }
}

form {
    display: contents;
}