/* contact.css */

/* Style the body */

/* General resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana, sans-serif;
    letter-spacing: 0.06em; /* 6% spacing between letters */
    line-height: 1.6;
    color: #333;
    background-color: #FFF8D6;
    /* padding: 20px; */
}

/* Style for the back link */
.back-link {
    display: inline-block; /* Ensures it's treated as a block for spacing purposes */
    margin: 20px; /* Add margin around the link */
    text-decoration: none; /* Remove default underline */
    color: #6C6C6C; /* Color of the link */
    font-family: Verdana, sans-serif; /* Set the font */
    font-size: 16px; /* Set the font size */
}

.back-link i {
    margin-left: 8px; /* Add spacing between the text and the icon */
}

/* Main content */
main.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

main.contact-page h1 {
    font-size: 2rem;
    margin-bottom: 20px; /* Add more space below the headline */
}

/* Responsive styling for smaller screens */
@media (max-width: 768px) {
    main.contact-page h1 {
        font-size: 1.5rem; /* Smaller font size for smaller screens */
    }
}

main.contact-page p {
    font-size: 1rem;
    color: black;
    margin-bottom: 40px; /* Add more space below the subtext */
}

/* Responsive styling for smaller screens */
@media (max-width: 768px) {
    main.contact-page p  {
        margin-bottom: 15px;
    }
}

/* Contact container layout */
.contact-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-top: 20px;
    align-items: flex-start; /* Align items at the top */
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* Stack items vertically */
        align-items: center;
    }

    .contact-info {
        order: -1; /* Move the contact info to the top */
    }
}

/* Form styles */
.kontaktform {
    background-color: white;
    border: 1px solid #CBD4DD;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    text-align: left;
}

.kontaktform fieldset {
    border: none;
}

/* Styling for bold "Kontaktformular" */
.contact-title {
    font-weight: bold; /* Makes the text bold */
    font-size: 1.5rem; /* Adjust size if needed */
    letter-spacing: 0.06em; /* 6% spacing between letters */
    color: #333; /* Optional: Set text color */
}

/* Styling for smaller "Felter markeret med påkrævet skal udfyldes" */
.contact-subtext {
    font-size: 0.9rem; /* Smaller font size */
    color: #6C6C6C; /* Hex for gray text */
    margin-bottom: 20px; /* Add spacing below subtext */
}

.kontaktform label {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
    letter-spacing: 0.06em;
    color: #333;
}

.kontaktform input, .kontaktform textarea {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    letter-spacing: 0.05em; /* 5% spacing between letters */
    margin-bottom: 15px;
    border: 1px solid #CBD4DD;
    border-radius: 4px;
}

.kontaktform input::placeholder, .kontaktform textarea::placeholder {
    color: #6C6C6C;
    font-style: italic;
}

.kontaktform input:focus, .kontaktform textarea:focus {
    outline: 2px solid #3B86BF;
}

.send-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: bold;
    /* text-transform: lowercase; */
    letter-spacing: 0.06em;
    color: black;
    background-color: #CBD4DD;
    border: none;
    cursor: pointer;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.send-button:hover {
    background-color: #3B86BF;
}

/* Contact details */
.contact-info {
    text-align: center;
    max-width: 600px;
}

.contact-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin-bottom: 15px;
}

.contact-text {
    font-size: 15px;
    color: #6C6C6C;
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* Stack vertically */
    }
}

/* Main content styling to add space above the footer */
main {
    padding: 20px;
    font-family: Verdana, sans-serif;
    line-height: 1.5;
    margin-bottom: 50px; /* Space between main content and footer */
}
