

/* General body and text styles */
body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

p {
    width: 100%;
    left: 0;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    text-align: center;
    vertical-align: top;
    max-width: 550px;
    color: #333543ff;
    margin: 0;
}

h1 {
    font-family: "DM Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    margin: 8px;
}

/* Links and hover effects */
a:hover {
    cursor: pointer;
    color: #673de6;
    text-decoration: underline;
}

.link-container {
    margin-top: 32px;
    margin-bottom: 32px;
}

.link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #673de6;
    margin-top: 8px;
    text-decoration: none;
}

/* Layout containers */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 25%;
    width: 100%;
    background-color: #f4f5ff;
    opacity: 0.73;
    margin-top: 1em;
}
.header.top {
    justify-content: flex-start;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #f4f5ff;
    font-size: 24px;
    margin: 15px;
    padding: 15px;
    opacity: 0.7;
}

.navigation {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 72px;
    background-color: #36344d;
    margin: 0;
    padding: 0;
}

/* Images styles */
.main-image {
    width: 100%;
    max-width: 650px;
    max-height: 406px;
    height: auto;
}

.background-image {
    position: fixed; /* stays full-screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    opacity: 0;
    transition: opacity 1s ease-in;
}

.background-image.show {
    opacity: 1;
}

/* Buttons and interactive elements */
.sendMeAMessage {
    position: fixed;
    z-index: 1000;
    background-color: #673de6;
    border-radius: 10px;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.sendMeAMessage-content input,
.sendMeAMessage-content textarea {
    width: 100%;
    box-sizing: border-box;
}

.sendMeAMessage .close {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 22px;
}

.sendMeAMessage .close:hover {
    background-color: #4b2cc1;
    cursor: pointer;
}

.sendMeAMessage .btnClose {
    display: block;
    margin-left: auto;
}

/* Icons styles */
.ic-launch {
    margin-left: 10.5px;
    width: 21px !important;
    height: 20px !important;
}

/* Form select input */
.select-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin-top: 10px;
    width: 100%;
    padding: 10px 14px;
    padding-right: 36px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
    /* custom arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.select-input option {
    text-align: center;
}

.select-input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

/* Media queries */
@media screen and (max-width: 580px) {
    h1,
    p,
    .link-container {
        width: 80%;
    }

    .content {
        margin-top: 1em;
    }
}

@media screen and (min-width: 650px) and (max-height: 750px) {
    .link-container {
        margin-top: 12px;
    }

    h1 {
        margin-top: 0;
        margin-bottom: 0;
    }

    .content {
        margin-top: 1em;
    }
}
