/* --- */
/* Global styles */
/* --- */


:root {
    --background: #EDEDED;
    --content: #088747;
}

body {
    margin: 0;
    background-color: var(--background);
}

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


/* --- */
/* Typography styles */
/* --- */

h1 {
    font-family: "futura-pt", sans-serif;
    font-weight: 400;
    color: var(--text);
    font-size: 20px;
    line-height: 20px;
    margin: 0;
    color: var(--content);
}

p {
    font-family: "futura-pt", sans-serif;
    font-weight: 400;
    color: var(--text);
    font-size: 24px;
    line-height: 24px;
    margin: 0;
    color: var(--content);
}

.p-small {
    font-family: "futura-pt", sans-serif;
    font-weight: 400;
    color: var(--text);
    font-size: 16px;
    line-height: 16px;
    margin: 0;
    color: var(--content);
}

/* --- */
/* Global components */
/* --- */

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    margin: 0;
    padding-top: 40px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 40px;
}

.content-flex {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin: 0;
}

.main-title {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dani-title {
    width: 100%;
    opacity: 0; 
    animation: fadeIn 2500ms forwards;
    transform: translateY(25px);
}

.concafe-title {
    width: 100%;
    margin-top: -24px;
    opacity: 0;
    animation: fadeIn 2500ms forwards;
    animation-delay: 200ms;
    transform: translateY(35px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

.sub-title {
    width: 80%;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1500ms forwards;
    animation-delay: 1200ms;
    transform: translateY(25px);
}

.buttons-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    opacity: 0;
    animation: fadeIn 1500ms forwards;
    animation-delay: 1400ms;
    transform: translateY(25px);
}

.buttons-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
}

.button-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}


.badge-body {
    display: grid;
    width: 100%;
    height: auto;
    transition: all 300ms;
}

.badge-body:hover {
    transform: scale(110%);
    transition: all 300ms; 
}

.badge {
    grid-row: 1;
    grid-column: 1;
    animation: rotation 30s infinite linear;
    transform-origin: center;
    z-index: 1;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.element-hidden {
    opacity: 25%;
}

.badge-text {
    aspect-ratio : 1 / 1;
    grid-row: 1;
    grid-column: 1;
    align-self: center;
    width: 100%;
    height: auto;
    z-index: 2;
}

.cup-icon {
    width: 100%;
    transition: all 300ms;
}

.cup-icon:hover {
    transform: scale(110%);
    transition: all 300ms;
}

.bottom-content {
    width: 100%;
    display: flex;  
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 1500ms forwards;
    animation-delay: 1600ms;
    transform: translateY(25px);
}

.line {
    width: 100%;
    height: 1px;
    background-color: var(--content);
}

.social-media-container {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 8px;
}

.social-media-link {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    transition: all 300ms;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-color:var(--background);
}

.social-media-link:hover {
    transform: scale(110%);
    transition: all 300ms;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-color:var(--content);
}

.date-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.recycle-icon {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* --- */
/* Media querys */
/* --- */

@media screen and (min-width: 480px) and (max-width: 1023px) {

    .container {
    padding-top: 40px;
    padding-left: 10vw;
    padding-right: 10vw;
    padding-bottom: 40px;
    }

}

@media screen and (min-width: 1024px) and (max-width: 1679px) {

.container {
    padding-top: 80px;
    padding-left: 20vw;
    padding-right: 20vw;
    padding-bottom: 80px;
    }

    h1 {
    font-size: 22px;
    line-height: 22px;
    }

    p {
        font-size: 28px;
        line-height: 28px;
    }

    .p-small {
        font-size: 18px;
        line-height: 18px;
    }

}

@media screen and (min-width: 1680px) and (max-width: 4800px) {

.container {
    padding-top: 80px;
    padding-left: 30vw;
    padding-right: 30vw;
    padding-bottom: 80px;
    }

    h1 {
    font-size: 24px;
    line-height: 24px;
    }

    p {
        font-size: 32px;
        line-height: 32px;
    }

    .p-small {
        font-size: 20px;
        line-height: 20px;
    }

    .bottom-content {
    gap: 12px;
}

}
