@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=SUSE+Mono:ital,wght@0,100..800;1,100..800&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: #FFFAED;
}

h1, h2, h3 {
    font-weight: bold;
}

p {
    color: #8D8383;
}

.bold-font {
    font-weight: bold;
}

h3 {
    font-size:large;
}

h1, h2, h3, p {
    font-family: "Montserrat", sans-serif;
}

.margin-top {
    margin-top: 1em;
}

.italic {
    font-style: italic;
}

.underline {
    text-decoration: underline !important;
}

.font-24 {
    font-size: x-large;
}

.font-18 {
    font-size: larger;
}

.no-margin-bottom {
    margin-bottom: 0px;
}

.text-center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
}

.medium-text {
    font-size: 1.2em;
}

.image-rounded {
    border-radius : 3em;
}

.input-rounded {
    border-radius : 0.5em;
}

.margin-top {
    margin-top: 5%;
}

.margin-left-right {
    margin-left: 10%;
    margin-right: 10%;
}

.margin-m-left-right {
    margin-left: 15%;
    margin-right: 15%;
}

.margin-left {
    margin-left: 10%;
}

.width-100 {
    width: 100%;
}

.input-padding-register-login {
    padding: 1em;
}

.section-thematique-format div {
    display: grid;
    column-gap: 10%;
    row-gap: 2em;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 2%;
    margin-bottom: 5%;
    margin-right: 10%;
}

@media screen and (max-width: 768px) {
    .section-thematique-format div {
        grid-template-columns: 1fr;
    }   
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .section-thematique-format div {
        grid-template-columns: 1fr 1fr;
    }   
    
}

.section-thematique-format img {
    width: 100%;
}

.section-thematique-format img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.section-dernier-podcast-favoris {
    display: flex;
    gap: 5%;
    margin-top: 2%;
    margin-bottom: 5%;
    width: 100%;
    overflow:scroll;
    padding: 1em;
}

.section-dernier-podcast-favoris a {
    text-decoration: none;
    color: black;
    width: min-content;
    text-align: center;
}

.section-dernier-podcast-favoris h3 {
    margin-top: 0.5em;
}

.section-dernier-podcast-favoris img {
    width: 300px;
}

.section-dernier-podcast-favoris img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.research-podcast {
    margin-right: 10%;
    display: flex;
    justify-content: center;
    margin-top: 5%;
    margin-bottom: 5%;
}

.research-podcast label {
    width: 80%;
    display: flex;
    position: relative;
    align-items: center;
}

.research-podcast i {
    position: absolute;
    color: #333;
    right: 1em;
}

.research-podcast input {
    padding: 0.5em 1em;
}

.section-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.section-flex h2 {
    margin-bottom: 10em;
}

.section-flex a {
    text-decoration: none;
    color: black;
    width: min-content;
    text-align: center;
}

.section-flex img {
    width: 250px;
    margin: 1em;
}

.section-flex img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.podcast {
    display: flex;
    gap: 5%;
}

@media screen and (max-width: 768px) {
    .podcast {
        flex-direction: column;
        align-items: center;
    }   
}

.podcast a {
    text-decoration: none;
    color: black;    
}

.podcast button {
    background-color: #0A2342;
    color: white;
    padding: 0.5em 1em;
    width: 200px;
    border: none;
    border-radius: 1.5em;
    margin-top: 1em;
    margin-right: 1em;
    margin-bottom: 1em;
}

.podcast button:hover {
    background-color: #06172c;
}

.podcast img {
    width: 300px;
}

#podcast-card {
    width: min-content;
}

#podcast-category {
    text-align: center;
}

#podcast-author-name {
    font-size: larger;
    font-weight: bold;
    color: #8D8383;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.button-100 {
    width: 100%;
    background-color: #21B2AB;
    color: white;
    padding: 1.5em 0.5em;
    border: none;
    border-radius: 0.5em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.section-register {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10em;
}

.section-register form {
    width: 100%;
    gap: 1em;
    display: flex;
    flex-direction: column;
}

.section-register input {
    width: 100%;
    padding: 1.5em 1em;
    border-radius: 0.5em;
}

.section-author {
    display: flex;
    gap: 5%;
}

.section-author img {
    width: 280px;
    border-radius: 3em;
}

@media screen and (max-width: 768px) {
    .section-author {
        flex-direction: column;
        align-items: center;
    }

    .section-author img {
        margin-bottom: 1em;
        width: 100%;
    }

}


.section-author-podcasts a {
    text-decoration: none;
    font-weight: 300;
    color: black;
    font-size: large;
}

.section-author-podcasts h2 {
    font-size: large;
}

.section-author-podcasts button {
    background-color: #21B2AB;
    color: white;
    padding: 1em 1.5em;
    border: none;
    border-radius: 2em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.modal-container span {
    cursor: pointer;
    text-align: right;
}

.modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-container form {
    background-color: #FFFAED;
    padding: 2em;
    border-radius: 0.5em;
    display: flex;
    flex-direction: column;
    gap: 1em;
    border-radius: 3em;
    font-size: small;
}

.modal-container form fieldset legend {
    font-size: medium;
}

.modal-container form fieldset div {
    display: flex;
    flex-direction: column;
}

.modal-container button {
    background-color: #0A2342;
    color: white;
    padding: 0.5em 3em;
    border: none;
    border-radius: 2em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.transcription {
    display: none;
}

.button-container span {
    cursor: pointer;
}

.button-container span i:hover{
    color: #21B2AB;
}