/*
 * Estil del template home
 *
 * @package   theme_parla
 */

html,
body {
    margin: 0;
}



.flex {
    display: flex;
}

.row {
    flex-direction: row;
}

.col {
    flex-direction: column;
}

.img-resize {
    max-width: 100%;
    height: auto;
}

.img-gencat {
    width: 250px;
}

.img-irl {
    width: 200px;
}

.img-cpnl {
    width: 144px;
}

.justified-text {
    text-align: justify;
    text-justify: inter-word;
}

.round-edges {
    border-radius: 1rem;
}

a:hover {
    text-decoration: none;
}

.flex-1 {
    flex: 1;
}

.bold {
    font-weight: bold;
}

.color-curs {
    background-color: #e5a10e;
}

.color-inscripcio {
    background-color: #9e9d20;
}

.color-rambla {
    background-color: #6f9b82;
}

.color-aula {
    background-color: #e0812b;
}

.interior-padding {
    padding: 0.5rem 3rem 1.5rem 3rem;
}

.sep-nav{
    font-size: 10px;
    padding: 0px 5px 0px 5px;
}

.padding-patrocinadors{
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;

}

.gap {
    gap: 0.5rem;
}

.scale-down:hover {
    transform: scale(0.95);
}

#nav-cur, #nav-ins, #nav-ram, #nav-aul{
    display: none;
}

#first-row {
}

#first-row #idiomes a {
    color: black;
    list-style: none;
}

#first-row #idiomes ul {
    padding-left: 0.5rem;
}


#first-row a {
    text-decoration: none;
}

#first-row #idiomes a:hover {
    text-decoration: none;
    color: #da3d1d;
}

#contacte {
    justify-content: flex-end;
    align-items: center;
    padding-right: 1rem;
}

#contacte a {
    color: black;
}

#contacte a:hover {
    text-decoration: none;
    color: #da3d1d;
}

#contacte i {
    font-size: 0.9735rem;
    vertical-align: text-bottom
}

#second-row {
    background-color: #da3d1d;
    margin: 0 0.5rem;
}

#banner-text {
  align-items: center;
  color: white;
}

#banner-text a {
  color: white;
  text-decoration: none;
}

#banner-text a:hover {
  color: white;
  text-decoration: underline;
}

#third-row {
    height: 3.3rem;
    justify-content: space-around;
    align-items: center;
    margin: 0 0.5rem;
}

#third-row div {
    justify-content: center;
    border-radius: 0.5rem;
    padding-top: 0.75rem;
}

h2{
    font-weight: bold;
}

#third-row a {
    text-decoration: none;
    height: 100%;
}

#third-row a h1 {
    text-align: center;
    font-size: 1.3rem;
}

#col-l {
    background-color: #e5a10e;
    color: #663609;
    flex: 1;
}

#col-mid-l {
    background-color: #9e9d20;
    color: #323317;
    flex: 1;
}

#col-mid-r {
    background-color: #6f9b82;
    color: #10302F;
    flex: 1;
}

#col-r {
    background-color: #e0812b;
    color: #5D1C01;
    flex: 1;
}

#fourth-row {
    margin: 0 0.5rem;
    height: 200%;
    line-height: 1.5;
}

#fourth-row button {
    border: none;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    text-align: center;
    border-radius: 0.3rem;
    font-weight: bold;
    font-size: 1.2rem;
}

#fourth-row button:hover {
    color: white;
    cursor: pointer;
}

#btn-curs {
    background: #81520B;
    color: #e5a10e;
}

#btn-inscripcio {
    background: #504D27;
    color: #9e9d20;
}

#btn-rambla {
    background: #384A41;
    color: #6f9b82;
}

#btn-aula {
    background: #803605;
    color: #e0812b;
}

#fourth-row h2 {
    font-size: 1.1rem;
    margin-bottom: 0px;
}

#div-curs {
    display: none;
}

#div-curs p {
    font-size: 0.9735rem;
}

#div-curs-l {
    flex: 50%;
}

#div-curs-r {
    flex: 50%;
}

#div-curs a {
    color: black;
}

#div-curs a:hover {
    color: white;
    text-decoration: underline;
}

#div-curs ul {
    list-style: none;
}

#div-curs li {
    display: inline;
}

#div-inscripcio {
    display: none;
}

#div-inscripcio-l a,
#div-inscripcio-r a {
    color: black;
}

#div-inscripcio-l a:hover,
#div-inscripcio-r a:hover {
    color: white;
    text-decoration: underline;
}

#div-rambla {
    display: none;
}

#div-aula {
    display: none;
}

.patrocinadors {
    background-color: #DBD5BD;
    justify-content: space-around;
    align-items: center;
    transition: transform .2s;
}

.patrocinadors img {
    opacity: 0.8;
}

.patrocinadors img:hover {
    opacity: 1;
}

#curs-nivells {
    background-image: url("../pix/home/curs/lupa.png");
    background-repeat: no-repeat;
    background-position: right 20px bottom 10px;
}

#curs-demo {
    background-image: url("../pix/home/curs/play.png");
    background-repeat: no-repeat;
    background-position: right 20px bottom 10px;

}

#curs-proves {
    background-image: url("../pix/home/curs/proves.png");
    background-repeat: no-repeat;
    background-position: right 20px bottom 10px;
}

#inscripcio-formulari {
    background-image: url("../pix/home/inscripcio/llapis.png");
    background-repeat: no-repeat;
    background-position: right 20px bottom 10px;
}

#inscripcio-proves {
    background-image: url("../pix/home/inscripcio/proves.png");
    background-repeat: no-repeat;
    background-position: right 20px bottom 10px;
}

#rambla {
    background-image: url("../pix/home/ramblavirtual/arbres.png");
    background-repeat: no-repeat;
    background-position: center;
}

#aula-mestra {
    background-image: url("../pix/home/aulamestra/llibres.png");
    background-repeat: no-repeat;
    background-position: center bottom 10px;
}

#accessibilitat {
    margin-right: 0.5rem;
}

#accessibilitat ul {
    justify-content: flex-end;
    margin-top: 0.5rem;
}

#accessibilitat a {
    color: black;
    text-decoration: none;
    list-style: none;
}

#accessibilitat a:hover {
    text-decoration: none;
    color: #da3d1d;
}

#accessibilitat li {
    display: inline;
    margin: 0 0.25rem;
    align-content: center;
    justify-content: center;
}

@media (max-width: 796px) {
    #third-row a h1 {
        font-size: 1rem;
    }
    .interior-padding {
        padding: 0.5rem 2rem 1rem 2rem;
    }
    #first-row #idiomes li {
        display: flex;
        margin: unset;
    }
    .patrocinadors {
        padding: 0.5rem;
    }
    #first-row {
        flex-direction: column;
    }
    #contacte {
        justify-content: center;
    }
    #idiomes ul,
    #contacte {
        padding: 0;
    }
    #first-row #idiomes ul,
    #date-div,
    #contacte {
        justify-content: center;
    }
}

@media (max-width: 500px) {
    #banner-text {
        display: none;
    }
}

@media (max-width: 480px) {
    #first-row,
    #third-row,
    #div-curs,
    #div-inscripcio,
    #div-rambla,
    #div-aula {
        flex-direction: column;
        height: auto;
    }
    #col-l, #col-mid-l, #col-mid-r, #col-r {
        padding-bottom: 0px !important;
    }
    #div-curs,
    #div-aula {
        flex-direction: column-reverse;
    }
    #third-row a {
        width: 100%;
    }
    #contacte {
        justify-content: center;
    }
    #fourth-row {
        height: unset;
    }
    #fourth-row button {
        color: white;
    }
    #div-inscripcio div {
        flex-direction: column;
    }
    #idiomes ul,
    #contacte {
        padding: 0;
    }
    #first-row #idiomes ul,
    #date-div,
    #contacte {
        justify-content: center;
    }
    #first-row #idiomes li {
        display: flex;
        margin: unset;
    }
    #banner-text {
        flex: 70%;
        display: none;
    }
    #banner-text a {
        font-weight: bold;
    }

    #accessibilitat ul {
        justify-content: center;
        padding: unset;
    }
    .patrocinadors {
        flex-direction: column;
    }
}

#date-div {
    justify-content: center;
    line-height: 1.5;
}

    .flex-grid {
      height: fit-content;
      font-family: Verdana, Geneva, Tahoma, sans-serif;
    gap: 0.5rem;
    }
  

@media screen and (min-width: 821px) {
    .flex-grid {
        height: 100vh;
        
    }
}