@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,300..700;1,300..700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    font-family: "Libre Franklin", serif;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ping {
    margin-top: 70px;
} 

h1 {
    padding-top: 40px;
    font-size: 50px;
    font-weight: 300;
    color: hsl(0, 0%, 59%);
}
.soon {
    color: hsl(209, 33%, 12%);
    font-weight: 700;
}
.suscribe {
    padding-top: 20px;
    padding-bottom: 38px;
    color: hsl(209, 33%, 12%);
    font-weight: 300;
}

.input-container {
    display: flex;
    align-items: center;
    padding-bottom: 80px;
    width: 50%;
    justify-content: center;
    gap: 15px;
    margin-right: 12px;
}


.input-wrapper {
    display: flex;
    flex-direction: column; 
    width: 50%;
}

.error-message {
    font-size: 13px;
    font-style: italic;
    color: hsl(354, 100%, 66%);
    margin-left: 30px;
    visibility: hidden; 
    position: relative;
    top: 8px;
    height: 0; 
}

input:focus {
border: 2px solid hsl(223, 77%, 67%);
outline: none;
}
.email::placeholder {
    color: var(--placeholder-color, hsl(223, 100%, 88%)); 
}
.email {
    padding: 18px 20px;
    width: 100%;
    border: 1px solid hsl(223, 100%, 88%);
}
.email, .notify {
    font-size: 16px;
    letter-spacing: 0.9px;
    border-radius: 30px;
}
.notify {
    width: 27%;
    background-color: hsl(223, 87%, 63%);
    color: white;
    border: none;
    padding: 18px 15px;
    cursor: pointer;
    box-shadow: 0px 5px 11px 0px hsl(223, 100%, 88%);
}
.notify:hover {
    background-color: hsla(223, 87%, 63%, 0.85);
}
.dashboard {
    width: 45%;
}
.social-icons {
    padding-top: 80px;
    display: flex;
}
.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid hsla(0, 0%, 59%, 0.20);
    text-decoration: none;
}
.icon {
    font-size: 15px;
}
.copyright {
    padding-top: 30px;
    font-size: 13px;
    color: hsla(0, 0%, 59%, 0.70)
}


.attribution { 
    font-size: 12px; 
    padding-top: 30px;
}
.attribution a { 
    color: hsl(228, 45%, 44%); 
}



@media screen and (max-width: 750px) { 
    .ping {
        margin-top: 170px; 
        width: 108px; 
    } 
    
    h1 {
        padding-top: 75px; 
        font-size: 44px; 
        letter-spacing: 0.5px; 
    }

    .suscribe {
        font-size: 23px; 
        padding-top: 40px; 
        padding-bottom: 60px; 
    }
    
    .input-container {
    flex-direction: column; 
    width: 100%; 
    padding-bottom: 130px; 
    }
    .input-wrapper {
        width: 75%; 
    }
    .email {
        border: 2px solid hsl(223, 100%, 88%); 
        padding-left: 70px !important ; 
    }
    .email, .notify { 
        padding: 25px; 
        font-size: 24px; 
        border-radius: 40px; 
    }
    .error-message {
        font-size: 20px; 
        margin: 12px auto; 
        padding-bottom: 30px; 
        top: 0; 
        display: none;
    }
    .notify {
        width: 75%; 
    }
    .dashboard {
        width: 85%; 
    }
    .social-icons {
        padding-top: 240px; 
    }
    .social-icons a {
        width: 60px; 
        height: 60px; 
        border: 2px solid hsla(0, 0%, 59%, 0.20); 
        margin-left: 30px;
    }
    .icon {
        font-size: 30px;
    }
    .copyright {
        padding-top: 53px; 
        font-size: 20px;
    }
    
    
    .attribution { 
        font-size: 12px;
        padding: 40px; 
    }
    .attribution a { 
        color: hsl(228, 45%, 44%); 
    }
}

@media screen and (max-width: 380px) { 
    .ping {
        margin-top: 100px; 
        width: 60px; 
    } 
    
    h1 {
        padding-top: 50px; 
        font-size: 22px; 
    }

    .suscribe {
        font-size: 13px; 
        padding-top: 20px; 
        padding-bottom: 40px; 
    }
    
    .input-container {
    padding-bottom: 70px; 
    }
    .email {
        padding-left: 30px !important ;  
    }
    .email, .notify { 
        padding: 13px; 
        font-size: 12px; 
    }
    .error-message {
        font-size: 12px; 
        margin: 5px auto; 
        padding-bottom: 30px; 
    }
    .social-icons {
        padding-top: 140px; 
    }
    .social-icons a {
        width: 30px; 
        height: 30px; 
        margin-left: 15px; 
    }
    .icon {
        font-size: 14px; 
    }
    .copyright {
        padding-top: 25px; 
        font-size: 11px; 
    }
    
    
    .attribution { 
        font-size: 11px; 
    }
}


