@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,700;1,9..144,700&family=Inter:wght@400;700&family=Lexend+Deca&family=Montserrat:ital,wght@0,500;0,600;0,700;0,800;0,900;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,700;1,9..144,700&family=Inter:wght@400;700&family=Lexend+Deca&family=Montserrat:ital,wght@0,500;0,600;0,700;0,800;0,900;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: hsl(233, 47%, 7%);
}
.attribution {
    font-size: 11px;
    text-align: center;
    margin:700px 0 0 160px;
    color:white;
  
  }

  .attribution a {
    color: hsl(228, 45%, 44%);
    color:white;
   
  }
section {
    display: flex;
    /* position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%); */
    margin: 200px 0 0 320px;
    background-color: hsl(244, 38%, 16%);
    width: 1200px;
    height: 600px;
    border-radius: 15px;
 
   
}
.wrapper{
 

}
h1 {
    color:white;
    font-family:Inter,Arial, Helvetica, sans-serif;
    font-size: 35px;
    margin:115px 0 0 60px;
    width:40%;
    line-height: 50px;
    /* text-align: center; */
}
h1 span{
    color: hsl(277, 64%, 61%);
}
p{
    color:hsla(0, 0%, 100%, 0.75);
    font-family: Lexend Deca,Arial, Helvetica, sans-serif;
    margin:30px 0 0 60px;
    width:40%;
    line-height: 30px;
    font-weight: 500;
    /* text-align: center; */
}
.info {
    display: flex;
    margin:80px 0 0 60px;
    width:40%;
    font-family: inter,arial;
}
.container{
    position: relative;
    margin:0px 0 0 600px;
    
    /* margin:-310px 0px 0px -50px; */
}
.block{
    position: absolute;
    background-image:  url('images/image-header-desktop.jpg'); 
    background-size:cover;
    background-position: 100% 100%;
    width: 600px;
    height: 600px;
   
}
.filter{
    position: absolute;
    background-image: linear-gradient(hsla(277, 64%, 61%, 0.7),hsla(277, 64%, 61%, 0.7));
    width: 600px;
    height:600px;
  
}
.filter, .block {
    border-radius: 0 15px 15px 0;
}

h2 {
    color:hsla(0, 0%, 100%, 0.75);
    text-transform: uppercase;
    padding: 20px 10px;
    font-weight: 500;
    font-size: 14px;
}
h2 span {
    color:white;
    font-size: 24px;
    font-weight: 700;
    padding:13px 0;
   
 
}
.txt {
    text-transform: lowercase;
}
@media (max-width: 375px) {
    .block {
        background-image: url('images/image-header-mobile.jpg');
            
     }
  
     .filter, .block {
        border-radius: 15px 15px 0 0;
        width:340px;
        height: 300px;
        margin: 0px -600px;
     }
     section{
        overflow-x:hidden ;
        
        width: 340px;
        height: 1050px;
        margin:20px 10px ;
     }
     .attribution{
        position: absolute;
        margin:210px 50px;
    }
     .attribution a, .attribution {
        font-size: 12px;
        
     }
     .info{
        
        display: flex;
        flex-direction: column;
        margin-top: 20px;
       
        }
     h1, p , .info {
            text-align: center;
        }
    
     h1 {
        font-size: 28px;
        margin-top:330px;
        }
        h2 {display: flex;
            flex-direction: column;  
        }
     h2 span{
        text-transform: uppercase;
     }
    }