/*
================================================================================================|
Contact page
================================================================================================|
*/
body {
    margin: 0;
    padding: 0;
    font-family: 'Merriweather', serif;
    color: #333;
    background-color: #f4f4f4;
}

.header {
    min-height: 10vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/header.png');
    background-position: center;
    background-size: cover;
    position: relative;
}

.header h1 {
    display: none;
    padding-left: 10px;
    color: white;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

nav img {
    max-height: 95px;
    width: 95px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul {
    list-style: none;
    padding: 0;
}

.nav-links ul li {
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.contact-container {
    display: flex;
    width: auto;
    height: 100vh;
    background: #FCFDFD;
    align-items: stretch;
}

.left-col {
    width: 45%;
    background-image: url("https://cdn.pixabay.com/photo/2023/09/06/05/33/blockchain-8236372_1280.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.right-col {
    background: #FCFDFD;
    width: auto;
    padding: 5rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-shrink: 0;
    overflow-y: auto;
}

form {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

input, textarea, label {
    width: 100%;
}

textarea {
    resize: none;
}

.contact-container h1, label, button, .description {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    letter-spacing: 0.1rem;
}

.contact-container h1 {
    color: #3F444C;
    text-transform: uppercase;
    font-size: 2.5rem;
    letter-spacing: 0.5rem;
    font-weight: 300;
}

.contact-container p {
    color: #818386;
    font-size: 0.9rem;
    letter-spacing: 0.01rem;
    margin: 0.25rem 0;
}

input, textarea {
    color: #010712;
    font-weight: 500;
    background: #FCFDFD;
    border: none;
    border-bottom: 1px solid #818386;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    outline: none;
}

input:hover, textarea:hover, button:hover {
    opacity: 0.5;
}

#error, #success-msg {
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
}

#error {
    color: red;
}

#success-msg {
    color: green;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1d2b44;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.3s;
}

.scroll-to-top:hover {
    transform: translateY(-8px);
}

.dropbtn {
    display: block;
    width: 60%;
    padding: 12px 24px;
    border: 2px solid #ffffff;
    color: #1D2B44;
    cursor: pointer;
    text-align: left;
    margin-bottom: 5px;
    text-decoration: none;
    transition: 0.3s
}

.dropbtn:hover {
    background-color: #f44336;
    border-color: #f44336;
}

footer {
    background-color: #1D2B44;
    padding: 30px 0;
    color: #ffffff;
}

footer a {
    color: #00AEEF;
}

.footercontainer {
    display: flex;
    justify-content: space-evenly;
    padding: 0 15px;
    align-items: flex-start;
}

.footerlogo img {
    max-height: 70px;
    width: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    margin-top: 30px;
}

.footerlogo h4 {
    margin-top: 10px;
    font-size: 18px;
}

.footerlogo p {
    margin-top: 5px;
    font-size: 14px;
    color: #ffffff;
}

footer h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #f44336;
    text-decoration: underline;
}

.footersocialmedia a {
    margin-right: 15px;
    color: #ffffff;
    display: inline-block;
}

.footersocialmedia a:hover {
    color: #f44336;
}

.footerbanner {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 10px;
}

.footerbanner p {
    text-align: center;
    color: #ffffff;
}

@media (max-width: 768px) {
    .header {
        display: flex;
        justify-content: center;
        text-align: center;
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/header.png');
        background-position: center;
        background-size: cover;
        position: relative;
    }

    .header h1 {
        display: block;
    }

    nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        top: 0;
        width: 100%;
        z-index: 1000;
    }

    nav img {
        display: none;
    }

    .nav-links {
        flex: none;
        text-align: right;
        margin: 0;
    }

    .nav-links ul {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        list-style: none;
        padding: 0;
        margin: 0;
        gap: 5px;
    }

    .nav-links ul li {
        padding: 5px 0;
    }

    .nav-links ul li a {
        font-size: 14px;
        color: #ffffff;
        text-decoration: none;
        padding: 5px 10px;
    }

    .nav-links ul li::after {
        height: 1px;
        margin: 2px auto;
    }

    .footercontainer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
        text-align: center;
    }

    .footerlogo,
    .footercontact,
    .footernav,
    .footersocialmedia {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: auto;
    }

    .footernav ul li {
        margin-bottom: 5px;
        display: block;
    }

    .scroll-to-top {
        right: 10px;
    }

    .contact-container {
        flex-direction: column;
        height: auto;
        width: 100%;
    }

    .left-col {
        display: none;
    }

    .right-col {
        width: auto;
        height: auto;
        padding: 2rem 1.5rem;
    }

    form {
        width: auto;
    }

    input, textarea, label {
        width: 100%;
    }

    .contact-container h1 {
        font-size: 2rem;
    }

    .contact-container p {
        width: auto;
        font-size: 0.8rem;
    }

    label, .description {
        font-size: 0.5rem;
    }

}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: #00AEEF;
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #1d2b44;
    border-radius: 10px;
    border: 1px solid black;
}

::-webkit-scrollbar-thumb:hover {
    background: #00AEEF;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #00AEEF #1d2b44;
}