* {
  box-sizing: border-box;
}
:root {
  --primary: #212121;
  --secondary: #9A2B27;
  --ligth: #f3f3f3;
}

/* -----------------------------------------------------------------------INDEX--------------*/
body {
  background-image: linear-gradient(to bottom right, lightgray, white);
  font-size: 16px;
  font-family:'VT323', monospace;
  text-align: center;
  height: 100%;
  margin: 0;
  padding: 0;

} 
h1 {
  font-size: 3rem;
  font-weight: bold;
  border-bottom: 2px solid var(--primary);
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}

h2 {
  font-size: 3rem;
  margin-top: 0 0 2rem 0;
  text-transform: uppercase;
  border-bottom: 0;
  margin: 2rem  0;
  text-indent: 3rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  font-family: fantasy;
  padding-top: .3rem;
  border-top: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  margin-top: 0;
}
h4{
  font-size: 1.7rem;
  text-align: center;
  padding: 0.3rem;
  margin: 0;
  white-space: nowrap;
  background-color: var(--primary);
  color:var(--ligth);
  font-family: fantasy;
  }
h4:hover{
  color: var(--secondary);
}

h5{
  font-size: 9rem;
  margin: 0;
}
h6{
  display: block;
  text-align:left;
  font-size: .9rem;
  margin: 0;
  font-family: monospace;
}

.card{
  align-items: center;
  background-image: linear-gradient(to bottom right, white, lightgray);
  border-radius: 10px;
  -webkit-box-shadow: 4px 4px 40px 0px rgba(0, 0, 0, 1);
  -moz-box-shadow: 4px 4px 40px 0px rgba(0, 0, 0, 1);
  box-shadow: 4px 4px 40px 0px rgba(0, 0, 0, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 7rem 4rem 4rem 4rem;
  padding: 25px 50px;
  perspective: 1000px;
  height: 100%;
}

.card:hover {
  -webkit-box-shadow: 4px 4px 80px 0px rgba(0, 0, 0, 1);
  -moz-box-shadow: 4px 4px 80px 0px rgba(0, 0, 0, 1);
  box-shadow: 4px 4px 80px 0px rgba(0, 0, 0, 1);
}

.page-wrapper {
  align-items: center;
  flex-direction: column;
  display: flex;
  justify-content: center;
  padding: 0 5rem 0 3rem;
  
}

.profile-image {
  background-color: var(--primary);
  border-radius: 50%;
  color: var(--ligth);
  font-size: 32px;
  height: 180px;
  margin: 50px;
  width: 180px;
}
/* ---------------------------------------------------------------- FLIP CARD  ------------------------*/
.card__inner{
  transition: transform 1s;
  transform-style: preserve-3d;
  cursor: pointer;
  z-index: 0;
  padding-bottom: 0;

}

.card__inner.is-flipped{
  transform:rotateY(180deg);
  backface-visibility: hidden;
}

.card__face {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
}

.card__face--front {
  transform: rotateY(180deg);
 
}
.card__face--back {
  background-image: url("./img/bg.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  position: absolute;
  width: 100%;
  height: 105%;
  padding: 0px;
  margin:  0px;
}

.card__face--back h2 {
  width: 100%;
  text-align:center;
  padding: 0 1.8rem 0 0;
  font-size: 4.2rem;
  color: var(--ligth);
  

}
.card_content {
  padding-bottom: 0;
}

/* --------------------------------------------------------------------- NAVBAR ---------*/
nav{
  display: flex;
  position:fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

nav ul{
  display: flex;
  font-size: 3.3rem;
  width: 100%;
  justify-content: space-between;
  list-style-type: none;
  background-image: url("./img/bg.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
  padding: 0; 
  align-items: flex-end;
}

nav ul li{
  flex-grow: 1;
  flex-basis: 100%;
  margin: .7rem 2rem;
  text-transform: uppercase;
}

nav a{
  text-decoration: none;
  color: var(--ligth);
  padding: 2.7%;
}

nav a:hover{
  background-color: var(--ligth);
  color: var(--primary);
}

/*------------------------------------------------------------------------LINKS-------------*/

.links a{
  font-size:  1.3rem;
  text-decoration: none;
  color: var(--primary);
}

.links a:hover{
  color: var(--secondary);
}
.links ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.links li {
  display: inline-block;
  margin:1.5rem;
}
/* ---------------------------------------------------------------------- ABOUT ------------ */


.about {
  align-items: center;
  flex-direction: column;
  display: flex;
  justify-content: center;
  padding: 0 3rem;
  
}
.about p {
  text-align: justify;
  font-family: fantasy;
  font-size: 1.7rem;
  line-height: 3rem;
  margin: 0rem 6rem 3rem 1.3rem;

}

.about img{
  padding-right: 1.3rem;
}
.about p em {
  font-style: italic;
  color: var(--secondary);
  font-weight: 900; 
  background-color:var(--primary);
  color: var(--ligth);
}

.about p strong{
  color: var(--secondary);
}

.about blockquote{
  text-align: center;
  font-family: fantasy;
  font-size: 1.3rem;
  font-style: italic;
  padding: 1rem 1rem;
  border-radius:  10% 40% /50% 20% ;
  border-bottom: 5px solid var(--primary); 
}

.about cite{
  text-align: center;
  font-weight: bold;
}

.float{
  float:left;
  border-radius: 50% 20% / 10% 40%;
  border-left: 5px solid var(--primary);
  border-bottom: 5px solid var(--primary);
}
.about::after{
  content: "";
  display: table;
  clear: both;
}

/* ---------------------------------------------------------------------------- CONTACT ME-------- */
.contact{
  margin: 10rem auto;
  padding: 25px 50px;
  width: 50%;
}
#contact{
  background-image: url("./img/bg.jpeg");
}

.contact p {
  margin: 0;
  font-size: 1.7rem;
  color: var(--ligth);

}
.contact h1 {
  color:var(--ligth);
}

form{
  margin-top: 1rem;

} 
fieldset { 
  margin-bottom: 2rem;
  border: 1px solid var(--secondary);
  border-radius: 10px;
  color: var(--ligth);
}
legend {
  font-weight: bold;
  font-size: 1.7rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}
label {
  display: block;
  text-align:left;
  font-size: 1.3rem;
}
input:not([type="checkbox"]),textarea {
  display: block;
  margin-bottom: 2rem;
  width: 20rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  border-radius: 10px;
  border: 4px dotted var(--secondary);
  padding: 0 1rem;
}
#lastName {
  border: 2px dotted var(--primary);
}

textarea {
  height: 10rem;
  padding: 1rem;
}

select {
  font-size: 1rem;
  display: inline-block;
  width: 99%;
  border: 1px dashed var(--secondary);
  border-radius: 10px;
  background-color: white;
  text-align: left;
  color: var(--primary);
  padding-left: 1rem;
  margin-bottom: 1rem;
}

button{
  margin: 2rem 0;
  background-color: var(--secondary);
  color: var(--ligth);
  border: none;
  font-size: 1.3rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  margin: auto 37%;
}

 button:hover {
  cursor: pointer;
}

/*--------------------------------------------------------------------------MAP-------------------------*/



.maps {
  background-image: linear-gradient(to bottom right, white, lightgray);
  border-radius: 10px;
  -webkit-box-shadow: 4px 4px 40px 0px rgba(0, 0, 0, 1);
  -moz-box-shadow: 4px 4px 40px 0px rgba(0, 0, 0, 1);
  box-shadow: 4px 4px 40px 0px rgba(0, 0, 0, 1);
  display: flex;
  flex-direction: row;
  justify-content:center;
  margin: 5rem 3rem ;
  padding: 2rem; 
  gap: 3rem; 
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  border:9px dashed var(--secondary);
}
.frame{
  display: flex;
  padding: 0px 100px;
  margin: 1rem 0px;
  height: 420px;
  width: 100%;
  align-items: stretch;
  justify-content: stretch;
}
.cities{
  display: flex;
  flex-grow: 3;
  flex-flow: column;
  flex-basis: 40%;
  max-width: fit-content;
}
.btn{
  display: inline-block;
  flex-basis: 10%;
  max-width: fit-content;
  margin: 2rem 0;
  background-color: black;
  color: var(--ligth);
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  margin: 0 1.3rem;
  max-width: fit-content;
  cursor: pointer;
}

button:hover {
  background-color: var(--secondary);
}
button:disabled {
  background-color: gray;
  cursor:not-allowed;
}

.prev {
  margin-right: 15px;
}

.btn:disabled {
  background-color: #666;
  cursor: not-allowed;
}


/* ------------------------------------------------------------ FOTTER ---------- */

.footer {
  padding-top: 2rem;
  background-image: url("./img/bg.jpeg");
  background-repeat: no-repeat;
  background-size: cover;;
  width: 100%;
}   

.footer .social {
  text-align: end;
  padding-bottom: 25px;
  color: var(--ligth);
  margin-right: 3rem;
}

.footer .social a {
  font-size: 40px;
  color: var(--ligth);
  /*border: 1px solid var(--ligth);*/
  width: 40px;
  height: 40px;
  line-height: 38px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  margin: 0 1px;
  opacity: 0.75;
}

.footer .social a:hover {
  opacity: 0.9;
  color: var(--secondary);
}

.footer ul {
  margin: 0 ;
  padding: 0;
  list-style: none;
  text-align: end;
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer ul a {
  text-decoration: none;
  opacity: 0.8;
  color: var(--ligth);
}

.footer ul li {
  display: inline-block;
  padding: 0 15px;
}

.footer ul a:hover {
  color: var(--secondary);
}

.footer .copyright {
  margin-top: 15px;
  text-align: end;
  font-size: 1.3rem;
  color: var(--secondary);
}
