@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Karla:ital,wght@0,200..800;1,200..800&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
 font-family: 'karla' ,sans-serif , monospace;
 padding-top: 100px;
 display: flex;
 flex-direction: column;
 background-color: hsl(204, 43%, 93%);
 align-items: center;
 justify-content: space-between;

 overflow-x: hidden;

}

.container{
   
    margin-bottom: 50px;
   max-width: 80%;
   
   
}
.top{
    padding: 30px 6% ;
    background-color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.top >h1{
    font-size: 25px;
    color: hsl(179, 62%, 43%);
    margin-bottom: 15px; 
    width: 100%;
}

.top > h3{
  color:hsl(71, 73%, 54%) ;  
  font-weight: 600;
  margin-bottom: 12px;
  max-width: 550px;
}

.top >p{
    color: hsl(218, 22%, 67%);
    max-width: 550px;
    line-height: 1.5rem;
}
.bottom{
  
    overflow:hidden;
    display: flex;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 100%;
}
.left{
    width: 50%;
    padding: 10px   40px 0 6%  ;
    background-color:hsl(179, 62%, 43%);
}
.left>p:nth-child(1){
    color: hsl(204, 43%, 93%);
    font-size: 1.2rem;
    font-weight: 600;
    padding:28px 0 10px  ;
    margin-bottom: 5px;

}
.middle{
    display: flex;
    width: 100%;
}
.middle span:nth-child(1)
{
    display: block;
    padding: 0  5px 0 0;
    color: hsl(204, 43%, 93%);
    font-size: 2rem;
    font-weight: 500;
}
.middle span:nth-child(2)
{
    padding-top: 5px;
    padding-left: 10px;
    display:block;
    color: hsla(203, 44%, 93%, 0.807);
    font-weight: 100;
    line-height: 2rem;
    /* margin-bottom: 2rem; */
    
    width: 100%;
}
.left .last-p{
    color: hsl(204, 43%, 93%);
    font-weight: 300;
}
button{
    margin: 25px 60px 30px 0;
    width: 100%;
    padding:  15px 0;
    background-color: hsl(71, 73%, 54%);
    border: none;
    border-radius: 5px;
}
button a{
 color: hsl(204, 43%, 93%);
 font-weight:500;
 text-decoration: none;
}
.right{
    color: hsl(204, 43%, 93%);
    padding: 40px  40px  0 6%;
    background-color: hsla(179, 62%, 43%, 0.747);
    width: 50%;

}
.right > h1{
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 20px;
}

.right > p{
    font-weight: 200;
    max-width: 235px;
    padding-right: 10px;
    margin-bottom: 20px;
}
footer{
    display: flex;
    justify-content: center;
}
.attribution{
    margin: 0 12%;
    text-align: center;
}
@media(width <376px)
{
    .bottom{
  
        overflow:hidden;
        display: flex;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        flex-direction: column;
    }
    .left{
        width: 100%;
        padding: 10px  6%;
    }
    .right{
        width: 100%;
        padding: 10px  6%;
    }
    .right >p{
        margin-bottom: 15px;
    }
}
