*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body { 
    background:  linear-gradient(90deg, #74b6ff 0%, #1bdcfd 50%, #45d9fc 100%);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wrapper {
    background: #fff;
    padding: 2rem;
    box-shadow: 0 0px 2.2px rgba(0, 0, 0, 0.028), 0 0px 5.3px rgba(0, 0, 0, 0.04) rgba(0, 0, 0, 0.05);
    transition: max-width 0.5s ease; /* Smooth transition for width changes */
}

.foto img{
    width: 100%;
    
}


h1 {
    background: #1dbcfd;
    color: #fff;
    letter-spacing: 0.1rem;
    padding: 1rem;
    cursor: default;
}
.buton {
    text-align: center;
    padding-left: ;
    background: rgb(241, 241, 241);
    border-radius: 5px;
    
}
.buton a img {
    margin-top: 3px;
    background: #dfdfdf;
    padding: 0px;
    border-radius: 3px;
    width: 10%;
    height: auto;
    margin-right: 60px;
}

.buton a img:hover {
    background: rgba(173, 216, 230, 1);
    color: black;
    border-radius: 10px;
}

/* Style for custom date input */
.custom-date-input {
    position: relative;
    margin-bottom: 25px;
}

.custom-date-input input {
    font-size: 18px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: transparent;
    transition: all 0.3s ease;
}

.custom-date-input input:focus {
    outline: none;
}

.custom-date-input label {
    color: #333;
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: all 0.3s ease;
}

.custom-date-input input:focus ~ label, .custom-date-input input:valid ~ label {
    top: -20px;
    font-size: 14px;
    color: #007bff;
}

/* Highlight */
.custom-date-input .highlight {
    position: absolute;
    height: 60%;
    width: 100%;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* Bar */
.custom-date-input .bar {
    position: relative;
    display: block;
    width: 100%;
}

.custom-date-input .bar:before, .custom-date-input .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #007bff;
    transition: all 0.3s ease;
}

.custom-date-input .bar:before {
    left: 50%;
}

.custom-date-input .bar:after {
    right: 50%;
}

.custom-date-input input:focus ~ .bar:before, .custom-date-input input:focus ~ .bar:after {
    width: 50%;
}


.menu {
    border: 0px solid #ccc;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.menu li{
    display: inline;
}

.menu a{
    display: inline-flex;
    padding: 5px 12px;
    color: #008cff;
    font-size: 1rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-decoration: none;
    cursor: default;
}

form,
input,
textarea,
button {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: small;
}

.form-group label {
    display: block;
    margin: 2rem 0 0.5rem 0;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    outline: 0;
    transition: border 0.15s;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"] {
    height: 4.6rem;
}

.form-group textarea {
    resize: vertical;
}

.submit {
    background: #008cff;
    color: #fff;
    font-weight: bold;
    margin-top: 1rem ;
    padding: 1rem 1.5rem;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.submit:hover {
    background: rgba(173, 216, 230, 1);
    color: black;
}


.selanjutnya {
    background: #23fd1b;
    color: #fff;
    font-weight: bold;
    margin-top: 1rem ;
    padding: 1rem 1.5rem;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.selanjutnya:hover {
    background: rgba(173, 216, 230, 1);
    color: black;
}

.form-group input[type="text"]:focus,
.form-group input[type="gmail"]:focus
.form-group input textarea:focus {
    border: 1px solid #1dbcfd;
}

/*Respond*/

@media screen and (min-width: 456px) {
    .wrapper {
        max-width: 70%; /* Adjusted max-width for smoother transition */
    }
}

@media screen and (min-width: 768px) {
    .wrapper {
        max-width: 65%;
    }
}

@media screen and (min-width: 992px) {
    .wrapper {
        max-width: 55%;
    }
}

@media screen and (min-width: 1200px) {
    .wrapper {
        max-width: 45%;
    }
}

@media screen and (min-width: 1500px) {
    .wrapper {
        max-width: 35%;
    }
}