* ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    
    background: rgb(133, 134, 216);
    font-family: Arial, Helvetica, sans-serif;
    height: 100vh;
    background: url('ressources/foretlumdown.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
    background-color: rgb(49, 34, 34);
    
}

.container-first {
    position: absolute;
    top: 30%;
    left: 5%;
    
}
h1 {
    text-transform: uppercase;
    font-size: 110px;
    color: red;
    font-family: Abril fatface, sans-serif;
}
h1 span {
    position: relative;
}
.container-btns {
    position: relative;
    top: 50px;
}
.btn-first {
    border: 2px solid #f1f1f1;
    outline: none;
    background: transparent;
    font-size: 30px;
    padding: 20px;
    width: 300px;
    color: red;
    cursor: pointer;
}
.btn-first:nth-child(1){
    margin-right: 30px;
}
.btn-first:hover {
    transition: all 0.3s ease-in-out;
    background: #f1f1f1;
    color: #333;
}
.lignes {
    position: absolute;
    top: 6%;
    left: 5%;
}
.l1 {
    width: 250px;
    height: 3px;
    background: #f1f1f1;
    border-radius: 5px;
}
.l2 {
    width: 140px;
    height: 3px;
    background: #f1f1f1;
    border-radius: 5px;
    position: relative;
    top: 20px;
}

.logo {
    position: absolute;
    right: 2.9%;
    top: 4%;
    width: 80px;
    height: 80px;
    cursor: pointer;
}
.medias {
    list-style-type: none;
    position: absolute;
    right: 3.3%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.bulle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    background: #f1f1f1;
    cursor: pointer;
    position: relative;
}
img{
    max-width: 100%;
    height: auto;
}

.logo-medias {
    width: 40px;
    height: 40px;
}
@media only screen and (max-width:680px) {
    body{
        background-color: #723f3f;
    }
    h1{
        font-size: 40px;
    }
    .logo{
        width: 35px;
        height: 29px;

    }
    .container-btns,.medias,.logo{
        display: inline-table;
        width: min-content;
    }
    
    
}

@media  screen and (min-width:681px) and (max-width:1270px){
    body{
        background-color: blue;
    }
    .container-btns{
        font-size: 20px;
    }
    h1{
        font-size: 20px;
    }
    
}
@media screen and (max-width:780px){
    .logo,div,ul,h1,.lignes{
        width: 50%;
        border-right: none;
        border-left: none;
        margin-right: 0px;
        margin-left: 0px;
    }
    
}
@media (overflow-block: scroll) {
    h1,.container-btns{
      color: red;
    }
  }
  