:root {
    /* colours */
    --purple: #3D3587;
    --blue: #7175B2;
    --yellow: #EEBC44;
    --red: #E06636;

    --grey: #606060;
    --white: #F5F5F5;
    --black: #050505;

    /* space */
    --space-xxs: 0.5rem;
    --space-xs: 1rem;
    --space-s: 2rem;
    --space-m: 4rem;
    --space-ml: 5rem;
    --space-l: 6rem;
    --space-xl: 8rem;

    /* font-sizes */
    --small: 1rem;
    --medium: 1.5rem;
    --large: 2rem;
    --xlarge: 3rem;
    --xxlarge: 6rem;
}

::-webkit-scrollbar {
    display: none;
}

.strike {
    color: var(--red);
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    text-decoration-color: var(--red);
}

body {
    font-family: "roc-grotesk";
    font-size: var(--medium);
    letter-spacing: 0.05rem;
    color: var(--black);
    background-color: #FFFDFD;
}

a {
    color: var(--black);
    text-decoration: none;
}

.button {
    background-color: transparent;
    border: transparent;

    font-size: var(--large);
    font-weight: bold;

    width: 19rem;
    height: 3.5rem;
    background-image: url(../assets/svg/button.svg);
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    justify-content: center;
    align-items: center;
}

.button:hover {
    background-image: url('../assets/svg/button-hover.svg');
    background-repeat: no-repeat;
    background-size: cover;

    color: var(--white);
    transition: all 200ms ease-in-out;
}

h1 {
    font-family: "bacalar-regular";
    font-size: var(--xxlarge);
}

h2 {
    color: var(--purple);
    font-size: var(--xlarge);
    font-weight: bold;
}

h3 {
    color: var(--blue);
    font-size: var(--large);
    font-weight: bold;
}

p {
    line-height: 1.5;
}

strong {
    font-weight: bold;
}


.header {
    background-color: var(--yellow);
    padding: var(--space-xs) var(--space-s);

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.header__title,
.info__title {
    font-family: "bacalar-regular";
    font-size: var(--large);
}

.header__logo {
    width: var(--space-l);
    border-radius: 50%;
}

.menu__list {
    list-style: none;

    display: flex;
    justify-content: space-evenly;
    gap: 3rem;
}

.list__item {
    font-size: var(--medium);
    text-align: center;
    color: var(--grey);
}

.item__link {
    color: var(--grey);
}

.item__link--active {
    font-weight: bold;
    color: var(--black);
    text-decoration: underline;
}

.item__link:hover {
    font-weight: bold;
}

/* Main - Home page */

.main__hero {
    color: whitesmoke;
    background-color: var(--purple);

    padding: var(--space-m);
    padding-top: 0;
    padding-bottom: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-m);
}

.hero__content {
    margin-bottom: 15rem;

    display: flex;
    flex-direction: column;
    gap: var(--space-l);
}

.content__text {
    font-size: var(--medium);
    width: 40rem;
}

.link__button {
    font-size: var(--medium);
}

.devider {
    width: 100%;
}

.devider__hero {
    position: relative;
    top: calc(var(--space-xl) * -1);
}

.main__intro {
    background-image: url('../assets/svg/Bubbles2.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    margin-bottom: var(--space-xl);

    display: grid;
    grid-template-columns: 5% repeat(4, 1fr) 5%;
    grid-template-rows: repeat(3, auto);
    gap: var(--space-s);
}

.main__intro article {
    max-width: max-content;

    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.intro__problem {
    grid-column: 2/4;
    grid-row: 1;
}

.intro__beer--one {
    grid-column: 4/6;
    grid-row: 1/3;
    justify-self: end;
}

.intro__solution {
    grid-column: 3/5;
    grid-row: 2;
}

.solution__title {
    color: var(--blue);
    font-size: 2.8rem;
}

.intro__beer--two {
    grid-column: 2/4;
    grid-row: 2/4;
    align-self: flex-start;
}

.intro__execution {
    grid-column: 4/6;
    grid-row: 3;
}

.main__sneak {
    background-image: url('../assets/svg/Bubbles2.svg');
    background-repeat: no-repeat;
    background-position: center;

    padding: var(--space-m);
    margin-top: var(--space-ml);
}

.sneak__title {
    margin-bottom: var(--space-s);
}

.sneak__tips {
    display: flex;
    justify-content: space-evenly;
}

.tips__tip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-m);
}

.tip__illustration--blue {
    background-image: url('../assets/svg/illustration-backgr-blue.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.tip__illustration--yellow {
    background-image: url('../assets/svg/illustration-backgr-yellow.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.tip__illustration--orange {
    background-image: url('../assets/svg/illustration-backgr-orange.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.tip__button {
    font-size: var(--medium);
}

/* Main - Tips & Tricks */

.main__title {
    color: var(--white);
    background-color: var(--purple);

    padding: var(--space-m);

    display: flex;
    flex-direction: column;
    gap: var(--space-s);
}

.title__devider {
    width: 100%;

    position: relative;
    top: calc(var(--space-ml) * -1);
    z-index: +1;
}

.main__tips {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-m);
}

.tips__splitter {
    font-size: var(--xlarge);
    font-weight: bold;
    color: var(--blue);
}

.tips__part {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: var(--space-m);
}

.tip__text {
    width: 50rem;
}

.tip__description {
    margin-top: var(--space-xs);
}

.description__downsides {
    list-style: circle;
    margin-left: var(--space-m);
}

.ps {
    font-size: var(--small);
}

.downsides__item {
    line-height: var(--space-s);
}

.tip__text .tip__button {
    margin: var(--space-xs) 0;
}

.main__friends {
    background-color: var(--purple);
    color: var(--white);

    padding: var(--space-m);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-s);
}

.friends__title {
    color: var(--white);
}

.friends__info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: center;
    gap: var(--space-m);
}

.friends__info .info__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
}

.info__illustration {
    margin-left: var(--space-s);
}

.info__illustration:hover {
    transform: rotate(-10deg);
    transition: all 200ms ease-in-out;
}

.friends__border--top {
    position: relative;
    top: var(--space-ml);
}

.friends__border--bottom {
    position: relative;
    top: calc(var(--space-ml) * -1);
    z-index: +1;
}

/* Footer */

.devider__footer {
    position: relative;
    top: var(--space-ml);
    z-index: -1;
}

.footer {
    background-color: var(--purple);
    color: var(--white);
}

.footer__info {
    padding: var(--space-s);

    display: flex;
    flex-direction: column;
    gap: var(--space-s);
}

.info__text {
    display: flex;
    justify-content: space-between;
}

.info__title {
    font-size: var(--medium);
}

.newsletter__title {
    margin-bottom: var(--space-xxs);
}

.info__newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter__form {
    display: flex;
}

.newsletter__form input {
    border: none;
    height: var(--space-s);
    padding: var(--space-xxs);
}

.form__input {
    background-color: var(--white);
    border-radius: 5px 0 0 5px;
    width: 30rem;
}

.form__submit {
    background-color: var(--yellow);
    color: var(--black);
    font-size: 1rem;
    padding: var(--space-xs);
    border-radius: 0 5px 5px 0;
}

.form__submit:hover {
    background-color: var(--red);
    color: var(--white);

    transition: all 200ms ease-in-out;
}

.footer__copy {
    background-color: var(--black);
    padding: var(--space-xxs);
    text-align: center;
    font-size: var(--small);
}