/* ----Fonts-----*/

@font-face {
    font-family: 'JotiOne_Regular';
    src: url(fonts/Joti_One/JotiOne-Regular.ttf);
}

@font-face {
    font-family: 'Jaldi_Regular';
    src: url(fonts/Jaldi/Jaldi-Regular.ttf);
}


@font-face {
    font-family: "Jaldi_Bold";
    src: url("../fonts/Jaldi-Bold.ttf");
}

/* ---- Global Styles -----*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ---- Global Fonts -----*/
body {
    font-size: 100%;
}

h1 {
    font-family: 'JotiOne_Regular';
    font-size: 200%;
    text-align: justify;
    padding: 3%;
}

h2 {
    font-family: 'JotiOne_Regular';
    font-size: 130%;
    text-align: center;
    padding: 5%;
}

p {
    font-family: 'Jaldi_Regular';
    font-size: 110%;
    text-align: center;
}


/* ---- header -----*/
header {
    width: 100%;
    height: 10vh;
    background-color: tan;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

header img {
    width: 60px;
    height: 60px;
    margin: 3% 2%;
}

header h1 {
    width: 50%;
    color: red;
    font-size: 200%;
    padding: 0;
}


header .menu {
    padding-left: 10%;
    padding-right: 10%;
}

header nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 7%;
}

nav a {
    text-decoration: none;
    color: blue;
    font-size: 200%;
}

nav a:hover {
    color: #3d1cbf;
    text-decoration: underline;
}

main {
    width: 100%;
    height: 80vh;
}

/* ------- Section two Styles  -------- */
.sectionTwo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 80vh;
    gap: 50px;
    padding: 5% 5% 5% 5%;
    background-image: url("magia_libro.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    /*  border: 2px solid black; */
}

/* ------- Texto izquierda del formulario  -------- */
.text-container {
    padding: 5%;
    width: 50%;
    gap: 5%;
    border-radius: 5px;
    background-color: transparent;
}

/* ------- formulario  -------- */
.form-container {
    padding: 3%;
    width: 70%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 5%;
    border-radius: 5px;
    background-color: white;
}

.formulario {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: left;
    width: 100%;
    font-size: 1em;
    gap: 10px;
}

label {
    margin-left: 8%;
    font-size: 120%;
    font-family: 'JotiOne_Regular';
}

input[type=text],
input[type=email],
input[type=password] {
    width: 100%;
    height: 50px;
    color: #000;
    border-radius: 50px;
    padding-left: 8%;
    font-size: 150%;
    background-color: #c6bbf5;
}

.send {
    width: 100%;
    /* height: 50px; */
    margin-top: 5%;
    border: 1px solid #000;
    border-radius: 50px;
    background-color: #3d1cbf;
    color: #000;
    padding: 2%;
    font-size: 1.7em;
    font-weight: 500;
    cursor: pointer;
}

input[type=text]:hover,
input[type=password]:hover,
.send:hover {
    box-shadow: inset 0 0 0 3px #ffda1e;
    border: 1px solid #ddb800;
}

input[type=text]:focus,
input[type=password]:focus {
    box-shadow: inset 0 0 0 3px #e76ee7;
    border: 1px solid #e76ee7;
}

/* ---- Footer ----- */

footer {
    width: 100%;
    height: 10vh;
    background-color: #303030;
    color: #fff;
    text-align: center;
    padding: 2%;
}