.navbar-brand {
    font-family: 'Castoro';
    font-size: xx-large !important ; 
    font-weight: bold;
}

.navbar .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 772px) {
    .navbar .container-fluid {
        justify-content: center;
    }
}

.header-brand {
    display: flex;
    align-items: center;
}

.bi-circle-fill {
    fill: currentColor;
    color: orange;
    width: 25px;
    height: 25px;
  }
#header-circle {
    margin-right: 8px;
}

#little-circle {
    width: 25px;
    height: 25px;
    color: orange;
}

.header-links {
    font-family: 'Castoro';
    font-size: large;
    display: flex;
    align-items: center;
}

.header-links a {
    color: black ;
    text-decoration: none;
    transition: font-size 0.5s ease;
}

.header-links a:hover {
    color: rgb(137, 187, 231);
    font-size: larger;
    font-weight: bold;
}

#accueil-link {
    border-right: solid 2px;
}

#contact-link{
    border-right: solid 2px;
}


body, html {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa; 
    font-family: "Castoro";

}

header {
    width: 100%;
    height: 60px; /* Adjust as necessary */
    background-color: #f8f9fa; 
    padding-left: 2em;
    padding-right: 2em;
}

main.homepage {
    flex: 1;
    display: flex;
    width: 100%;
    max-width: 1200px; 
    padding: 20px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
}

#a-propos {
    font-weight: bold;
}

#cadre-image {
    height: 500px;
    width: 500px;
    border-radius: 50%;
    background-image: url('../img/photo.jpg');
    background-size: cover;
    background-position-y: 30%;
}

.col-md-6 {
	flex: 0 0 50%;
	max-width: 50%;
}

@media (max-width: 1200px) {
    #cadre-image {
        height: 400px; 
        width: 400px; 
    }
}
@media (max-width: 992px) {
    #cadre-image {
        height: 300px; 
        width: 300px; 
    }

    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .homepage .container .row {
        display: flex;
        justify-content: center;
    }
}


@media (max-width: 774px) {
    main.homepage {
        margin-top: 6em;
    }

    .card {
        width: 500px !important;
    }    
    .circle-img {
        width: 80px !important;
        height: 80px !important;
    }
}

@media (max-width: 531px) {
    main.homepage {
        margin-top: 6em;
    }

    .card {
        width: 300px !important;
    }    
    .circle-img {
        width: 43px !important;
        height: 43px !important;
    }
}


/* Styles pour les petis écrans */
@media (max-width: 576px) {
    .display-1 {
        font-size: 2.5rem;
    }
    .lead {
        font-size: 1rem;
    }
    .circle {
        width: 80px;
        height: 80px;
        font-size: 0.8rem;
    }
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

}

/* Ecrans moyens */
@media (min-width: 577px) and (max-width: 768px) {
    .display-1 {
        font-size: 3rem;
    }
    .lead {
        font-size: 1.2rem;
    }
    .circle {
        width: 90px;
        height: 90px;
        font-size: 0.9rem;
    }
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Ecrans larges */
@media (min-width: 769px) {
    .display-1 {
        font-size: 4rem;
    }
    .lead {
        font-size: 1.5rem;
    }
    .circle {
        width: 100px;
        height: 100px;
        font-size: 1rem;
    }
}



#circle1 {
    background-color: orange;
}
#circle2 {
    background-color: red;
}
#circle3 {
    background-color: rgb(137, 187, 231);
}

.circle {
    width: 150px;
    height: 150px;
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000; 
    font-weight: bold;
    font-size: 20px; 
    margin-bottom: 15px;
    transition: transform 0.7s ease; 
}
.col-12 a {
    text-decoration: none !important;
}

/* Increase circle on hover */
.circle:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .circle.extended {
        border-radius: 2em;
        width: 100%;
    }
}


/* -----------------------------BUTTON STYLE------------------------------- */
button {
    height: 50px;
    margin: 5px;
    width: 120px;
    background: #ffffff;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-family: Consolas, Courier New, monospace;
    border: solid #404c5d 1px;
    font-size: 16px;
    color: rgb(161, 161, 161);
    -webkit-transition: 500ms;
    transition: 500ms;
    border-radius: 5px;
    background: linear-gradient(145deg, #5b5959, #ffffff);
    -webkit-box-shadow: -1px -5px 15px #41465b, 5px 5px 15px #41465b,
      inset 5px 5px 10px #a4a4a4, inset -5px -5px 10px #fff9f9;
    box-shadow: -1px -5px 15px #41465b, 5px 5px 15px #41465b,
      inset 5px 5px 10px #ffffff, inset -5px -5px 10px #cacaca;
  }
  
  button:hover {
    -webkit-box-shadow: 1px 1px 13px #fcfcfc, -1px -1px 13px #545b78;
    box-shadow: 1px 1px 13px #ededef, -1px -1px 13px #545b78;
    color: #d6d6d6;
    -webkit-transition: 500ms;
    transition: 500ms;
  }
  
  button:active {
    -webkit-box-shadow: 1px 1px 13px #ffffff, -1px -1px 33px #545b78;
    box-shadow: 1px 1px 13px #ffffff, -1px -1px 33px #545b78;
    color: #d6d6d6;
    -webkit-transition: 100ms;
    transition: 100ms;
  }  

/* ---------------------------- CONTACT CARD STYLE -------------------------------- */

.contactCard {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    justify-content: center;
    align-items: center;
}
.card-content {
    background-color: transparent;
    border: none;
    outline: none;
}
.close {
    color: #aaa;
    float: right;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 2px;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}
.card {
    width: 700px;
    height: 120px;
    padding: 0.5rem;
    background: rgb(34,32,32);
    background: linear-gradient(90deg, rgba(34,32,32,1) 0%, rgba(157,157,157,1) 81%, rgba(228,227,227,1) 100%); 
    border-radius: 1em !important;
    backdrop-filter: blur(5px);
    border-bottom: 3px solid rgba(255, 255, 255, 0.440);
    border-left: 2px rgba(255, 255, 255, 0.545) outset;
    box-shadow: -40px 50px 30px rgba(0, 0, 0, 0.280);
    transform: skewX(10deg);
    transition: .4s;
    overflow: hidden;
    color: white;
}
.card:hover {
    height: 310px;
    transform: skew(0deg);
}
.align {
    padding: 1rem;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-self: flex-start;
}
.red, .yellow, .green {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.280);
}
.red { background-color: #ff605c; }
.yellow { background-color: #ffbd44; }
.green { background-color: #00ca4e; }
.card h2 {
    text-align: center;
    margin: 1.3rem;
    color: rgb(218, 244, 237);
    text-shadow: -10px 5px 10px rgba(0, 0, 0, 0.573);
}

/* ------------------------------------------------------------ */
.social-networks {
    margin: 0 auto;
    width: fit-content;
}

.circle-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 10px;
    transition: transform 0.3s ease; 
}

.circle-img:hover {
    transform: scale(1.15);
}

/* ------------------------------------------------------------ */
.video-container {
    text-align: center;
    margin-top: auto;
    margin-bottom: auto;
}

.video-container iframe {
    width: 1000px;
    height: 515px;
    border: none; 
}

@media (max-width: 600px) {
    .video-container iframe {
        width: 100%; 
        height: auto;
    }
}    