@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;600;700&family=Playfair+Display:wght@400;700&display=swap');

*{
    box-sizing: border-box;
    margin : 0;
    font-family: Poppins, Helvetica, 'Times New Roman', Times, Georgia; 
}

:root{
    --input-height: 30px;
    --input-width: 530px;
}

body{ 
    width: 1060px;
    margin:auto;
}

header {
    margin: 50px;
    margin-bottom: 0;
}

main {
    margin:50px;
    margin-top: 0;
    display: flex;
    justify-content: space-between;
}

.success-message{
    margin-top: 20px;
    font-size: large;
}

.img-side-inscription{
    margin-right: 100px;
    width: 300px;
    height: 800px;
}

.img-side-prog{
    width: 300px;
    height: 800px;
}

.star{
    color:red;
}

select{
    background-color: white;
    width: var(--input-width);
    height: var(--input-height);
    border: solid 1px gray;
}

.embed-select > *{
    display: block;
}
 

.colloque{
    /*margin-bottom: -50px;*/
    background-color: transparent;
    position: relative;
    z-index: 1; 
}

.liseret{
    /*margin-bottom: -100px;*/
    background-color: transparent;
    position: relative;
    z-index: 2; 
}

.intro{
    color: orangered;
    margin: 10px 0;
}

.intro span{
    font-weight: bold;
    font-style: italic;
}

.mail-intro{
    color: orangered;
    font-weight: 600;
    padding-top: 20px;
}

.embed-input{ 
    padding: 10px 0;  
}

.embed-input :first-child{
    padding-bottom: 10px;
    font-weight: 600;
}

input[type="text"], input[type="email"]{
    width: var(--input-width);
    height: var(--input-height);
}

.program {
    width: var(--input-width);
}

.exemple{
    font-style: italic;
    font-size: 13.5px;
    width: 100%;
}

.inscription-title{
    height: 100px;
    margin-top: 10px;
    background-image: url('images/Diapositive4.JPG');
    background-size:800px;
    background-position: 120px;
    background-repeat: no-repeat;
    text-transform: uppercase;
    padding: 20px;
    padding-left: 150px;
    overflow: hidden;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    position: relative;
    z-index: 10; /* Couche supérieure */
    font-weight: 400;
    color: white;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: rgb(243, 84, 35);
    height: 40px;
    outline: none;
    margin: 10px 0;
}

.nav-link{
    display: inline-block;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    color: white;
    height:40px;
    padding:8px;
}

.nav-link:hover{
    background-color: orange;
}

.nav-link-r{
    display: inline-block;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    color: white;
    height:40px;
    padding:8px;
}

.nav-link-r:hover{
    background-color: orange;
}

.inscription-btn{
    height: var(--input-height);
    width: 100px;
    color:white;
    background-color: rgb(243, 84, 35);
    cursor: pointer;
    margin-right: 40px;
}

.admin{
    font-size: 13.5px;
    font-weight: 100;
    display: block;
    height: var(--input-height);
    width: 140px;
    color:white;
    background-color: rgb(243, 84, 35);
    cursor: pointer;
    text-decoration: none;
    border: solid gray 2px;
    text-align: center;
    padding-top: 5px;
}


.inscription-btn:hover, .admin:hover{ 
    background-color: orange;
}

h2{
    position: relative;
    z-index: 14;
    margin-top: -60px;
}

.program{
    width:900px;
}

.img-prog{
    display: block;
    width:100%;
}

@media screen and (max-width: 1035px) { 
    body{
        width: 100%;
    }

    .inscription-title{ 
        font-size:x-large;
        background-size: 600px;
        background-position: 120px;
    }

    .img-side-prog{
        display: none;
    }

}

@media screen and (max-width: 917px) { 
    .img-side-inscription{
        display: none;
    }
}

@media screen and (max-width: 816px) { 
    .exemple{
        width: 100%;
    }

    .inscription-title{
        padding-left: 30px;
        background-position: left;
    }

    
}

@media screen and (max-width: 640px) { 
    header, main {
        margin: 50px 5%;
    }

    select, input[type="text"], input[type="email"]{
        width: 100%;
    }

    .nav-link, .nav-link-r{
        font-size: small;
        padding: 12px;
    }
}