body {
    background-image: url('./christmas_tree.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

h1 {
    color: #daa520;
    font-family: 'Clicker Script', cursive;
    font-size: 140px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

h2 {
    color: #183D3D;
    font-family: 'Clicker Script', cursive;
    font-size: 50px;
    text-align: center;
}

h3 {
    color: #183D3D;
    font-family: 'Abel', sans-serif;
    font-size: 30px;
}

h4 {
    color: #93B1A6;
    font-family: 'Clicker Script', cursive;
    font-weight: lighter;
    font-size: 70px;
    text-align: center;
    padding: 0 0 50px 0;
    border-bottom: solid 1px #93B1A6;
    margin-top: 0;
    margin-bottom: 50px;
}

p {
    font-family: 'Abel', sans-serif;
    color: #183D3D;
    font-size: 30px;
}

img {
    width: 50px;
    height: 50px;
}

a {
    text-decoration: none;
    cursor: pointer;
}

/******************************* authentication.html *****************************/

.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  
  .snowflake {
    position: absolute;
    background-color: #fff;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.8;
    animation: falling linear infinite;
  }
  
  @keyframes falling {
    0% {
      transform: translateY(-100vh);
    }
    100% {
      transform: translateY(100vh);
    }
  }

/********** Styles individuels pour chaque flocon ***********/
.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 10s;
    animation-delay: -8s;
}
  
.snowflake:nth-child(2) {
    left: 20%;
    animation-duration: 13s;
    animation-delay: -8s;
}
  
.snowflake:nth-child(3) {
    left: 30%;
    animation-duration: 12s;
    animation-delay: -5s;
    width: 7px;
    height: 7px;
}

.snowflake:nth-child(4) {
    left: 40%;
    animation-duration: 15s;
    animation-delay: -5s;
    width: 13px;
    height: 13px;
}
  
.snowflake:nth-child(5) {
    left: 50%;
    animation-duration: 11s;
    animation-delay: -8s;
}
  
.snowflake:nth-child(6) {
    left: 60%;
    animation-duration: 10s;
    animation-delay: -5s;
    width: 7px;
    height: 7px;
}

.snowflake:nth-child(7) {
    left: 70%;
    animation-duration: 14s;
    animation-delay: -5s;
}
  
.snowflake:nth-child(8) {
    left: 80%;
    animation-duration: 11s;
    animation-delay: -5s;
    width: 13px;
    height: 13px;
}
  
.snowflake:nth-child(9) {
    left: 90%;
    animation-duration: 15s;
    animation-delay: -8s;
}

.accueil_authentication {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 50px;
}

.authentication {
    background-color: #93B1A6;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    padding: 50px;
}

.authentication form {
    text-align: center;
}

.authentication input {
    background-color: #93B1A6;
    border: solid 1px #183D3D;
    font-size: 20px;
    padding: 2px 5px;
    font-family: 'Abel', sans-serif;
    color: #040D12;
}

.authentication button {
    background-color: #183D3D;
    color: #93B1A6;
    border: solid 1px #183D3D;
    border-radius: 5px;
    font-size: 30px;
    padding: 5px;
    margin-top: 40px;
    width: 150px;
    font-family: 'Abel', sans-serif;
    cursor: pointer;
}

.errorlist {
    display: none;
}

.message {
    background-color: #daa520;
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 10px;
    z-index: 20;
    padding: 2px 10px;
}

.message p {
    padding: 0;
    margin: 0;
    font-size: 25px;
}

/******************************* base.html *****************************/

body {
    padding-bottom: 80px;
    position:relative;
}

.circle {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.circle div {
    background-color: #daa520;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    text-align: center;
    justify-content: center;
    margin: 0 10px;
}

.circle div img {
    margin-top: 25px;
    cursor: pointer;
}

/******************************* home.html *****************************/

.home_page {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
    margin: -50px 50px;
}

/*******************my_present part******************/

.my_presents {
    background-color: #93B1A6;
    border-radius: 10px 200px 0 0;
    width: 400px;
    min-height: max-content;
    position: relative;
    padding-bottom: 110px;
}

.my_presents_content {
    margin: 65px 30px 10px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.my_presents_content .header_member {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
}

.my_presents_content .id_member{
    color: #183D3D;
    font-family: 'Clicker Script', cursive;
    font-size: 70px;
    text-align: center;
    margin-bottom: 50px;
}

.my_presents_content .line {
    border-bottom: solid 1px #183D3D;
    width: 100%;
    height: 1px;
}

.my_presents_content ul {
    list-style-type: circle;
    margin: 0;
    padding-left: 20px;
}

.my_presents_content ul li {
    margin-bottom: 10px;
    text-align: left;
}

.my_presents_content ul li a {
    font-family: 'Abel', sans-serif;
    color: #183D3D;
    font-size: 20px;
}

.yellow_button {
    color: #183D3D;
    position: absolute;
    bottom: 30px;
    cursor: pointer;
    margin: 0 30px;

}

.yellow_button div {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    background-color: #daa520;
    border-radius: 5px;
    padding: 10px;
}

.yellow_button img {
    width: 20px;
    height: 20px;
}

.yellow_button p {
    font-size: 20px;
    margin: 0;
}

/***********modale de creation du cadeau**********/

#creation_popup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60%;
    transform: translate(-50%, -50%);
    padding: 50px;
    background-color: #183D3D;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.close_button {
    background-color: #183D3D;
    color: #daa520;
    border: none;
    font-size: 20px;
    position: fixed;
    top: 50px;
    right: 50px;
    cursor: pointer;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

/*******************partie centrale******************/

.family_presents {
    background-color: #183D3D;
    border-radius: 10px;
    width:60%;
    margin-top: 80px;
}

.family_presents_content .id_family {

    margin-top: 50px;
    padding: 0;
    border: none;
}

.family_presents_content_center {
    margin: 0 30px;
    padding-top: 30px ;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    border-top: solid 1px #93B1A6;
}

.family_presents_content .family_member {
    color: #93B1A6;
    font-family: 'Abel', sans-serif;
    font-size: 25px;
    text-align: center;
    width: 45%;
    height: max-content;
    margin-bottom: 30px;
    background-color: rgb(48, 81, 81);
    box-shadow: 5px 5px 7px rgba(4,13,18,.4);
}

.family_presents_content .family_member:nth-child(even) {
    transform:rotate(4deg);
    position:relative;
    top:5px;
  }

  .family_presents_content .family_member:nth-child(3n) {
    transform:rotate(-3deg);
    position:relative;
    top:-5px;
  }

  .family_presents_content .family_member:nth-child(5n) {
    transform:rotate(5deg);
    position:relative;
    top:-10px;
  }

.family_presents_content .family_member .header_family {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
}

.family_presents_content .family_member .header_family h3 {
    color: #93B1A6;
    font-family: 'Abel', sans-serif;
    font-size: 30px;
}

.family_presents_content .family_member img {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}

.family_presents_content .family_member ul{
    list-style-type: circle;
    margin: 0;
}

.family_presents_content .family_member ul li {
    margin-bottom: 10px;
    text-align: left;
}

.family_presents_content .family_member ul li a {
    font-family: 'Abel', sans-serif;
    color: #93B1A6;
    font-size: 20px;
}

.a_present_preview {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.is_booked_preview{
    background-color: #daa520;
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.is_booked_preview p {
    font-size: 20px;
    margin: 0;
}

/*******************partie de droite******************/

.right_home {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.right_home div {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #93B1A6;
    border-radius: 50%;
    width: 280px;
    height: 280px;
}

.right_home p {
    font-family: 'Clicker Script', cursive;
    font-size: 50px;
    text-align: center;
}

.shopping_list {
    background-color: #daa520 !important;
}

.shopping_list a {
    text-align: center;
    color: #183D3D;
    font-family: 'Abel', sans-serif;
    font-size: 25px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.shopping_list {
    cursor: pointer;
    display: flex;
    flex-direction: row;
}

/******************************* shopping_list.html *****************************/

.presentation_shopping_list {
    background-color: white;
    width: 70%;
    margin: 20px auto;
    position: relative;
    gap: 50px;
    border-radius: 0 20px 20px 0;
    top:5px;
    min-height: 500px;
    height: fit-content;
    padding: 20px 0;
}

.presentation_shopping_list::before {
    position: absolute;
    top: 0;
    left: 150px;
    content: '';
    width: 2px;
    height: 100%;
    background-color: rgba(255,0,0,0.6);
}

.pattern {
    height: 100%;
    background-image: repeating-linear-gradient(white -20px, white 47px, teal 48px);
}
.content {
    padding-left: 140px;
    margin-top: 10px;
}

 .a_gift {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    gap: 25px;
}

.a_gift p, .a_gift a {
    font-size: 42px;
    color: #313332;
    font-family: 'Dawning of a New Day', cursive;
}

.a_gift p {
    margin: 0px;
}

.presentation_shopping_list ul {
    list-style-type: circle;
    margin: 0;
    color: #313332;
    padding-top: 0;
}

.change_mind {
    position: absolute;
    right: -150px;
    bottom: 20px;
}

.change_mind a {
    font-size: 20px;
    font-family: 'Abel', sans-serif;
    color: #daa520;
}
.change_mind a:hover {
    text-decoration: underline;
}

/******************************* create_present_form.html *****************************/
.present_form form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.present_form input {
    background-color: rgb(48, 81, 81);
    width: 100%;
    font-size: 30px;
    color: #93B1A6;
    font-family: 'Abel', sans-serif;
    border: none;
}

.present_form label {
    font-size: 30px;
    color: #93B1A6;
    font-family: 'Abel', sans-serif;
}

.present_form select {
    background-color: rgb(48, 81, 81);
    width: 50%;
    font-size: 30px;
    color: #93B1A6;
    font-family: 'Abel', sans-serif;
    margin-top: 10px;
}

.add_present_button {
    position: fixed;
    bottom: 50px;
    right: 50px;
    background-color: #daa520;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-family: 'Abel', sans-serif;
    color: #183D3D;
    font-size: 20px;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    cursor: pointer;
}

.add_present_button img {
    width: 20px;
    height: 20px;
}

/******************************* present_detail.html *****************************/

.single_present {
    width: 80%;
    margin: 50px auto;
    padding: 50px;
    background-color: #183D3D;
    border-radius: 10px;
    position: relative;
}

.gift_presentation {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    gap: 30px;
}

.gift_presentation p, .gift_presentation a {
    font-family: 'Abel', sans-serif;
    color: #93B1A6;
    font-size: 30px;
}

.book {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    background-color: #daa520;
    border-radius: 5px;
    padding: 10px;
    width: fit-content;
    position: absolute;
    bottom: 50px;
    right: 50px;
}

.book img {
    width: 20px;
    height: 20px;
}

.book p {
    font-size: 20px;
    margin: 0;
}

.booked {
    display: flex;
    justify-content: center;
    border: solid 2px #daa520;
    background-color: rgb(48, 81, 81);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    top: 170px;
    right: 80px;
    transform: rotate(20deg);
    padding: 10px;
    box-shadow: 5px 5px 7px rgba(4,13,18,.4);
}

.booked p {
    color: #daa520;
}

.button_modify_my_present {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: end;
}

.modify_my_present {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    background-color: #daa520;
    border-radius: 5px;
    padding: 10px;
    width: fit-content;
    border: none;
    font-family: 'Abel', sans-serif;
    color: #183D3D;
    font-size: 20px;
    margin: 0;
}

.modify_my_present img {
    width: 20px;
    height: 20px;
}

#background_popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

#popup, #confirm{
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60%;
    transform: translate(-50%, -50%);
    padding: 50px;
    background-color: #183D3D;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.confirm_text {
    font-family: 'Abel', sans-serif;
    color: #93B1A6;
    font-size: 30px;
}

.confirm_bottom {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
}

.confirm_delete {
    padding-right: 20px;
}

.confirm_delete a {
    color: #183D3D;
}

.confirm_delete a div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

