* {
    border: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Inter', 'Calibri', san-serif;
}

:root {
    --soft-orange: hsl(35, 77%, 62%);
    --soft-red: hsl(5, 85%, 63%);
    --off-white: hsl(36, 100%, 99%);
    --grayish-blue: hsl(233, 8%, 79%);
    --dark-gray-blue: hsl(236, 13%, 42%);
    --very-dark-blue: hsl(240, 100%, 5%);
}
header {
    margin-top: 2rem;
}
header nav {
    width: 100%;
}

nav {
    margin: 30px 0;
}

nav ul {
    float: right;
    margin-right: 20px;
}

nav ul li {
    display: inline-block;
    padding: 10px;
    color: var(--dark-gray-blue);

}
nav ul li a:hover {
    color:var(--soft-red);
    cursor:pointer;
}
#check {
    display: none;
}

h1 {
    font-weight: 900;
}

h2 {
    color: var(--soft-orange);
    margin: 5% 5%;
    font-size: 2.5rem;
    font-weight: 900;
}

h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--off-white);
}

hr {
    width: 100%;
    background: var(--off-white);
    height: 1px;
    margin: 2rem 0;
}

.firsttext p {
    color: var(--dark-gray-blue);
}
.attribution {
    font-size: 13pt;
    text-align: center;
  }

  .attribution a {
    color: hsl(228, 45%, 44%);
  }
button {
    height: 3rem;
    width: 9rem;
    background: var(--soft-red);
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin: 2rem 0;
    cursor: pointer;
}
button:hover{
    background: var(--very-dark-blue);
    transition: all .5s;
}
aside {
    background: var(--very-dark-blue);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.acontainer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 90%;
    margin: 0 5%;
}

.aarticle {
    color: var(--off-white);
    font-weight: 500;
    margin-bottom: 1.8rem;

}
.aarticle p{
    color:var(--grayish-blue)
}
.last {
    margin-bottom: 3rem;
}

.barticle {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.barticle h2 {
    color: var(--grayish-blue);
    font-weight: 700;
}

.barticle img {
    width: 6.5rem;
    height: 9rem;
}

.barticletext h3 {
    color: var(--very-dark-blue);
}

.barticle p {
    color: var(--dark-gray-blue);
}

@media(min-width:375px) and (max-width:500px){

    .web3img,
    .firsttext,
    aside {
        width: 90%;
        margin: 0 5%;
    }

    .firsttext p {
        line-height: 1.8rem;
    }

    .checkbtn {
        float: right;
    }
    .close {
        display: block;
    }
    h1 {
        font-size: 3.0rem;
    }

    .bcontainer {
        display: flex;
        flex-direction: column;
        margin: 0 5%;
        gap: 20px;
    }

    section {
        margin-bottom: 4rem;
    }

    ul {
        position: fixed;
        background: var(--off-white);
        width: 65%;
        height: 100vh;
        top: 80px;
        right: -100%;
        text-align: center;
        transition: all .5s;
    }

    nav ul li {
        display: block;
        margin: 30px 0;
        line-height: 2px;
        color: var(--very-dark-blue);
        text-align: left;
    }

    nav ul li a {
        font-size: 20px;
    }

    a:hover,
    a:active {
        background: none;
        color: #0082e7;
    }

    #check:checked~ul {
        right: 0;
    }

    .close {
        position: relative;
        float: right;
    }
}

@media(min-width:501px) and (max-width:1440px) {
    
    .checkbtn {
        display: none;
    }
    .close {
        display: none;
    }
    .web3img {
        width: 100%;
    }

    .first {
        display: flex;
        flex-direction: row;
        gap: 40px;
    }

    .bcontainer {
        display: flex;
        flex-direction: row;
        gap:30px;
        margin: 3rem 0;
    }

    .firsttext {
        display: flex;
        flex-direction: row;
        margin: 2rem 0;
    }

    .buttongrp {
        display: flex;
        flex-direction: column;
        line-height: 1.8rem;
        width:100%;
        height:90%;
        gap:30px;
    }

    .container {
        width: 82vw;
        margin: 0 9vw;
        display: flex;
        flex-direction: column;
    }
    button {
        height: 3rem;
        width: 10.5rem;
    }
   
    h1 {
        font-size: 3.0rem;
        width: 90%;
    }
    aside {
        width:70%;
        text-align: left;
    }
    .aarticle{
        margin-bottom: 0;
    }
}
