@font-face {
    font-family: "Poppins";
    src: url(Poppins-Regular.ttf);
}

html,
body {
    background-color: black;
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-behavior: smooth;
}

.container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

header {
    background-color: black;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    height: 20vh; /* Adjusted to 20% of viewport height */
    overflow: hidden;
}

header img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

body {
    padding-top: 20vh; /* Adjusted to 20% of viewport height */
}

img.center {
    text-align: center;
    margin: auto;
    padding: 0;
}

.heading p {
    font-size: 4.8vw; /* Adjusted to 4.8% of viewport width */
    color: #964B00;
    text-align: center;
}

* {
    box-sizing: border-box;
}

.box {
     border: 2px solid #555;
    color: #fff;
    margin: auto;
    width: 50%; 
    max-width: 500px;
    height: auto;
    padding: 20px;
    font-size: 18pt;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 20px;
    flex-direction: column;
    float: left;
    display:flex;
}

.box h1 {
    font-size: 2vw; /* Adjusted to 2% of viewport width */
    color: white;
    text-align: center;
}

.box p {
    font-size: 2vw; /* Adjusted to 1.2% of viewport width */
    color: white;
    text-align: center;
}

.fox, .geolocation-box {
    background-color: #333;
    border: 2px solid #555;
    color: #fff;
    width: 90%;
    margin-top: 2vw; /* Adjusted to 2% of viewport width */
    width: 63vw; /* Adjusted to 63% of viewport width */
    padding: 2vw; /* Adjusted to 2% of viewport width */
    font-size: 1.8vw; /* Adjusted to 1.8% of viewport width */
    text-align: center;
    border-radius: 2vw; /* Adjusted to 2% of viewport width */
}

.footer {
    position: relative;
    text-align: center;
    top: 0;
    width: 100%;
}

#submitImage {
    color: white;
    border: 2px solid black;
    margin: auto;
    width: auto; /* Adjust width automatically */
    max-width: 100%; /* Ensure the button does not exceed the screen width */
    height: auto;
    padding: 2vw; /* Adjust to screen size */
    font-size: calc(1em + 1vw); /* Responsive font size */
    text-align: center;
    border-radius: 2vw; /* Adjust to screen size */
    box-sizing: border-box; /* Ensures padding stays inside the button */
    word-wrap: break-word; /* Prevents text from overflowing */
}

.button-container {
    border: 2px solid black;
    margin: auto;
    min-width: 150px;
    max-width: 300px; 
    width: auto;
    height: auto;
    padding: 10px 30px;
    text-align: center;
    display: inline-block;
    transition: background 0.3s ease, transform 0.3s ease;
    border-radius: 15px;
    border:none;
    font-size:16pt;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    text-decoration: none;
}

a:link {
    color: #FFFFFF;
}

button {
   width: 100%;
    padding: 12px;
    border: none;
    background-color: #0056b3;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
     transform: translateY(-3px);
    background-color: #0056b3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); 
}

.invisibleBox {
    background-color: transparent;
    border: 2px solid black;
    margin: auto;
    width: 30vw; 
    height: auto;
    padding: 20px;
    font-size: 24pt;
    text-align: center;
    }