@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;700&display=swap');

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;

    font-family: 'Poppins', sans-serif;

    text-decoration: none;
    list-style: none;
}

:root{
    /* Colors */
    --primary-Cyan: hsl(180, 66%, 49%);
    --primary-Dark-Violet: hsl(257, 27%, 26%);
    --secondary-Red: hsl(0, 87%, 67%);
    --neutral-Gray: hsl(0, 0%, 75%);
    --neutral-Grayish-Violet: hsl(257, 7%, 63%);
    --neutral-Very-Dark-Blue: hsl(255, 11%, 22%);
    --neutral-Very-Dark-Violet: hsl(260, 8%, 14%);
    --ordinal--White: hsl(0, 0%, 100%);
    --background-White: hsl(230, 2%, 95%);
    --hover-Cyan: hsl(179, 69%, 60%);
    
    --weight: 10%;
}

body{
    font-size: 18px;
}

.logo{
    font-size: 30px;
    font-weight: 700;
    color: var(--neutral-Very-Dark-Blue);
}

.logo--White{
    color: var(--ordinal--White);
}

.button{
    color: var(--ordinal--White);
    background-color: var(--primary-Cyan);

    text-decoration: none;

    padding: 10px 25px;
    border-radius: 50px;
}

.button:hover{
    background-color: var(--hover-Cyan);
    transition: all 300ms ease;
}

.button--Gray{
    color: var(--neutral-Grayish-Violet);
    background-color: transparent;

    font-weight: 700;
}

.button--Gray:hover{
    background-color: transparent;
    color: var(--primary-Dark-Violet);
}

.button--Link{
    border-radius: 5px;
    border: none;
    
    font-size: 15px;
}

.button--Link:hover{
    cursor: pointer;
}

/* ------------------------------------- */
/* Navigator */
/* ------------------------------------- */

.nav{
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    /* margin: 35px 0; */
    padding: 35px var(--weight);
}

.nav__paths{
    display: flex;
    justify-content: space-between;
    margin-right: auto;
    margin-left: 15px;
}

.nav__path{
    color: var(--neutral-Grayish-Violet);
    font-weight: 700;
    margin-left: 15px;

    transition: all 300ms ease;
}

.nav__path:hover{
    color: var(--primary-Dark-Violet);
}

.nav__buttons{
    display: flex;
}

/* ------------------------------------- */
/* Header */
/* ------------------------------------- */

.header{
    display: flex;
    align-items: center;

    position: relative;
    
    padding-left: var(--weight);
    margin-top: 60px;
}

.header__texts,
.header__image{
    width: 50%;
}

.header__image{
    object-fit: cover;
    height: auto;
    object-position: 90px;
}

.header__title{
    font-size: 70px;
    color: var(--neutral-Very-Dark-Blue);
    line-height: 85px;
}

.header__description{
    font-size: 20px;
    color: var(--neutral-Grayish-Violet);

    margin-bottom: 35px;
}

/* ------------------------------------- */
/* Shorten */
/* ------------------------------------- */

.urlShorten{
    background-image: url(../images/bg-shorten-desktop.svg);
    background-color: var(--primary-Dark-Violet);

    padding: 35px 40px;
    text-align: center;
    align-items: center;

    width: 80%;
    margin: auto;

    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;

    transform: translateY(80%);
}

.urlShorten__input{
    text-decoration: none;

    padding: 10px 25px;
    border-radius: 5px;
    border: none;
    margin-right: 15px;
    outline: none;

    flex: 1 1 auto;

    font-size: 15px;
}

.urlShorten__input--error{
    border: 3px solid var(--secondary-Red);
}

.urlShorten__input--error::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: red;
    opacity: 1; /* Firefox */
}

.urlShorten__input--error:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: red;
}

.urlShorten__input--error::-ms-input-placeholder { /* Microsoft Edge */
    color: red;
}

.urlShorten__error{
    position: absolute;
    left: 10% + 20px;
    bottom: 5px;

    font-style: italic;
    color: var(--secondary-Red);

    display: none;
}

/* ------------------------------------- */
/* Statistics */
/* ------------------------------------- */

.statistics{
    margin-top: 35px;
    padding: 75px var(--weight);
    background-color: var(--background-White);
}

.statistics__texts{
    margin-top: 85px;
    text-align: center;
}

.statistics__title{
    font-size: 35px;
    margin-bottom: 10px;
    color: var(--neutral-Very-Dark-Blue);
}

.statistics__description{
    width: 480px;
    margin: auto;
    color: var(--neutral-Grayish-Violet);
}

.statistics__articles{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    margin: 75px auto 135px auto;
    
    max-width: 1500px;
}

.statistics__articles::after{
    content: "";
    background-color: var(--primary-Cyan);

    width: 50%;
    height: 10px;

    margin: auto;
    transform: translateY(-75px);
}

.article{
    background-color: var(--ordinal--White);
    box-shadow: 0px 0px 30px -10px rgba(112, 112, 112, 0.05);
    -webkit-box-shadow: 0px 0px 30px -10px rgba(112, 112, 112, 0.05);
    -moz-box-shadow: 0px 0px 30px -10px rgba(112, 112, 112, 0.05);

    border-radius: 5px;
    
    width: 330px;

    padding-bottom: 35px;
    padding: 25px;

    z-index: 1;
}

.article:nth-child(1n) {
    transform: translateY(20px);
}

.article:nth-child(2n) {
    transform: translateY(70px);
    margin: 0 25px;
}

.article:nth-child(3n) {
    transform: translateY(120px);
}

.article__img{
    background-color: var(--primary-Dark-Violet);
    position: absolute;
    top: -50px;
    left: 25px;

    padding: 20px;
    border-radius: 50px;

    height: 80px;
    width: 80px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.article__title{
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--neutral-Very-Dark-Blue);
}

.article__description{
    color: var(--neutral-Grayish-Violet);
}

/* ------------------------------------- */
/* Links */
/* ------------------------------------- */

.links{
    text-align: center;
    align-items: center;
}

.links__body{
    background-color: var(--ordinal--White);

    display: flex;
    align-items: center;

    padding: 10px 25px;
    border-radius: 5px;
    margin-bottom: 15px;

    font-size: 15px;

    justify-content: space-between;
}

.links__url{
    margin-right: auto;
    font-weight: 500;
}

.links__generated{
    font-weight: 500;
    color: var(--primary-Cyan);
}

.links__copy{
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--ordinal--White);
    background-color: var(--primary-Cyan);
    height: 35px;
    width: 95px;

    border-radius: 5px;
    margin-left: 15px;

    border: none;
    cursor: pointer;

    transition: all 300ms ease;
}

.links__copy:hover{
    background-color: var(--hover-Cyan);
}

.links__copy--copied{
    background-color: var(--primary-Dark-Violet);
}

.links__copy--copied:hover{
    background-color: var(--primary-Dark-Violet);
}

/* ------------------------------------- */
/* Boost */
/* ------------------------------------- */

.boost{
    background-image: url(../images/bg-boost-desktop.svg);
    background-color: var(--primary-Dark-Violet);
    
    padding: 40px var(--weight) 65px var(--weight);
    text-align: center;
}

.boost__title{
    font-size: 35px;
    margin-bottom: 30px;
    color: var(--background-White);
}

/* ------------------------------------- */
/* Footer */
/* ------------------------------------- */

.footer{
    display: flex;
    padding: 60px var(--weight);

    background-color: var(--neutral-Very-Dark-Violet);
    color: var(--ordinal--White);

    justify-content: space-between;
}

.footer__links,
.footer__paths,
.footer__socialMedias{
    display: flex;
}

.footer__path{
    color: var(--neutral-Gray);
}

.footer__titlePath{
    margin-right: 75px;
}

.footer__listPath{
    margin-top: 15px;
}

.footer__path{
    margin: 5px 0;
    transition: all 300ms ease;
}

.footer__path:hover{
    color: var(--primary-Cyan);
}

.footer__socialMedia{
    margin-left: 10px;
}

.socialMedia__icon{
    transition: all 300ms ease;
}

.socialMedia__icon:hover{
    transform: translateY(10px);
}