/* Reset CSS */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Global Styles */
body {
    background-color: #f8f8f8;

    color: #333333;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: white;
}

.container {
    margin: 0 auto;
    max-width: 960px;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #333333;

    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

header .container {
    display: flex;
    align-items: center;
}

header img {
    max-width: 45%;
    margin-right: 1.5rem;
    margin-top: 30px;
}

.header-text {
    color: #b69f3e;
    max-width: 60%;
    text-align: center;
    margin-left: 10%;

}

.header-text h1 {
    font-size: 6rem;
    margin-bottom: -30px;
}

.header-text h2 {
    font-size: 2rem;
    color: #cccccc;
}

body {
    margin-top: calc(30vh + 6rem);
}




#content .construction {
    font-size: 24px;
    color: #666666;
    text-align: center;
}


.progress {
    position: relative;
    width: 450px;
    height: 28px;
    background-color: #f2f2f2;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;

    overflow: hidden;
}

.progress .bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background-color: rgba(255, 215, 0, 0.5);
}
.progress .label {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    line-height: 28px;
    padding-right: 15px;
    font-size: 18px;
    color: black;
}


.progress .loading {
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #ffd700;
    animation: loading-animation 2s ease-in-out infinite;
}

@keyframes loading-animation {
    from {
        left: 0%;
        width: 10%;
        background-color: #ffd90034;
    }
    25%{
        background-color: #ffd900;
    }
    50% {
        left: 35%;
        width: 10%;
        background-color: #ffd90065;
    }
    75%{
        background-color: #ffd900;

    }
    to {
        left: 0%;
        width: 10%;
        background-color: #ffd90034;

    }
}



/* Contact Styles */
#contact {
    color: #3d3d3d;
    padding: 50px 0;
}

#contact h1 {
    font-size: 36px;
    margin-bottom: 15px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
}

input[type="text"],
input[type="tel"],
input[type="date"],
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    color: black;
    background-color: #e2e2e2;
    font-size: 16px;
    line-height: 1.5;
}

input[type="date"] {
    appearance: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

textarea {
    height: 150px;
    resize: none;
}

input[type="submit"] {
    padding: 10px 20px;
    background-color: #ffd700;
    color: #333333;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
}


/* Footer Styles */
#footer {
    background-color: #333333;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

#footer p {
    font-size: 14px;
    margin: 0;
}


/* Media Queries */
@media (max-width: 900px) {

    body {
        margin-top: calc(25vh + 6rem);
    }

    .header-text h1 {
        font-size: 4.5rem;
        margin-bottom: -20px;
    }
    
    .header-text h2 {
        font-size: 1.5rem;
        color: #cccccc;
    }  
}

/* Media Queries */
@media (max-width: 720px) {

    body {
        margin-top: calc(18vh + 6rem);
    }


    .header-text h1 {
        font-size: 3.8rem;
        margin-bottom: -20px;
    }
    
    .header-text h2 {
        font-size: 1.2rem;
        color: #cccccc;
    }  
}

/* Media Queries */
@media (max-width: 600px) {

    body {
        margin-top: calc(15vh + 6rem);
    }


    .header-text h1 {
       display:none;
       margin:0;
    }
    
    .header-text h2 {
       display:none;
       margin:0;
    }  

    header img {
        max-width: 85%;
        margin: 0 auto;
        padding-left: 10%;
    }

    .container {
        margin: 0 auto;
        max-width: 85%;
        padding: 0;
    }
    
}

@media (max-width: 500px) {

    body {
        margin-top: calc(12vh + 6rem);
    }


    .progress{
        width: 80%;

    }

    #content .construction {
        font-size: 1.2rem;
    }

    #contact h1 {
        font-size: 1.7rem;
        margin-bottom: 15px;
        text-align: center;
    }
    
    
}


