@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lexend+Deca:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body{
    background-color: hsl(233, 46%, 7%);
    font-size: 15px;
    box-sizing: border-box;
}

.top h2{
    font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:"wdth" 100;
  font-size: 1.8em;
}

.top p{
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
    color:hsla(0, 0%, 100%, 0.75)
}


.content{
    display: flex;
    justify-content: center;
    align-items: stretch;
    background-color: hsl(246, 38%, 16%);
    overflow: hidden;
    color: white;
    margin: auto;
    width: 1200px;
    height: 420px;
    border-radius: 10px;
}

.content .left-side .top a{
    text-decoration: none;
    color: hsl(277, 64%, 61%);
}

.insights{
    color: hsl(277, 71%, 61%);
}

.summary{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


.summary .box h4{
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    font-size: 1.5em;
    margin-bottom: 0;
}


.summary .box p{
    color:hsla(0, 0%, 100%, 0.6);
    font-size: .7em;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
}

.left-side{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 90px;
}

.image{
    flex: 1;
    background: url("images/image-header-desktop.jpg");
    position: relative;
}

.image::before{
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(168, 85, 247, 0.5);
}

.attribution { font-size: 11px; text-align: center; }

.attribution a { color: hsl(228, 45%, 44%); }