@font-face {
    font-family: 'MiFuente';
    src: url('voigantedisplay.otf') format('opentype');
}

body {
    font-family: 'MiFuente';
    background-image: url(fondocastillo7.jpg);
    background-size: cover;
    width: 100%;
    background-repeat: no-repeat;
    height: 100%;
    margin: 0;
    background-color: #cb9f7c;
}

form {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin: 6%;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.nav {
    display: flex;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

.logo-nav {
    width: 70px;
    margin-left: 18px;
    margin-top: 13px;
    margin-bottom: 13px;
}

.navbar-brand {
    color: #ffffff;
    margin-right: 20px;
    text-align: right;
}

.question {
    display: none;
    background-color: #FFF;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: xx-large;
    text-align: center;
    overflow-x: auto;
    width:100%
}

.question h2 {
    font-size: 117%;
    margin-top: 3px;
    margin-bottom: 18px;
}



.question label {
    font-size: 73%;
    display: contents;
    margin-bottom: 8px;
}

.question input[type="text"],
.question input[type="number"],
.question select {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    margin-top: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: 'MiFuente';
    font-size: large;
    background-color: #fff8ee;
}

.question button {
    padding: 10px 20px;
    background-color: #4b2a08;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: x-large;
}

.question button:hover {
    background-color: #644903; 
}

.alert {
    padding: 20px;
    background-color: #f44336;
    color: white;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert.success {
    background-color: #4CAF50; 
}
