@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,700,900");

/*-----Commun-----*/
html {
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    margin: 10px;
}

.page {
    display: grid;
    grid-template-columns: 400px auto;
    grid-gap: 5%;
    margin-top: 30px;

    @media (max-width: 1200px) {
        grid-template-columns: unset;
        grid-gap: 0;
    }
}

p {
    text-align: justify;
}

/*-----Left panel introduction-----*/

.introduction {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
    @media (max-width: 1200px) {
        max-width: 500px;
        margin-inline: auto;
    }
}

.profile-pic {
    border-radius: 50%;
    width: 250px;
    @media (max-width: 1200px) {
        width: 150px;
    }
}

/*-----Study cases-----*/

.title-section {
    margin: 5%;
    border-bottom: solid;
}

.section {
    display: grid;
    grid-template-columns: 40% 40%;
    grid-gap: 20%;
    align-items: center;
    justify-content: space-around;
    margin-inline: 5%;
    margin-top: 40px;
    @media (max-width: 1200px) {
        grid-template-columns: unset;
        grid-gap: 5%;
    }
}

.section:not(:last-child) {
    border-bottom: solid 1px;
    @media (max-width: 1200px) {
        border-bottom: none;
    }

}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-img {
    max-width: 50%;
}

.menu {
    margin-bottom: 20px;
}

.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.realisations {
    margin-right: 40px;
}

.teaser {
    font-weight: 600;
}

/*-----Study Case - PTUT4A-----*/
#moodcom-title {
    background: -webkit-linear-gradient(90deg, rgb(255, 89, 32, 1) 0%, rgb(255, 90, 102, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(255, 90, 102);
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: rgb(255, 89, 32);
}

input:focus+.slider {
    box-shadow: 0 0 1px rgb(255, 89, 32);
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/*-----Study Case - PTUT5A-----*/
#polyforum-title {
    background: -webkit-linear-gradient(90deg, rgb(33, 150, 243, 1) 0%, rgba(13, 71, 161, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*-----About me-----*/
.links {
    height: 100%;
}

.links-list {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.link-icon {
    width: 40px;
}

/*Copyright css*/
/*
	Phantom by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section {
    padding: 0;
    border: 0;
    /* font-size: 100%; */
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ul {
    list-style: none;
}

body {
    -webkit-text-size-adjust: none;
}

input {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
}

/* Basic */

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    background: #ffffff;
}

body.is-preload *,
body.is-preload *:before,
body.is-preload *:after {
    -moz-animation: none !important;
    -webkit-animation: none !important;
    -ms-animation: none !important;
    animation: none !important;
    -moz-transition: none !important;
    -webkit-transition: none !important;
    -ms-transition: none !important;
    transition: none !important;
}

/* Type */

body,
input {
    color: #585858;
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    font-weight: 300;
    line-height: 1.75;
}

.navbar a {
    -moz-transition: border-bottom-color 0.2s ease, color 0.2s ease;
    -webkit-transition: border-bottom-color 0.2s ease, color 0.2s ease;
    -ms-transition: border-bottom-color 0.2s ease, color 0.2s ease;
    transition: border-bottom-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    color: #585858;
    border-bottom: dotted 1px rgba(88, 88, 88, 0.5);
}

.navbar a:hover {
    border-bottom-color: transparent;
    color: rgb(33, 150, 243) !important;
}

strong,
b {
    font-weight: 900;
}

em,
i {
    font-style: italic;
}

p {
    margin: 0 0 2em 0;
}

h1 {
    font-size: 2.75em;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1em 0;
    letter-spacing: -0.035em;
}

h1 a {
    color: inherit;
}

h2,
h4 {
    font-weight: 900;
    line-height: 1.5;
    margin: 0 0 2em 0;
    text-transform: uppercase;
    letter-spacing: 0.35em;
}

h2 a,
h3 a,
h4 a,
h5 a {
    color: inherit;
}

h2 {
    font-size: 1.1em;
}

h4 {
    font-size: 0.8em;
}

/* List */

ul {
    list-style: disc;
    margin: 0 0 2em 0;
    padding-left: 1em;
}

ul li {
    padding-left: 0.5em;
}

/* Image */

.image {
    border-radius: 4px;
    border: 0;
    display: inline-block;
    position: relative;
}

.image img {
    border-radius: 4px;
    display: block;
}


/* Button */

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    -ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: transparent;
    border-radius: 4px;
    border: 0;
    box-shadow: inset 0 0 0 2px #585858;
    color: #585858 !important;
    cursor: pointer;
    display: inline-block;
    font-size: 0.8em;
    font-weight: 900;
    height: 3.5em;
    letter-spacing: 0.35em;
    line-height: 3.45em;
    overflow: hidden;
    padding: 0 1.25em 0 1.6em;
    text-align: center;
    text-decoration: none;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

input[type="button"].icon:before,
button.icon:before,
.button.icon:before {
    margin-right: 0.5em;
}

input[type="button"].fit,
button.fit,
.button.fit {
    width: 100%;
}

input[type="button"]:hover,
button:hover,
.button:hover {
    color: rgb(33, 150, 243) !important;
    box-shadow: inset 0 0 0 2px rgb(33, 150, 243);
}

input[type="button"]:active,
button:active,
.button:active {
    background-color: rgba(242, 132, 158, 0.1);
}

input[type="button"].small,
button.small,
.button.small {
    font-size: 0.6em;
}

input[type="button"].large,
button.large,
.button.large {
    font-size: 1em;
}

input[type="button"].primary,
button.primary,
.button.primary {
    box-shadow: none;
    background-color: #585858;
    color: #ffffff !important;
}

input[type="button"].primary:hover,
button.primary:hover,
.button.primary:hover {
    background-color: rgb(33, 150, 243);
}

/* Tiles */

.tiles {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    justify-content: flex-start;
    -moz-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    postiion: relative;
    /* margin: -2.5em 0 0 -2.5em; */
    grid-column: 2;
    grid-row: 1;
    gap: 50px;
    margin-left: 30px;
    @media (max-width: 1200px) {
        margin: 0;
        flex-direction: column;
        align-items: center;
    }
}

.tiles article {
    -moz-transition: -moz-transform 0.5s ease, opacity 0.5s ease;
    -webkit-transition: -webkit-transform 0.5s ease, opacity 0.5s ease;
    -ms-transition: -ms-transform 0.5s ease, opacity 0.5s ease;
    transition: transform 0.5s ease, opacity 0.5s ease;
    position: relative;
    width: 100%;
    max-width: 600px;
}

.tiles article>.image {
    -moz-transition: -moz-transform 0.5s ease;
    -webkit-transition: -webkit-transform 0.5s ease;
    -ms-transition: -ms-transform 0.5s ease;
    transition: transform 0.5s ease;
    position: relative;
    display: block;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.tiles article>.image img {
    display: block;
    width: 100%;
}

.tiles article>.image:before {
    pointer-events: none;
    -moz-transition: background-color 0.5s ease, opacity 0.5s ease;
    -webkit-transition: background-color 0.5s ease, opacity 0.5s ease;
    -ms-transition: background-color 0.5s ease, opacity 0.5s ease;
    transition: background-color 0.5s ease, opacity 0.5s ease;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1.0;
    z-index: 1;
    opacity: 0.8;
}

.tiles article>.image:after {
    pointer-events: none;
    -moz-transition: opacity 0.5s ease;
    -webkit-transition: opacity 0.5s ease;
    -ms-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cstyle%3Eline %7B stroke-width: 0.25px%3B stroke: %23ffffff%3B %7D%3C/style%3E%3Cline x1='0' y1='0' x2='100' y2='100' /%3E%3Cline x1='100' y1='0' x2='0' y2='100' /%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    opacity: 0.25;
    z-index: 2;
}

.tiles article>a {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -moz-align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -moz-transition: background-color 0.5s ease, -moz-transform 0.5s ease;
    -webkit-transition: background-color 0.5s ease, -webkit-transform 0.5s ease;
    -ms-transition: background-color 0.5s ease, -ms-transform 0.5s ease;
    transition: background-color 0.5s ease, transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1em;
    border-radius: 4px;
    border-bottom: 0;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    z-index: 3;
}

.tiles article>a> :last-child {
    margin: 0;
}

.tiles article>a:hover {
    color: #ffffff !important;
}

.tiles article>a h2 {
    margin: 0;
}

.tiles article>a .content {
    -moz-transition: max-height 0.5s ease, opacity 0.5s ease;
    -webkit-transition: max-height 0.5s ease, opacity 0.5s ease;
    -ms-transition: max-height 0.5s ease, opacity 0.5s ease;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    width: 100%;
    max-height: 0;
    line-height: 1.5;
    margin-top: 0.35em;
    opacity: 0;
}

.tiles article>a .content> :last-child {
    margin-bottom: 0;
}

.tiles article.style1>.image:before {
    background: rgb(255, 89, 32);
    background: linear-gradient(0deg, rgb(255, 89, 32, 1) 0%, rgb(255, 90, 102, 1) 100%);
}

.tiles article.style2>.image:before {
    background: rgb(33, 150, 243);
    background: linear-gradient(0deg, rgb(33, 150, 243, 1) 0%, rgba(13, 71, 161, 1) 100%);
}

body:not(.is-touch) .tiles article:hover>.image {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

body:not(.is-touch) .tiles article:hover>.image:before {
    background-color: #333333;
    opacity: 0.35;
}

body:not(.is-touch) .tiles article:hover>.image:after {
    opacity: 0;
}

body:not(.is-touch) .tiles article:hover .content {
    max-height: 15em;
    opacity: 1;
}

*+.tiles {
    margin-top: 2em;
}

body.is-preload .tiles article {
    -moz-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
    opacity: 0;
}

body.is-touch .tiles article .content {
    max-height: 15em;
    opacity: 1;
}
