@import url(reset.css);
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
body{
    font-family: 'Open Sans', sans-serif;
    width: 100vw;
    overflow-x: hidden;
    background-image: url(../img/fond.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height:100vh;
}
header{
    display: grid;
    justify-content: center;
    align-content: center;
    margin-top: 20px;
}
header img{
    justify-self: center;
    max-width:300px;
}
header p{
    display: block;
    justify-self: center;
    max-width:1080px;
    padding: 10px;
    padding-bottom: 20px;
    text-align: center;
    font-size: 14px;
    color:rgb(90, 90, 90);
}
main{
    display: grid;
    align-content: center;
    justify-content: center;
    grid-template-columns: 1fr 20px 1fr;
}
main .rubrik{
    display: grid;
    justify-content: center;
    align-content: flex-start;
    text-align: center;
    box-shadow: 0px 0px 5px rgba(77, 77, 77, 0.2);
}
main .rubrik>p{
    font-size: 14px;
}
main .rubrik:first-of-type{
    background-color: rgb(201, 172, 228);
}
main .rubrik:last-of-type{
    background-color: rgb(228, 172, 172);
}
main .rubrik>img{
    height: 200px;
    justify-self: center;
    align-self: start;
    margin-top: 20px;
    filter: drop-shadow(0px 0px 1px rgba(77, 77, 77, 0.2));
}
main .barsocial{
    display: grid;
    align-content: center;
    justify-content: center;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;
    margin-bottom: 50px;
}
main .rubrik:first-of-type .social, main .rubrik:first-of-type .bouton{background-color: #8f5cb5;}
main .social{
    display: grid;
    justify-content: center;
    align-content: center;
    width: 50px;
    height: 50px; 
    display: block; 
    background-color: #e85459;
    padding:10px;
    border-radius: 100%;
    box-shadow: 0px 0px 5px rgba(77, 77, 77, 0.5);
    transition: all .5s;
}
main .social:hover{transform: scale(1.2);}
main .barsocial .social:first-of-type{justify-self: end;}
.ordi{
    display: grid;
    align-content: center;
    justify-content: center;
    height:400px;
    width:30vw;
    background-image: url(../img/ecran-01.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin-top: -20px;
    margin-bottom: 20px;
    filter: drop-shadow(0px 0px 5px rgba(77, 77, 77, 0.5));
    /*background-blend-mode: multiply;
    background-color: rgb(201, 172, 228);*/
}
.rubrik:last-of-type .ordi{background-image: url(../img/ecran-02.png);/*background-color: rgb(228, 172, 172);*/}
.ordi .bouton{
    text-align: center;
    display: block;
    background-color: #e85459;
    padding:5px 20px;
    border-radius: 20px;
    box-shadow: 0px 0px 20px rgba(77, 77, 77, 0.8);
    font-size: 32px;
    text-decoration: none;
    color: white;
    font-weight: bolder;
    transition: all .5s;
}
.ordi .bouton:hover{transform: scale(1.2);}
#mascotte img{
    height:500px;
    position: relative;
    left: -120px;
    top:50px;
}
footer{
    display: grid; 
    align-content: center;
    justify-content: center;
    padding:10px 0;
}
footer a, footer p{
    font-size: 10px;
    text-decoration: none;
    text-align: center;
    color:rgb(90, 90, 90);
    transition: all .5s;
}
footer a{font-weight: bold;}
footer a:hover{color:rgb(145, 145, 145)}

@media screen and (max-width: 1080px) { 
    main{grid-template-columns: 1fr;}
    #mascotte{display:none}
    .ordi, .barsocial{width:400px; margin-top: -60px;}
    footer{background-image: url(../img/fond.jpg); background-position: center center;}
  }  