.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
    max-width: 900px;
}

 ::-moz-selection {
    color: #fffbf5;
    background: #009b97;
}

 ::selection {
    color: #fffbf5;
    background: #009b97;
}

body {
    background-color: #fffbf5;
    margin: 0px;
}


/* font */

p {
    font-family: "Hkl";
    font-size: 1rem;
    font-weight: 100;
    font-style: normal;
    color: #555555;
}

h1 {
    font-family: "Juana";
    font-size: 12vmin;
    line-height: 14vmin;
    font-weight: 600;
    font-style: normal;
    color: #ec6408;
}

h2 {
    font-family: "Juana";
    font-size: 3rem;
    font-weight: 600;
    font-style: normal;
    color: #009b97;
}

.titoletDes {
    text-align: left;
    font-family: "Juana";
    font-size: 1.2rem;
    font-weight: 600;
    font-style: normal;
    color: #009b97;
}

.titoletRec {
    text-align: center;
    font-family: "Juana";
    font-size: 1.5rem;
    font-weight: 600;
    font-style: normal;
    color: #ec6408;
    border: solid 2px #009b97;
    padding: 40px 60px;
    margin: 80px 0px;
}

.titoletImg>p {
    text-align: right;
    font-family: "Juana";
    font-size: 0.85rem;
    font-weight: 600;
    font-style: normal;
    color: #ec6408;
    padding-left: 10%;
}

.titoletImgSeg>p {
    text-align: left;
    font-family: "Juana";
    font-size: 0.85rem;
    font-weight: 600;
    font-style: normal;
    color: #ec6408;
    margin-top: 25px;
}

.titoletInf {
    text-align: center;
    font-family: "Juana";
    font-size: 3rem;
    line-height: 3.5rem;
    font-weight: 600;
    color: #ec6408;
    margin-top: 50px;
}

.autoria {
    font-family: "Hkl";
    font-size: 0.7rem;
    font-weight: 600;
    font-style: normal;
    color: #009b97;
    position: relative;
    margin-top: -5px;
}

.autorText {
    font-family: "Hkl";
    text-align: center;
    font-size: 2.7vmin;
    line-height: 3vmin;
    color: #009b97;
    padding: 20px 0px 30px 0px;
}

.txtFelici {
    font-size: 5rem;
    color: #fffbf5;
    text-align: center;
    margin-top: 180px;
    margin-bottom: 120px;
}


/* color */

.colorTar {
    color: #ec6408;
}

.colorVer {
    color: #009b97;
}


/* menu llenguatge */

.dropbtn {
    background-color: #ec6408;
    color: #fffbf5;
    padding: 5px 15px 5px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    font-family: "Hkl";
    border-radius: 30px;
    width: 125px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    min-width: 100px;
    z-index: 1;
    width: 125px;
    margin-top: 2px;
}

.dropdown-content a {
    color: #fffbf5;
    padding: 5px 15px 5px 15px;
    text-decoration: none;
    display: block;
    font-family: "Hkl";
    font-size: 16px;
    border-radius: 30px;
    background-color: #ec6408;
    margin-top: 4px;
    text-align: center;
}

.dropdown-content a:hover {
    background-color: #009b97;
    border-radius: 30px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #009b97;
}

.iconaLang {
    width: 20px;
    float: left;
    margin-right: 4px;
    margin-top: 4px;
}


/* estructura */

.davant {
    z-index: 12;
}

.darrere {
    z-index: -10;
    position: relative;
}

.barraDalt {
    display: flex;
    justify-content: space-between;
}

.margeContainerSegon {
    margin-top: 63px;
}

.margeContainerTerc {
    margin-top: 206px;
}

.texturaSobre {
    padding: 2em;
    border: 28px solid transparent;
    border-image: 28 repeating-linear-gradient( -45deg, #ec6408 0, #ec6408 1.5em, transparent 0, transparent 3em, #009b97 0, #009b97 4.5em, transparent 0, transparent 6em);
}

.texturaSobreInf {
    border-bottom: 28px solid;
    border-image: 27 repeating-linear-gradient( -45deg, #ec6408 0, #ec6408 1.5em, transparent 0, transparent 3em, #009b97 0, #009b97 4.5em, transparent 0, transparent 6em);
}

.caixaTop {
    height: 100vh;
}

.logo {
    width: 180px;
    margin-left: 18px;
}

.fletxa {
    width: 30px;
}

.imatgePos {
    position: relative;
    display: inline-block;
}

.imatgePos::before {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    content: "";
    border: 12px solid transparent;
    border-image: 12 repeating-linear-gradient( -45deg, #ec6408 0, #ec6408 1.5em, transparent 0, transparent 3em, #009b97 0, #009b97 4.5em, transparent 0, transparent 6em);
    z-index: -1;
}

.imatgePosVert {
    position: relative;
    display: inline-block;
}

.imatgePosVert::before {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 90%;
    height: 100%;
    content: "";
    border: 12px solid transparent;
    border-image: 12 repeating-linear-gradient( -45deg, #ec6408 0, #ec6408 1.5em, transparent 0, transparent 3em, #009b97 0, #009b97 4.5em, transparent 0, transparent 6em);
    z-index: -1;
}

.imatgePosVertDret {
    position: relative;
    display: inline-block;
}

.imatgePosVertDret::before {
    position: absolute;
    top: 10px;
    right: -10px;
    width: 90%;
    height: 100%;
    content: "";
    border: 12px solid transparent;
    border-image: 12 repeating-linear-gradient( -45deg, #ec6408 0, #ec6408 1.5em, transparent 0, transparent 3em, #009b97 0, #009b97 4.5em, transparent 0, transparent 6em);
    z-index: -1;
}

.imatgeVert {
    width: 90%;
}

.desplVertDret {
    margin-top: 100px;
    text-align: right;
}

.desplVertDretSeg {
    text-align: right;
}

.alineatDreta {
    display: flex;
    align-items: end;
    flex-direction: column;
}

.centrarIcona {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.centrarIconaDreta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    margin-top: 70px;
}

.centrarIconaTerc {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.centrarIconaDretaSeg {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
}

.centrarIconaDretaTer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}

.iconaApos {
    position: absolute;
    right: -100px;
    top: -100px;
}

.caixaTitol {
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.margeTitol {
    margin-left: 15.5vh;
}

.caixaTitolet {
    display: flex;
    align-items: end;
    padding-bottom: 5rem;
}

.caixaTitoletSeg {
    display: flex;
    align-items: start;
    padding: 1rem 4rem 1rem 1rem;
}

.liniaHoritz {
    margin-top: 1.8rem;
    margin-bottom: 1.8rem;
    border-top: 2px solid #ec6408;
}

.blocAlinMig {
    display: flex;
    align-items: end;
    padding-bottom: 40px;
}

p.caixaText {
    text-align: justify;
    text-justify: inter-character;
}

.inferiorVerd {
    background-color: #009b97;
    color: #fffbf5;
    margin: 30px 0px;
}

.inferiotLogo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cercleInf {
    border: solid 2px #ec6408;
    position: relative;
    width: 380px;
    height: 380px;
    border-radius: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fffbf5;
    z-index: 10;
    margin-top: -70px;
}


/* icones / animacions */

body {
    animation: fadeIn 1s linear;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.campana {
    width: 180px;
    transform-origin: 50% 0;
    animation: pendol 3.5s ease-in-out infinite;
    z-index: 5;
    margin-top: -80px;
}

.pendol {
    width: 180px;
    transform-origin: 50% 0;
    animation: pendol 3.5s ease-in-out infinite;
    z-index: 5;
    margin-top: -80px;
}

.grevol {
    width: 280px;
    transform-origin: 50% 0;
    animation: pendol 3.5s ease-in-out infinite;
    margin-top: 40px;
}

.alinDreta {
    text-align: right;
}

@keyframes pendol {
    0%,
    100% {
        transform: rotate(30deg);
    }
    50% {
        transform: rotate(-30deg);
    }
}

.cercleArc {
    width: 140px;
    transform-origin: 50%;
    animation: semirota 3.5s ease-in-out infinite;
    mix-blend-mode: multiply;
}

@keyframes semirota {
    0%,
    100% {
        transform: rotate(45deg);
    }
    50% {
        transform: rotate(-45deg);
    }
}

.regal {
    width: 200px;
    transform-origin: 50%;
    animation: arc 3.5s ease-in-out infinite;
    margin-top: 40px;
}

.regalSeg {
    width: 100px;
    transform-origin: 50%;
    animation: arcsegon 3.5s ease-in-out infinite;
}

@keyframes arc {
    0%,
    100% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(-15deg);
    }
}

@keyframes arcsegon {
    0%,
    100% {
        transform: rotate(-15deg);
    }
    50% {
        transform: rotate(15deg);
    }
}

@keyframes semirota {
    0%,
    100% {
        transform: rotate(45deg);
    }
    50% {
        transform: rotate(-45deg);
    }
}

.iconaA {
    width: 200px;
    z-index: 10;
    mix-blend-mode: multiply;
    animation: rotacio 40s infinite linear;
}

.escala {
    animation: escala 3s infinite linear;
}

@keyframes rotacio {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

.iconaB {
    width: 240px;
    animation: opacitat 10s infinite linear;
}

.iconaC {
    width: 200px;
    animation: opacitat 10s infinite linear;
}

.iconaD {
    width: 200px;
    animation: opacitat 10s infinite linear;
}

@keyframes opacitat {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.iconaE {
    width: 200px;
    animation: flotacio 10s infinite linear;
}

@keyframes flotacio {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-20px);
    }
    100% {
        transform: translatey(0px);
    }
}

.arbreFlot {
    animation: escala 3.5s ease-in-out infinite;
    margin-top: 46px;
}

@keyframes escala {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.92);
    }
    100% {
        transform: scale(1);
    }
}

.texturaElements {
    background-image: url(../img/textura.svg);
    background-repeat: repeat-x;
    background-position: center;
    min-height: 300px;
    margin-top: -300px;
    animation: floatsuau 4s infinite linear;
}

@keyframes floatsuau {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(0, 10px);
    }
    100% {
        transform: translate(0, 0);
    }
}

.flotaRap {
    animation: floatrap 2s infinite linear;
}

@keyframes floatrap {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(0, 10px);
    }
    100% {
        transform: translate(0, 0);
    }
}


/* RESPONSIVE */

@media only screen and (min-device-width: 320px) and (max-device-width: 736px) {
    .logo {
        width: 120px;
        margin-left: 0px;
    }
    .dropbtn {
        font-size: 12px;
        margin-top: 9px;
        width: 100px;
    }
    .dropdown-content {
        right: 0px;
        min-width: 100px;
        width: 100px;
    }
    .dropdown-content a {
        font-size: 12px;
        padding: 5px 5px 5px 5px;
        width: 100px;
    }
    .iconaLang {
        width: 12px;
    }
    h1 {
        font-size: 5.5vh;
        line-height: 6.5vh;
    }
    h2 {
        font-size: 2.8rem;
    }
    p.caixaText {
        padding: 0px 20px;
        text-align: center;
    }
    .caixaTitol {
        text-align: center;
    }
    .margeTitol {
        margin-left: 0vh;
    }
    .textIntro {
        font-size: 2.4vh;
        line-height: 3.4vh;
    }
    .autorText {
        font-size: 2.5vh;
        line-height: 3.5vh;
    }
    .margeContainerTerc {
        margin-top: 40px;
    }
    .texturaSobre {
        border: 16px solid transparent;
        border-image: 16 repeating-linear-gradient( -45deg, #ec6408 0, #ec6408 1.5em, transparent 0, transparent 3em, #009b97 0, #009b97 4.5em, transparent 0, transparent 6em);
    }
    .fletxa {
        width: 30px;
        margin-top: 30px;
    }
    .titoletDes {
        text-align: center;
        padding: 40px 20px;
    }
    .liniaHoritz {
        margin-left: 20px;
        margin-right: 20px;
    }
    .desplVertDret {
        text-align: center;
        margin-top: 120px;
    }
    .campana {
        margin-bottom: 20px;
        margin-top: 0px;
    }
    .pendol {
        margin-bottom: 100px;
        margin-top: -140px;
    }
    .imatgePosVertDret {
        margin-top: 100px;
        margin-right: 5%;
    }
    .imatgePosVertDret::before {
        width: 90%;
    }
    .titoletImgSeg {
        padding-right: 10px;
        padding-left: 10px;
    }
    .titoletRec {
        margin: 20px 0px;
        padding: 25px 25px;
    }
    .caixaTitolet {
        padding-bottom: 1rem;
    }
    .caixaTitoletSeg {
        padding: 1rem 1rem 1rem 1rem;
    }
    .titoletImg {
        text-align: left;
        padding-left: 5%;
    }
    .titoletImg>p {
        text-align: left;
        padding-left: 0%;
    }
    .imatgePosVert {
        text-align: center;
    }
    .centrarFlx {
        justify-content: center;
        display: flex;
    }
    .desplaAmnt {
        margin-top: -100px;
    }
    .cercleInf {
        width: 300px;
        height: 300px;
    }
    .modOrdre {
        order: 2;
    }
    .margResp {
        margin-top: 20px;
        margin-bottom: 40px;
    }
    .alinDreta {
        text-align: left;
    }
    .titoletInf {
        font-size: 2.3rem;
        line-height: 2.6rem;
        margin-top: 50px;
    }
    .cercleArc {
        width: 80px;
        margin-bottom: 30px;
    }
    .txtFelici {
        font-size: 3.5rem;
        color: #fffbf5;
        text-align: center;
        margin-top: 100px;
        margin-bottom: 50px;
    }
    .inferiorVerd {
        margin: -50px 0px 50px 0px;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {}