@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

/*div.container {
    max-width: 950px;
}*/
div,
p,
h1,
h2,
h3,
label {
    font-family: Lato;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
    background-color: #2e3a4c;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f5f4e7;
  margin: 0 !important;
  padding: 20px 0;
  width: 100%;
  box-sizing: border-box;
}

div#top-header {
  width: 100%;
  background-color: #f5f4e7;
}

div#top-header img {
  padding-left: 5%;
  height: 70px;
  width: auto;
}

header div#content-3,
header div#content-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: sans-serif;
  color: #2e3a4c;
  padding: 1rem;
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
}

header div#content-3 {
  font-size: 2.7rem;
}

header div#content-2 {
  font-size: 1rem;
  color: #2e3a4c;
}



div#info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    background-color:#f5f4e7;
}

#wrapper {
    display: flex;
    justify-content: center;
    width: 90%;
}

div#box{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 20px 20px 20px;
}

div#box i{
    color: #2e3a4c;
}
div#box a{
    color: #f5f4e7;
}
div#box p{
    padding-left: 10px;
    color: #2e3a4c;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    font-size: 1.3rem;
}

p#agraiment-form{
    width: auto;
    height: auto;
    font-size: 2rem;
    font-family: sans-serif;
    text-align: center;
}

p#info-post-form{
    width: auto;
    height: auto;
    font-size: 1.5rem;
    font-family: sans-serif;
    text-align: center;
}



div#landing {
    width: 100%;
    display: flex;
    height: 800px;
    background-color: transparent;
    justify-content: center;
}



/* div#landing div.container{
    width: 100%;
    height: 100%;
    background-color: transparent;
}

div#landing div.container div.row{
    width: 100%;
    height: 100%;
    background-color: transparent;
    margin: 0 !important;
    padding: 0 !important;
}

div#landing div.container div.row div.col-md-6{
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    height: 100%;
    background-color: transparent;
} */

div#form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    width: 50%;
    height: 0%;
    background-color: transparent;
    color: #f5f4e7;
}


#landing ul>li {
    margin: 12px 0;
    font-size: 20px;
}

#landing ul>li::marker {
    color: #2e3a4c;
    font-weight: 700;
    content: '→ ';
    font-size: 25px;
}


/* ///////////////////////////////////////////////////////// */
/* /////////////////        FOOTER        ////////////////// */
/* ///////////////////////////////////////////////////////// */


#footer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    background-color: #2e3a4c;
    height: auto;
    color: #f5f4e7;
}

/*#footer .container .cuerpo p {
    background-color: #4F4F4F;
    color: #FFFFFF;
}*/
#footer .container .cuerpo {
    text-align: center;
    font-size: 8pt;
    line-height: 2;
    color: #f5f4e7;
}

#footer ul {
    list-style-type: none;
    color: #f5f4e7;
    padding: auto !important;
}

#footer ul li {
    color: #f5f4e7;
}


/* ///////////////////////////////////////////////////////// */
/* //////////////////////  SUBFOOTER  ////////////////////// */
/* ///////////////////////////////////////////////////////// */






/* ///////////////////////////////////////////////////////// */
/* /////////////////   ESTIL FORMULARI    ////////////////// */
/* ///////////////////////////////////////////////////////// */


#form {
    background-color: #f5f4e7;
    padding: 25px;
    font-weight: 700;
    font-size: 12px;
    color: #f5f4e7;
}

#form #title-form {
    width: 100% !important;
    text-align: left !important;
    font-size: 2vw !important;
    height: auto !important;
}

#form label,
#form input {
    width: 100%;
    border-radius: 5px;
}

#form label {
    margin-bottom: 5px;
}

#form input {
    border: none;
    padding: 10px;
    margin-bottom: 10px;
}

#form input[type=submit] {
    background-color: #f5f4e7;
    color: #2e3a4c;
    width: fit-content;
    padding: 10px 40px;
    text-transform: uppercase;
    margin: 0;
}

#form button#envia {
    background-color: #f5f4e7;
    color:  #2e3a4c;
    width: fit-content;
    padding: 10px 40px;
    text-transform: uppercase;
    margin: 0;
    border: none;
    
}

.form-container input[type=submit] {
    margin-top: 25px;
    width: 100%;
    height: 35px !important;
    background: #f5f4e7;
    font-weight: 600;
    text-transform: uppercase;
    border-style: none;
}


/* ┌──────────────────┐
   │    Responsive    │
   └──────────────────┘ */




@media only screen and (max-width: 1000px) {

    div#form {
        width: 70%;
        height: 0%;
    }

    #form #title-form {
        font-size: 5vw !important;
    }

    header div#content-1 {
        font-size: 0.8rem;
    }

    header div#content-2 {
        font-size: 0.8rem;
        height: auto;
    }
    header div#content-3 {
        font-size: 2.7rem;
        height: auto;
    }
}


@media only screen and (max-width: 650px) {

    div#landing {
        width: 100%;
        height: 800px;
    }

    div#form {
        width: 80%;
        height: 0%;
    }

    #form #title-form {
        font-size: 5vw !important;
    }

    header div#content-1 {
        font-size: 0.8rem;
    }

    header div#content-2 {
        font-size: 0.8rem;
        height: auto;
    }
    header div#content-3 {
        font-size: 2.7rem;
        height: auto;
    }
}

@media only screen and (max-width: 460px) {
    header{
        height: 500px !important;
    }

    
    div#logo{
        height: 35%;
    }


    div#top-header{
        height: 200px;
        display: flex;
        align-items: center;
    }

    #wrapper {

        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    div#box{
        padding:20px 0px;
    }
    div#box p{
        font-size: 1rem;
    }
    div#box p:nth-child(3){
        font-size: 0.7rem;
    }

    p#agraiment-form{
        font-size: 2rem;
    }
    
    p#info-post-producció{
        font-size: 1.5rem;
    }


}

@media only screen and (max-width: 350px) {

    header{
        height: 300px !important;
    }

    
    div#logo{
        height: 25%;
    }


    header div#content-1 {
        font-size: 0.5rem !important;
    }


    header div#content-2 {
        font-size: 0.5rem !important;
    }
    header div#content-3 {
        font-size: 2.7rem !important;
    }

    #wrapper {

        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }


    div#landing {
        width: 100%;
        height: 800px;
    }

    div#form {
        width: 90%;
        height: 70%;
    }

    #form #title-form {
        font-size: 5vw !important;
    }
}