@import 'global.css';
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    background-color: #eafff9;
    padding-top: 7.4rem;
}

header {
    background-color: rgba(234, 255, 249, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    padding: 1.6rem 13rem;
    align-items: center;
    border-bottom-style: solid;
    border-bottom-width: .1rem;
    border-bottom-color: #d1ece3;
    z-index: 1000;
    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);
}

.left, .right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.right {
    height: 3.6rem;
}

.logo {
    width: 4rem;
}

.header_text {
    display: flex;
    flex-direction: column;
}

.header_text h1 {
    font-size: 2.2rem;
    color: #009f89;
    font-weight: 700;
}

.header_text p {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .1rem;
    color: #576574;
}

.login, .register {
    border-style: none;
    padding: 1rem 1.6rem;
    border-radius: 1.6rem;
    font-weight: 500;
    font-size: 1.4rem;
}

.login {
    color: #000000;
    background-color: transparent;
    transition: 300ms;
}

.login:hover {
    transition: 300ms;
    background-color: rgba(0, 159, 138, 0.15);
}

.register {
    color: #ffffff;
    background-color: #009f89;
    transition: 300ms;
}

.register:hover {
    transition: 300ms;
    background-color: #00806f;
}

main {
    padding-top: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding-bottom: 5rem;
}

.star_text {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    padding: .4rem 1rem;
    background-color: #c2f9e9;
    width: fit-content;
    border-radius: 2rem;
    font-weight: 600;
    gap: 1rem;
}

main h2 {
    font-family: 'Instrument Serif','serif';
    font-style: italic;
    font-size: 6rem;
    text-align: center;
    font-weight: 500;
}

.organize {
    color: #576574;
    font-size: 1.6rem;
    width: 50%;
    text-align: center;
    line-height: 2.7rem;
}

.buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.login2, .register2 {
    padding: 1.5rem 2rem;
    border-radius: 1.6rem;
    font-weight: 500;
    font-size: 1.4rem;
}

.login2 {
    color: #000000;
    background-color: transparent;
    transition: 300ms;
    border-style: solid;
    border-width: .1rem;
    border-color: #d1ece3;
}

.login2:hover {
    transition: 300ms;
    background-color: rgba(0, 159, 138, 0.15);
}

.register2 {
    color: #ffffff;
    background-color: #009f89;
    transition: 300ms;
    border-style: none;
}

.register2:hover {
    transition: 300ms;
    background-color: #00806f;
}

.cards {
    display: flex;
    gap: 2rem;
    width: 80%;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 0 .4rem .4rem rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.card div {
    padding: 1rem;
    border-radius: 2rem;
    background-color: #c2f9e9;
    width: fit-content;
}

.card svg {
    width: 2rem;
    height: 2rem;
    border-style: none;
    color: #009f89;
    display: block;
}

.card h3 {
    font-size: 1.6rem;
}

.card p {
    color: #576574;
    font-size: 1.4rem;
}

footer {
    height: 7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-style: solid;
    border-top-width: .1rem;
    border-top-color: #d1ece3;
}

footer p {
    font-size: 1.2rem;
    color: #576574;
}

@media screen and (max-width: 900px) {
    header {
        padding: 1.6rem 6rem;    
    }

    .cards {
        flex-direction: column;
    }    
}

@media screen and (max-width: 650px) {
    main h2 {
        font-size: 4rem;
    }
    .organize {
        font-size: 1.4rem;
        width: 80%;
    }
}

@media screen and (max-width: 550px) {
    :root {
        font-size: 55%;
    }
}

@media screen and (max-width: 460px) {
    :root {
        font-size: 45%;
    }
}

@media screen and (max-width: 370px) {
    :root {
        font-size: 40%;
    }
}