@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@300;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --blue: hsl(223, 87%, 63%);
    --paleBlue: hsl(223, 100%, 88%);
    --lightRed: hsl(354, 100%, 66%);
    --gray: hsl(0, 0%, 59%);
    --veryDarkBlue: hsl(209, 33%, 12%);
}
body{
    font-family: 'Libre Franklin', sans-serif;
    font-size: 20px;
}

.container{
    margin: 85px auto 60px;
}
.logo{
    width: 52px;
    display: block;
    margin: 0 auto 40px;
}
h1{
    font-size: 1.2em;
    font-weight: 300;
    color: var(--gray);
    text-align: center;
    margin-bottom: 16px;
}
h1 span{
    color: var(--veryDarkBlue);
    font-weight: 700;
}
.suscribe{
    text-align: center;
    font-size: 0.65em;
    margin-bottom: 36px;
}

form{
    width: 282px;
    margin: auto;
}
input[type="email"]{
    width: 100%;
    height: 40px;
    border-radius: 32px;
    margin-bottom: 4px;
    border: 1px solid var(--blue);
    padding-left: 24px;
}
input[type="email"]:focus{
    outline: none;
}
#error{
    color: var(--lightRed);
    font-style: italic;
    font-size: 0.65em;
    text-align: center;
    visibility: hidden;
}
input[type="submit"]{
    background-color: var(--blue);
    width: 100%;
    height: 40px;
    border-radius: 32px;
    border: none;
    font-weight: 700;
    margin-bottom: 70px;
    box-shadow: 3px 3px 5px var(--blue);
    color: var(--paleBlue);
}
input[type="submit"]:hover{
    cursor: pointer;
}
.dashboard{
    width: 322px;
    display: block;
    margin: auto;
    margin-bottom: 120px;
}
.red-social{
    width: 150px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: space-between;
}
.icon-container{
    width: 32px;
    height: 32px;
    border: 1px solid var(--blue);
    border-radius: 50%;
    display: grid;
    place-content: center;
    fill: var(--blue);
}
.icon-container:hover{
    background-color: var(--blue);
    fill: var(--paleBlue);
}
.icon{
    width: 0.9em;
    height: 0.9em;
}
.copy{
    text-align: center;
    color: var(--gray);
    font-size: 0.6em;
}
.footer {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: space-between; 
    min-height: 250px; 
}

.attribution {
    margin-bottom: auto;
}

.channel {
    margin-top: auto;
}



@media(min-width: 700px){
    .logo{
        width: 96px;
        margin-bottom: 60px;
    }
    h1{
        font-size: 2.5em;
    }
    .suscribe{
        font-size: 1.05em;
        font-weight: 300;
    }
    form{
        width: 638px;
        display: flex;
        justify-content: space-between;
    }
    input[type="email"]{
        width: 420px;
        height: 55px;
        font-size: 0.8em;
    }
    #error{
        text-align: left;
        padding-left: 24px;
    }
    input[type="submit"]{
        width: 200px;
        height: 55px;
        margin-bottom: 90px;
        font-size: 0.8em;
    }
    .dashboard{
        width: 640px;
        margin-bottom: 74px;
    }
}