body {
    background-image: url(https://images.hdqwalls.com/download/small-memory-8k-2a-1920x1080.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

#home {
    width: 2vw;
    height: 4vh;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 10px;
    position: fixed;
    top: 10px; 
    left: 10px; 
    z-index: 10;
}

#homeImg {
    width: 2vw;
    height: 4vh;
    color: #fff;
    display: block;
}

#home a {
    color: inherit;
    text-decoration: none;
}

#home:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

#cont {
    width: 25vw;
    padding: 1vw;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin-top: 40px;
}

#cont h1, #cont h3 {
    text-align: center;
}

form {
    margin-top: 0.5em;
    text-align: left;
}

label {
    display: block;
    margin: 8px 0 4px;
    font-size: 0.9em;
}

input[type="text"], input[type="email"], input[type="number"], select, textarea {
    width: 100%;
    padding: 6px;
    margin: 5px 0;
    border-radius: 5px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-size: 0.8em;
    box-sizing: border-box;
    resize: none;
}

button {
    padding: 6px 14px;
    border: none;
    border-radius: 5px;
    background-color: #ffd700;
    color: #000;
    font-size: 0.9em;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
    display: block;
    margin: 15px auto 0;
}

button:hover {
    background-color: #a9d6e5;
}

#form-message {
    margin-top: 8px;
    font-size: 0.8em;
    color: #ffd700;
}

@media (max-width: 1200px) {
    #home {
        width: 2vw;
        height: 3vh;
    }
    
    #homeImg {
        width: 2vw;
        height: 3vh;
    }

    #cont {
        width: 40vw;
        padding: 5vw;
        margin: 30px 0 30px 0;
    }
}

@media (max-width: 768px) {
    #home {
        width: 4vw;
        height: 3vh;
    }
    
    #homeImg {
        width: 4vw;
        height: 3vh;
    }
    
    #cont {
        width: 50vw;
        padding: 5vw;
        margin: 30px 0 30px 0;
    }
}

@media (max-width: 480px) {
    #home {
        width: 5vw;
        height: 3vh;
    }
    
    #homeImg {
        width: 5vw;
        height: 3vh;
    }

    #cont {
        width: 75vw;
        padding: 5vw;
        margin: 30px 0 30px 0;
    }
}
