/*
Theme Name: Ma valise
Theme URI: 
Author: J&J
Author URI: https://wordpress.org/
Description: Ma valise theme
Requires at least: 5.9
Tested up to: 5.9
Requires PHP: 5.6
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mavalise
Tags: mavalise
*/

@font-face {
    font-family: "NorthLandon-Regular";
    src: url("/wp-content/themes/ma-valise-theme/assets/fonts/NorthLandon-Regular.otf") format("truetype");
}

html {
    line-height: 1.15;
}

body.page {
    min-height: 500px;
}

.ma-valise-header {
    height: 700px;
    background: linear-gradient(180deg, rgba(218, 149, 132, 0.4009804605435925) 0%, rgb(255, 255, 255) 100%);
}

.ma-valise-title {
    height: 700px;
    width: 55em;
    padding-top: 100px;
    margin: auto;
    transform: translate(-80px);
}

.ma-valise-logo {
    width: 65%;
}

.ma-valise-logo-text {
    font-size: 2em;
    font-weight: bold;
    top: 6em;
    position: relative;
    left: 4em;
    color: #212d56;
    font-family: 'Open Sans', sans-serif;
}

.ma-valise-logo-text :nth-child(2) {
    font-size: 2em;
}

.ma-valise-logo-text :nth-child(3) {
    font-size: 1.4em;
}

.ma-valise-logo-text :nth-child(4) {
    font-size: 1.6em;
}

.ma-valise-logo-text :nth-child(5) {
    font-size: 1.4em;
}

.ma-valise-logo-text>p {
    margin: 0;
}

#img-logo {
    float: left;
    shape-outside: polygon(233px -55px, 86.53% 31.72%, 29.16% 56.37%);
    width: 100%;
}

.question-imgs>picture img {
    width: 100%;
    overflow: hidden;
    z-index: -1;
    position: relative;
}

.question-imgs {
    margin-bottom: -5px;
}

.pill {
    width: 120px;
    height: 120px;
    position: absolute;
    background-color: rgb(255, 255, 255);
    left: calc(50% - 60px);
    top: -60px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    display: flex;
}

.pill>p {
    font-size: 50px;
    margin: auto;
    font-weight: 800;
    font-family: 'Roboto Slab', serif;
}

.question {
    position: relative;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.question>h1 {
    font-size: 4em;
    font-family: 'NorthLandon-Regular', sans-serif;
    font-weight: normal;
    position: absolute;
    text-align: center;
    top: 1em;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.question-responses {
    display: flex;
    position: absolute;
    top: 8em;
    font-size: 1.8em;
    left: 50%;
    transform: translate(-50%, -50%);
}

.response {
    display: flex;
    font-family: 'Roboto', sans-serif;
    margin: 30px;
    background-color: rgba(255, 255, 255, 0.5);
    width: max-content;
    border-radius: 100px;
    cursor: pointer;
}

.response.selected {
    background-color: rgba(255, 255, 255);
}

.title-response {
    margin: auto;
    padding: 15px;
    /* padding-right: 20px; */
    min-width: 200px;
    text-align: center;
}

.icon-response {
    border-radius: 100px;
    padding: 10px;
    width: 50px;
    height: 50px;
    background-size: cover;
}

.icon-response>img {
    filter: invert(100%);
}

/* RESULTS  */

#placeHolderResults>h1 {
    font-family: 'Open Sans';
    color: #fa495c;
    text-align: center;
}

.results {
    background: linear-gradient(0deg, rgba(218, 149, 132, 0.4009804605435925) 0%, rgba(255, 255, 255, 1) 60%);
    padding-bottom: 50px;
}

.results>h1,
.results>h2 {
    font-size: 5em;
    font-family: 'NorthLandon-Regular', sans-serif;
    font-weight: normal;
    text-align: center;
    color: #212d56;
    width: 100%;
    margin-bottom: 0;
}

.results>h1 {
    padding-top: 53px;
    margin-top: 0;
}

.results>h2 {
    font-size: 3.4em;
    margin-top: 0;
    margin-bottom: 10px;
}

.results-lists {
    display: flex;
    justify-content: center;
}

.result {
    display: flex;
    text-align: end;
    font-family: 'Roboto', sans-serif;
    padding: 10px;
}

.result>.labels {
    display: flex;
    text-align: end;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
    cursor: pointer;
}

.title-icon {
    display: flex;
    border-radius: 0px 200px 200px 0px;
    -webkit-border-radius: 0px 200px 200px 0px;
    -moz-border-radius: 0px 200px 200px 0px;
    border-width: 2px;
    border-style: solid;
}

.results-left .title-icon {
    flex-direction: row-reverse;
    border-right: 0px;
    border-image:
        linear-gradient(to left,
            #a5a5a5,
            rgba(0, 0, 0, 0)) 1 100%;
    border-image-slice: 1;
    margin-right: 0;
    width: inherit;
}

.results-right .title-icon {
    border-left: 0px;
    border-image:
        linear-gradient(to right,
            #a5a5a5,
            rgba(0, 0, 0, 0)) 1 100%;
    border-image-slice: 1;
    margin-right: 0;
    width: inherit;
}

.results-right .result>.labels {
    width: 100%;
    text-align: start;
}

.results-left .result {
    flex-direction: row-reverse;
}

.results-left .result>.labels {
    margin-left: auto;
    width: 100%;
    flex-direction: row-reverse;
}

.result .title {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
    margin-right: 10px;
    color: #212d56;
    width: 100%;
}

.result .title>h3,
.result .title>h4 {
    margin: 0;
}

.result .title>h4 {
    font-weight: normal;
    font-style: italic;
}

.icon-result {
    margin: auto;
    margin-right: 5px;
    margin-left: 5px;
    width: 40px;
    height: 40px;
}

.icon-result > img {
    height: 33px;
    width: 33px;
}

.item-count {
    margin: auto;
    padding: .6em;
    background: #29335c;
    color: white;
    font-size: 1.7em;
    display: flex;
    width: 28.75px;
}

.item-count>.number {
    font-family: 'Roboto Slab', serif;
}

.results-left {
    width: 40%;
}

.results-right {
    width: 40%;
}

.results-left .item-count {
    border-top: #a5a5a5 2px solid;
    border-right: #a5a5a5 2px solid;
    border-bottom: #a5a5a5 2px solid;
    border-radius: 0px 200px 200px 0px;
    -webkit-border-radius: 0px 200px 200px 0px;
    -moz-border-radius: 0px 200px 200px 0px;
    margin-right: 0;
}

.results-right .item-count {
    border-top: #a5a5a5 2px solid;
    border-left: #a5a5a5 2px solid;
    border-bottom: #a5a5a5 2px solid;
    border-radius: 200px 0px 0px 200px;
    -webkit-border-radius: 200px 0px 0px 200px;
    -moz-border-radius: 200px 0px 0px 200px;
}

.result.selected .item-count {
    background: #fa495c;
}

.cb {
    box-shadow: 0 0 0 0.125em rgba(0, 0, 0, 0.75) inset;
    display: inline-block;
    position: relative;
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
    -moz-appearance: none;
    -webkit-appearance: none;
    border-radius: 20px;
    margin: auto 10px auto 10px;
    cursor: pointer;
}

.cb:before {
    content: "";
    display: block;
    position: absolute;
}

.cb:before {
    background: url("/wp-content/themes/ma-valise-theme/assets/images/checkmark.png") 0 100%/1.2em 1.35em no-repeat;
    bottom: 0.1em;
    left: 0.1em;
    width: 0;
    height: 1.35em;
    font-size: 1.5em;
}

.cb:checked {
    background-color: transparent;
}

.cb:checked:before {
    animation: drawA 0.1s linear forwards;
}

input[type="checkbox"]:checked+.labels .item-count {
    background-color: #48b958;
    border-color: #48b958;
}

input[type="checkbox"]:checked+.labels .title-icon {
    border-color: #48b958;
}

@keyframes drawA {

    from,
    5% {
        width: 0;
        height: 1.35em;
    }

    90%,
    to {
        width: 1.2em;
        height: 1.35em;
    }
}

/* MEDIA QUERY */

@media (max-width: 1560px) {
    .question-responses {
        top: 9em;
        font-size: 1.5em;
    }

    .icon-response {
        width: 40px;
        height: 40px;
    }

    .question>h1 {
        font-size: 3.5em;
    }

    .response {
        margin: 20px;
    }
}

@media (max-width: 1310px) {
    .question-responses {
        top: 14em;
        font-size: 1.5em;
        display: block;
        position: absolute;
    }

    .response {
        margin: 30px;
    }

    .question>h1 {
        font-size: 4em;
    }
}

@media (max-width: 1250px) {
    .question-responses {
        top: 13em;
    }

    .title-response {
        padding: 10px;
    }

    .icon-response {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 1080px) {
    .ma-valise-title {
        width: 45em;
    }

    #img-logo {
        shape-outside: polygon(233px -55px, 86.53% 27.16%, 28.95% 55.8%);
    }

    .ma-valise-logo-text {
        font-size: 1.5em;
        top: 9em;
        left: 5em;
    }

    .question-responses {
        top: 12em;
    }

    .response {
        margin: 10px;
    }

    .results-left {
        width: 50%;
    }

    .results-right {
        width: 50%;
    }


}

@media (max-width: 950px) {
    .ma-valise-header {
        height: 550px;
    }

    .ma-valise-title {
        width: 35em;
    }

    .ma-valise-logo-text {
        font-size: 1.2em;
    }

    .question-responses {
        top: 14em;
    }

    .response {
        margin: 30px;
    }
}

@media (max-width: 860px) {
    .results>h1 {
        font-size: 4em;
    }

    .results>h2 {
        font-size: 2.4em;
    }

    .results-lists {
        display: block;
    }

    .results-left {
        width: 80%;
        margin: auto;
    }

    .results-right {
        width: 80%;
        margin: auto;
    }

    .results-right .title-icon {
        border-left: 0px;
        border-right: 0px;
        border-image: unset;
        border-image-slice: unset;
        margin-right: 0;
        width: inherit;
        flex-direction: row-reverse;
    }

    .results-left .title-icon {
        border-left: 0px;
        border-right: 0px;
        border-image: unset;
        border-image-slice: unset;
        margin-right: 0;
        width: inherit;
    }

    .results-right .result>.labels {
        flex-direction: row-reverse;
    }

    .results-right .result {
        flex-direction: row-reverse;
    }

    .results-right .item-count {
        border-radius: 0px 200px 200px 0px;
        -webkit-border-radius: 0px 200px 200px 0px;
        -moz-border-radius: 0px 200px 200px 0px;
        border-left: 0px;
        border-right: #a5a5a5 2px solid;
    }

    .title-icon {
        border-radius: 200px 000px 000px 200px;
        -webkit-border-radius: 200px 000px 000px 200px;
        -moz-border-radius: 200px 000px 000px 200px;
        border-width: 2px;
        border-color: #a5a5a5;
        border-style: solid;
        text-align: center;
    }

    .result {
        position: relative;
    }

    .cb {
        height: 100%;
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        opacity: 0;
    }
}

@media (max-width: 760px) {

    .pill {
        width: 80px;
        height: 80px;
        left: calc(50% - 40px);
        top: -40px;
    }

    .pill>p {
        font-size: 40px;
        margin: auto;
        font-weight: 800;
        font-family: 'Roboto Slab', serif;
    }

    .question>h1 {
        font-size: 3.7em;
        top: 0.5em;
    }

    .question-responses {
        top: 11em;
    }

    .ma-valise-header {
        height: unset;
    }

    .ma-valise-logo {
        width: 100%;
    }

    #img-logo {
        float: unset;
    }

    .ma-valise-title {
        padding-top: 50px;
        width: 100%;
        height: unset;
        transform: unset;
    }

    .ma-valise-logo {
        width: 65%;
        margin: auto;
    }

    .ma-valise-logo-text {
        font-size: 1.4em;
        top: unset;
        position: unset;
        padding: 10px;
        padding-bottom: 60px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .ma-valise-header {
        height: unset;
    }

    .ma-valise-logo {
        width: 100%;
    }

    #img-logo {
        float: unset;
    }

    .ma-valise-title {
        padding-top: 50px;
        width: 100%;
        height: unset;
        transform: unset;
    }

    .ma-valise-logo {
        width: 65%;
        margin: auto;
    }

    .ma-valise-logo-text {
        font-size: 1.4em;
        top: unset;
        position: unset;
        padding: 10px;
        padding-bottom: 60px;
        text-align: center;
    }

    .question-responses {
        top: 10em;
    }

    .response {
        margin: 15px;
    }
}

@media (max-width: 580px) {

    .title-response {
        padding: 5px;
    }

    .pill {
        width: 50px;
        height: 50px;
        left: calc(50% - 25px);
        top: -25px;
    }

    .pill>p {
        font-size: 1.5em;
    }

    .question>h1 {
        font-size: 2.2em;
        top: 0.5em;
    }

    .question-responses {
        top: 8em;
        font-size: 1.1em;
    }

    .response {
        margin: 10px;
    }

    .icon-response {
        padding: 5px;
        width: 25px;
        height: 25px;
    }

    .results-left {
        width: 100%;
    }

    .results-right {
        width: 100%;
    }

    .result .title {
        font-size: 0.8em;
    }

    .results>h1 {
        font-size: 2.7em;
    }

    .results>h2 {
        font-size: 1.9em;
    }

    .result .title>h3 {
        font-size: 1.3em;
    }
}

/* Footer */
section {
    width: 100%;
    display: inline-block;
    background: #027cc6;
    height: 50vh;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    text-decoration: underline;
}

.footer-distributed {
    background: #027cc6;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    font-family: 'Roboto Slab', serif;
    padding: 20px 50px;
}

.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right {
    display: inline-block;
    vertical-align: top;
}

/* Footer left */

.footer-distributed .footer-left {
    width: 40%;
}

/* The company logo */

.footer-distributed h3 {
    color: #ffffff;
    font-family: 'Roboto Slab', serif;
    margin: 0;
}

.footer-distributed h3 span {
    color: lightseagreen;
}

/* Footer links */

.footer-distributed .footer-links {
    color: #ffffff;
    margin: 20px 0 12px;
    padding: 0;
}

.footer-distributed .footer-links a {
    display: inline-block;
    line-height: 1.8;
    font-weight: 400;
    text-decoration: none;
    color: inherit;
}

.footer-distributed .footer-company-name {
    color: #222;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
}

/* Footer Center */

.footer-distributed .footer-center {
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.footer-distributed .footer-center i {
    background-color: #33383b;
    color: #ffffff;
    font-size: 25px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
    line-height: 42px;
    margin: 10px 15px;
    vertical-align: middle;
}

.footer-distributed .footer-center i.fa-envelope {
    font-size: 17px;
    line-height: 38px;
}

.footer-distributed .footer-center p {
    display: inline-block;
    color: #ffffff;
    font-weight: 400;
    vertical-align: middle;
    margin: 0;
}

.footer-distributed .footer-center p span {
    display: block;
    font-weight: normal;
    font-size: 14px;
    line-height: 2;
}

.footer-distributed .footer-center p a {
    color: white;
    text-decoration: none;
    ;
}

.footer-distributed .footer-links a:before {
    content: "|";
    font-weight: 300;
    font-size: 20px;
    left: 0;
    color: #fff;
    display: inline-block;
    padding-right: 5px;
}

.footer-distributed .footer-links .link-1:before {
    content: none;
}

/* Footer Right */

.footer-distributed .footer-right {
    width: 20%;
}

.footer-distributed .footer-company-about {
    line-height: 20px;
    color: #92999f;
    font-size: 13px;
    font-weight: normal;
    margin: 0;
}

.footer-distributed .footer-company-about span {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-distributed .footer-icons {
    margin-top: 25px;
}

.footer-distributed .footer-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    cursor: pointer;
    background-color: #33383b;
    border-radius: 2px;

    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 35px;

    margin-right: 3px;
    margin-bottom: 5px;
}

/* If you don't want the footer to be responsive, remove these media queries */

@media (max-width: 880px) {

    .footer-distributed {
        font-family: 'Roboto Slab', serif;
    }

    .footer-distributed .footer-left,
    .footer-distributed .footer-center,
    .footer-distributed .footer-right {
        display: block;
        width: 100%;
        text-align: center;
    }

    .footer-distributed .footer-center i {
        margin: 0;
    }

}