* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}




.bg-img {
    position: relative;
    background-image: url("image/Caltex.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100vh;
}

.container {
    position: absolute;
    top: clamp(65%, 2vw + 60%, 72%);
    left: 50%;
    transform: translate(-50%, -50%);
    padding: clamp(25px, 6vw + 5px, 100px) clamp(20px, 7vw + 5px, 100px);
    background: rgba(0, 0, 0, 0.6);
    border-radius: clamp(12px, 3vw, 40px);
    box-shadow: 1px 6px 45px 10px #000000;
}


h1 {
    font-size: clamp(40px, 5vw + 1rem, 60px);
    color:white;
}

button {
    padding: 8px clamp(75px, 10vw, 135px);
    margin-top: 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    color: white;
    font-weight: bold;
    font-size: 22px;
    transition: ease-in-out 0.4s;
    box-shadow: 1px 6px 37px 10px #000000;
    background-color: #e13347
}

button:hover {
    opacity: 0.7;
    background-color: #f50723
}

button:active {
    opacity: 1;
    background-color: #f30b26
}

input {
    margin-top: 20px;
    padding: 10px clamp(55px, 6vw + 10px, 100px); 
}

::placeholder {
    color:grey;
    font-size: 1.2em;
}

p {
    color: white;
}

.menu {
    display: flex;
    align-items: center;
}

.button:hover {
    opacity: 0.5;
}



/* 320 x 669 */

@media (min-width: 320px) {
    .header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .bg-img {
        background-image: url("image/Caltex Portrait.jpg");
        background-size: cover;
        max-width: auto;
        max-height: auto;
    }
    
   

    button {
        margin-top: 20px;
        border-radius: 20px;
        border: none;
        cursor: pointer;
        color: white;
        font-weight: bold;
        font-size: 15px;
        background-color: #e13347
        
    }


}

/* 375 x 669 (M) */

@media (min-width: 374px) {
    .header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .bg-img {
        background-image: url("image/Caltex Portrait.jpg");
        background-size: cover;
        max-width: auto;
        max-height: auto;
    }
    
    

    button {
        margin-top: 20px;
        border-radius: 20px;
        border: none;
        cursor: pointer;
        color: white;
        font-weight: bold;
        font-size: 15px;
        background-color: #e13347
        
    }


}



/* 425 x 669 (M) */

@media (max-width: 425px) {
    .header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .bg-img {
        background-image: url("image/Caltex Portrait.jpg");
        background-size: cover;
        max-width: auto;
        max-height: auto;
    }
    

    button {
        margin-top: 20px;
        border-radius: 20px;
        border: none;
        cursor: pointer;
        color: white;
        font-weight: bold;
        font-size: 15px;
        background-color: #e13347
        
    }

}

/* 768 x 669  */

@media (min-width: 768px) {
    .header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .bg-img {
        background-image: url("image/Caltex Portrait.jpg") ;
        background-size: cover;
        max-width: auto;
        max-height: auto;
    }
    
   

    button {
        margin-top: 20px;
        border-radius: 20px;
        border: none;
        cursor: pointer;
        color: white;
        font-weight: bold;
        font-size: 15px;
        background-color: #e13347
        
    }

}


/* 1024 x 669 (M) */

@media (min-width: 1024px) {
    .header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .bg-img {
        background-image: url("image/Caltex.jpeg") !important;
        background-size: cover;
        max-width: auto;
        max-height: auto;
    }
    
    button {
        margin-top: 20px;
        border-radius: 20px;
        border: none;
        cursor: pointer;
        color: white;
        font-weight: bold;
        font-size: 15px;
        background-color: #e13347
        
    }

}

