@import url('https://fonts.googleapis.com/css2?family=Arvo&family=Bitter:wght@100;400&family=Kanit:wght@500&family=Poppins:wght@300&display=swap');
@font-face {
	font-family: font_2;
	src: url(medias/fonts/font_2.ttf);
	font-display: block;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
  background: #ecf0f1;
}

header {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 50px 0;
  background: #34495e;
}

header img {
  max-width: 250px;
}

h1 {
    padding: 75px 135px;
    font-size: 55px;
    font-family: "Kanit", sans-serif;
    color: #34495e;
}

main {
  display: flex;
}

nav {
    position: sticky;
    top: 5vh;
    width: 24vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 4vw;
    justify-content: space-evenly;
    height: 35vh;
    padding: 1px 35px;
    text-align: center;
}

.custom_nav {
    height: 75vh;
}

nav > a {
    text-decoration: none;
    color: #34495e;
    font-family: "Bitter", serif;
}

nav > a:hover {
    text-decoration: underline;
}

.content {
    width: 72vw;
}

section {
    margin-bottom: 35px;
}

.fsection_first {
    font-family: "Bitter", serif;
    font-size: 25px;
    padding: 0;
}

section > h2 {
  font-family: "Bitter", serif;
  font-size: 25px;
}

section > p {
    font-family: monospace;
    color: #34495e;
    padding: 20px;
    font-size: 15px;
}

footer {
    width: 100%;
    height: 10vh;
    display: flex;
}

.footer_left {
    display: flex;
    width: 90%;
    background: #34495e;
    align-items: center;
    position: relative;
}

.footer_left > div {
    display: none;
}

.footer_left > a {
    color: #ecf0f1;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    margin-left: 4vw;
}

.footer_left > a:hover {
    text-decoration: underline;
}

.footer_left button {
    background: #ecf0f1;
    color: #34495e;
    cursor: pointer;
    font-size: 25px;
    position: absolute;
    border: 2px solid #fff;
    transition: 0.5s;
    padding: 5px;
    right: 15px;
}

.footer_left button:hover {
    background: #34495e;
    color: #ecf0f1;
}

.footer_right {
    display: flex;
    justify-content: center;
    width: 10%;
    background: #ecf0f1;
    color: #34495e;
    font-family: font_2;
    align-items: center;
    border-top: 1px solid #34495e;
}

footer img {
    margin-left: 1vw;
    max-width: 150px;
}

#SocialNetwork_1 {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    bottom: 10vh;
    background: rgba(0, 0, 0, 0.25);
    transition: 0.5s;
    margin-bottom: -0.1px;
}

#SocialNetwork_1 a {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    width: 4vw;
    height: 4vw;
    text-align: center;
    text-decoration: none;
    border: 0.5vw solid transparent;
    transition: 0.5s;
    filter: invert(1);
}

#SocialNetwork_1 a:hover {
    filter: invert(0);
}

#SocialNetwork_1 a:nth-child(1) {
    background-image: url('medias/images/facebook_logo.png');
}

#SocialNetwork_1 a:nth-child(2) {
    background-image: url('medias/images/instagram_logo.png');
}

#SocialNetwork_1 a:nth-child(3) {
    background-image: url('medias/images/x_logo.png');
}


/* ///////////////////////////////////////////// TABLET //////////////////////////////////////////////////// */


@media only screen and (max-width: 1033px) {
    h1 {
        padding: 65px 100px;
        font-size: 40px;
    }

    nav {
        width: 25vw;
        justify-content: space-between;
        align-items: start;
        text-align: left;
        height: 30vh;
        padding: 25px;
        margin-left: 0;
    }

    nav > a {
        font-size: 15px;
    }

    .custom_nav {
        height: 65vh;
    }

    .content {
        width: 75vw;
    }

    .fsection_first {
        padding-right: 45px;
    }

    section > p {
        font-size: 20px;
        padding-right: 45px;
        text-align: justify;
    }

    footer {
        height: unset;
        flex-direction: column;
    }

    .footer_left {
        position: relative;
        width: 100%;
        height: 8vh;
    }

    @media only screen and (min-width: 743px) {
        .footer_left > div {
            position: absolute;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            top: -150px;
            left: 0;
            background: rgba(0, 0, 0, 0.25);
        }

        .footer_left > div > a {
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: inline-block;
            width: 50px;
            height: 50px;
            text-align: center;
            text-decoration: none;
            border: 5px solid transparent;
            filter: invert(1);
        }
    }

    footer img {
        margin-left: 2vw;
        max-width: 175px;
    }

    .footer_left button {
        display: unset;
    }

    .footer_right {
        width: 100%;
        border-top: 0;
        height: 7vh;
    }

    #SocialNetwork_1 {
        display: none;
    }
}


/* ///////////////////////////////////////////// MOBILE //////////////////////////////////////////////////// */


@media only screen and (max-width: 742px) {
    header {
        padding: 30px 0;
    }

    header img {
        max-width: 175px;
    }

    h1 {
        padding: 40px 16px;
        font-size: 30px;
        text-align: center;
    }

    nav {
        display: none;
    }

    .content {
        width: 100vw;
        padding: 0 10vw;
    }

    section {
        margin-bottom: 20px;
    }

    .mfsectionbis {
        margin-bottom: 5px;
    }

    .mfsection {
        margin-bottom: 20px;
    }

    .fsection_first {
        padding-right: 0;
        font-size: 18px;
        text-align: justify;
    }

    section > h2 {
        font-size: 22px;
    }

    section > p {
        font-size: 14px;
        padding: 15px;
        text-align: unset;
    }

    #SocialNetwork_1 {
        display: none;
    }

    footer img {
        margin-left: 0;
        max-width: 150px;
    }

    .footer_left {
        justify-content: space-evenly;
        height: 40vh;
        flex-direction: column;
    }

    .footer_left > a {
        margin-left: 0;
    }

    .footer_left > div {
        width: 100%;
        display: flex;
        justify-content: space-evenly;
    }

    .footer_left > div > a {
        background-size: cover;
        filter: invert(1);
        height: 50px;
        width: 50px;
    }

    .footer_left button {
        font-size: 30px;
        border: 2px solid #fff;
        padding: 8px;
        top: 11px;
        right: 12px;
    }

    .footer_right {
        height: 10vh;
    }
}