@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --cc-bgcolor: #030f1a;
    --cc-hicolor: #8fb5cc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Urbanist', sans-serif;
}

/* MAIN CONTACT CONTAINER */
.contact {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    transition: 0.8s;
    z-index: 2;
    background: linear-gradient(315deg, rgba(227, 236, 243, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.contact.active {
    right: 150px;
}

/* FIXED HEADER like .archive */
.contact header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.8s;
}

.contact.contact.active header {
    transform: translateX(-150px);
}

/* FORM CENTERING */
.form {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7rem 1rem 0; /* avoids header overlap */
}

.contact h2 {
    font-size: 50px;
    color: var(--cc-hicolor);
    font-weight: bold;
}

/* FORM INPUTS */
.contact-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-inputs {
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: #666;
    border-radius: 5px;
    transition: .2s ease;
}

.contact-left textarea {
    height: 140px;
    padding-top: 15px;
}

.contact-inputs:focus {
    border: 2px solid var(--cc-hicolor);
}

.contact-inputs::placeholder {
    color: gainsboro;
}

.contact-left button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    gap: 10px;
    border: none;
    border-radius: 5px;
    background-color: #8FB5CC;
    color: aliceblue;
    transition: .2s ease;
}

.contact-left button:hover {
    cursor: pointer;
    background-color: aliceblue;
    color: var(--cc-hicolor);
}

/* HEADER LOGO + TOGGLE */
.logo {
    position: relative;
    width: auto;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    object-fit: cover;
}

.toggle {
    position: relative;
    object-fit: cover;
    display: flex;
    height: 20px;
    min-width: 20px;
    background: url('/resources/img/menu-grad.svg');
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
    cursor: pointer;
    transition: .5s;
}

.toggle:hover {
    outline: 4px solid var(--cc-hicolor);
}

.toggle.active {
    background: url('/resources/img/close-grad.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

/* SIDE MENU */
.menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu ul {
    list-style: none;
}

.menu ul li a {
    text-decoration: none;
    font-size: 20px;
    color: #111;
}

.menu ul li a:hover {
    color: var(--cc-hicolor);
}
