* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/poppins/v15/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
    font-family: 'Poppins-black';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/poppins/v15/pxiByp8kv8JHgFVrLBT5Z1xlFQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

body {
    background-color: #312941;
    font-family: Poppins;
    color: #fff;
    padding-left: 2em;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

header .buttons img {
    width: 30px;
    height: auto;
    margin-top: 2em;
    cursor: pointer;
}

header .buttons .back {
    margin-left: 1em;
}

header .account {
    flex-grow: 1;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

header .account .circle {
    width: fit-content;
    height: fit-content;
    margin-right: 4em;
    cursor: pointer;
}

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

header .branding img {
    height: 100%;
    margin: 0 1em;
    cursor: pointer;
}

header .branding h1 {
    font-family: Poppins-black;
    font-size: 22px;    
    color: #EDE6F7;
    display: inline;
    margin: 0 1em;
    cursor: pointer;
}

.page {
    margin-top: -60px;
    display: flex;
    flex-direction: row;
}

.page.home {
    display: block;
}

.page section {
}

.page section.associations {
    padding-left: 2em;
    margin-top: -4em;
    border-left: 1px #5E4F7D solid;
    min-height: 100vh;
    width: 65%;
}

.page section.properties {
  width: 35%;
}

.associations .type:first-child {
    margin-top: 7em;
}

.page.membre .properties h1 {
    text-align: center;
    width: fit-content;
    margin: 0.75em auto 0;
}

.card.max {
    margin: 3em auto;
    min-width: 70%;
    width: max-content;
    height: max-content;
    cursor: default;
}

.card.max h1 {
    text-align: center;
}

.properties h2 {
    position: absolute;
    top: 1.4em;
    left: 7em;
}

.properties .list > div {
    margin-bottom: 1.25em;
}

.properties .list p {
    width: 171px;
    height: 26px;
    background: #473B5E;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    padding: 0.1em 0 0.1em 1em;
    cursor: pointer;
}

.page .type h1{
    font-weight: bold;
    font-size: 20px;
    margin-top: 1em;
}

.page .cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 20px 0;
}

.page .cards > div, .card {
    cursor: pointer;

    background: #473B5E;
    box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    margin: 0 1em 1em;
    display: flex;
    flex-direction: column-reverse;

    min-width: 10em;
    max-width: 15em;
    min-height: 10em;
    max-height: 15em;
}

.page .cards .title, .card .title {
    background: #3C314E;
    border-radius: 0px 0px 30px 30px;
    padding: 0.3em 1em;
}

.page .cards .title h2, .card .title h2 {
    font-weight: bold;
    font-size: 15px;
    line-height: 22px;
    text-align: center;
}

.page .cards .description, .card .description {
    padding: 0.75em 0.75em 0.3em;
    flex-grow: 1;
    text-align: justify;
    font-size: 0.85em;
}

.page .rang {
    border: 3px dashed #473B5E;
    box-sizing: border-box;
    border-radius: 50px;
    padding: 1em 2em;
    width: fit-content;
    margin: 1em;
}

.page .rang h2 {
    font-size: 1em;
    font-weight: 500;
}

.page .members {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.page .members > div {
    margin: 1em 3em;
    width: min-content;
    cursor: pointer;
}

.page .members .circle {
    width: fit-content;
    margin: auto;
}

.page .members > div > span {
    width: 100%;
    text-align: center;
    display: inline-block;
    margin-top: 0.5em;
}

.page .type > .members {
    margin-top: 1em;
}

.circle {
    /* position: absolute;
    left: 32.19%;
    right: 32.19%;
    top: 0%;
    bottom: 45.16%; */

    background: #473B5E;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);

    padding: 1.75em;
    border-radius: 100%;
}

.circle.max {
    width: fit-content;
    padding: 4.5em;
    margin: 2em auto 0;
}

.create {
    position: fixed;
    height: 100%;
    width: 100%;
    background: #00000080;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.create * {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.create input {
    width: 15em;
    padding: 0.5em;
    color: #fff;
    border: none;
    outline: none;
    font-size: 1.5em;
    background: #ffffff20;
}

.create label {
    margin-top: -4em; 
}


form.create select {
  background: #11111100;
  color: #ccc;
  border: solid 1px #333;
  margin-top: 4em;
  font-size: 1.25em;
  padding: 0.25em;
}

.page .cards .new {
    background: rgba(60, 49, 78, 0.7);
    box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    border: none;
}
.page .cards .new img {
    width: 74px;
    height: 74px;
    margin: auto;
}

.menu {
    width: fit-content;
    height: fit-content;
    background: #1a1a1d;
    position: absolute;
    display: flex;
    flex-direction: column;
}

.menu * {
    padding: 0.5em;
    margin: 0.1em 0;
    cursor: pointer;
    background: #2b2b30;
}