@font-face {
    font-family: 'CustomFont';
    src: url('fonts/times\ new\ roman.ttf') format('truetype'); /* Replace with your font file path */
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'CustomFont', Arial, sans-serif;
    color: #fff;
    background-color: #f6f5f0;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
}

.hero-svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 240px; /* Fixed width for the logo */
    height: auto;
}

.hero-svg img {
    width: 100%;
    height: auto;
}

main {
    position: absolute;
    top: 24px;
    left: 24px;
    font-size: 18px;
    max-width: 400px; /* Fixed width for body copy */
    text-align: left;
    line-height: 1.5;
    color: #1e1e1e;
    margin: 0;
    padding: 0;
}

main p {
    margin: 0; /* Remove default paragraph margins */
}

.footer-container {
    display: flex;
    position: absolute;
    top: 24px;
    right: 24px;
    gap: 40px; /* Horizontal spacing between elements */
}

.instagram, .contact {
    font-size: 18px;
}

a {
    color: #1e1e1e;
    text-decoration: none;
    font-family: 'CustomFont', Arial, sans-serif;
}

a:hover {
    text-decoration: underline;
}

#errormessage{
    color: red; 
    margin: 2px 0px;
    font-size: 12px;
    visibility: hidden;
}


/* Media Query for viewports smaller than 686px */
@media (max-width: 685px) {
 /*	body{
		background-size: auto;
	}  */
    .hero-svg {
        width: 160px; /* Change width for smaller viewports */
        margin-bottom: 58px; /* Add margin to space from main */
        top: 35%;
    }

    main {
        font-size: 14px;
        text-align: center; /* Center-align the main text */
        position: relative; /* Remove absolute positioning */
        width: calc(100% - 48.6px);
        max-width: none;
        left:0px;
	top: 65px;
		
    }
    
    .footer-container {
        justify-content: space-between;
        position: absolute;
        top: 24px;
        right: 24.3px;
        left: 24.3px;
    }

    .instagram, .contact {
        font-size: 16px;
    }
}
