@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


*{
    margin: 0;
    padding: 0;
}

body {
    background-image: url(../img/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    font-family: "Open Sans", sans-serif;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.header{
    margin-top: 2%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    width: 50%;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
}

.header .gambar1{
    width: 30%;
}

.gambar1 img{
    width: 100%;
    height: 100%;
}

.header .gambar2{
    width: 15%;
}

.gambar2 img{
    width: 100%;
    height: 100%;
}

.form-container {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.25); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(5px); 
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    width: 30%;
    text-align: center;
    /* border: 5px solid black; */
    z-index: 999;
}

.form-container h2 {
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 20px;

}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
  
form label {
    text-align: left;
    font-weight: bold;
    margin-top: 10px;
    font-size: 14px;
}

form input[type="text"]{
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    outline: none;
    font-size: 14px;
    background-color: #fff;
}

form input[type="email"]{
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    outline: none;
    font-size: 14px;
    background-color: #fff;
}

form input[type="file"]{
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    outline: none;
    font-size: 14px;
    background-color: #fff;
}
  
.button-group {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.button-group button {
    width: 48%;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
}

.button-group .send {
    background-color: #007bff;
}

.button-group .send:hover {
    background-color: transparent;

}

.button-group .back {
    background-color: #dc3545;
}

.button-group .back:hover {
    background-color: transparent;

}

.info-sosial{
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    align-items: center;
}


.icons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 17px;
    align-items: center;
}

.icons p{
    font-size: 17px;
    color: rgb(0, 0, 0);
}

.icons a {
    font-size: 20px;
    color: #000;
}

.icons a:hover{
    color: #940019;
}

.footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    background: #940019aa;
    backdrop-filter: blur(8px);
    text-align: center;
    

    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p{
    font-size: 13px;
    color: #ffffff;
    font-weight: 700;
    padding: 10px;
}

.footer-icons p {
    font-size: 13px;
    color: #ffffff;
    font-weight: 700;
    padding: 10px;
}

button.send:disabled {
    background-color: #ff0000;
    cursor: not-allowed;
    opacity: 0.7;
  }
  
  

@media (min-width: 500px) and (max-width: 900px){
    body {
        background-image: url(../img/bg.png);
        background-repeat: no-repeat;
        background-size: cover;
        font-family: "Open Sans", sans-serif;
        height: 100vh;
        overflow: hidden;
    }

    .header{
        margin-top: 5%;
    }

    .header .gambar1{
        width: 100%;
    }
    
    .header .gambar2{
        width: 50%;
    }

    .form-container {
        width: 50%;
    }
    
    .form-container h2 {
        font-size: 20px;
    }
    
    form label {
        font-size: 10px;
    }
    
    form input[type="text"]{
        padding: 5px 10px;
        font-size: 10px;
    }
    
    form input[type="email"]{
        padding: 5px 10px;
        font-size: 10px;
    }
    
    form input[type="file"]{
        padding: 5px 10px;
        font-size: 8px;
    }
      
    .button-group button {
        width: 48%;
        padding: 5px;
        font-size: 10px;
        border: none;
        border-radius: 30px;
        color: #fff;
        cursor: pointer;
    }
    
    .info-sosial{
        margin-top: 10px;
        display: flex;
        justify-content: flex-end;
        width: 100%;
        align-items: center;
    }
    
    
    .icons {
        margin-top: 10px;
        display: flex;
        justify-content: center;
        gap: 10px;
        align-items: center;
    }
    
    .icons p{
        font-size: 10px;
        color: rgb(0, 0, 0);
    }
    
    .icons a {
        font-size: 10px;
        color: #000;
    }
    
    .icons a:hover{
        color: #940019;
    }
        
    .footer p{
        font-size: 7px;
    }
    
    .footer-icons p {
        font-size: 7px;
    }

}


@media (min-width: 200px) and (max-width: 500px){
    body {
        background-image: url(../img/bg.png);
        background-repeat: no-repeat;
        background-size: cover;
        font-family: "Open Sans", sans-serif;
        height: 100vh;
        overflow: hidden;
    }

    .header{
        margin-top: 15%;
    }

    .header .gambar1{
        width: 100%;
    }
    
    .header .gambar2{
        width: 50%;
    }

    .form-container {
        width: 50%;
    }
    
    .form-container h2 {
        font-size: 20px;
    }
    
    form label {
        font-size: 10px;
    }
    
    form input[type="text"]{
        padding: 5px 10px;
        font-size: 10px;
    }
    
    form input[type="email"]{
        padding: 5px 10px;
        font-size: 10px;
    }
    
    form input[type="file"]{
        padding: 5px 10px;
        font-size: 8px;
    }
      
    .button-group button {
        width: 48%;
        padding: 5px;
        font-size: 10px;
        border: none;
        border-radius: 30px;
        color: #fff;
        cursor: pointer;
    }
    
    .info-sosial{
        margin-top: 10px;
        display: flex;
        justify-content: flex-end;
        width: 100%;
        align-items: center;
    }
    
    
    .icons {
        margin-top: 10px;
        display: flex;
        justify-content: center;
        gap: 10px;
        align-items: center;
    }
    
    .icons p{
        font-size: 10px;
        color: rgb(0, 0, 0);
    }
    
    .icons a {
        font-size: 10px;
        color: #000;
    }
    
    .icons a:hover{
        color: #940019;
    }
        
    .footer p{
        font-size: 7px;
    }
    
    .footer-icons p {
        font-size: 7px;
    }
}