/* Using REM */
html {
    font-size: 62.5%;
}

body {
    color: #c9c6b8;
    font-family: montserrat;
    background: linear-gradient(270deg, #050505, #252423);
    background-size: 200% 200%;
    animation: gradient-background 5s ease infinite;
}

@keyframes gradient-background {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Errors */

.pop-up {
    position: absolute;
    z-index: 50;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
}

.message {
    font-size: 1.8rem;
    padding: 15px 20px;
    background: #ffffff;
    color: #050505;
    margin: 10px;
}

/* Basics */

main.main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
}

.container {
    margin: 0 auto;
    margin-top: 3rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    /* height: 90vh; */
}

.container .logo img {
    width: 5rem;
}

/* big texts */

.big-texts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.big-texts h1 {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 14rem;
    position: relative;
    margin-bottom: 0;
}

.big-texts h1::after {
    content: '&';
    left: 50%;
    bottom: 10px;
    transform: rotate(3deg) translateX(-50%);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 6rem;
    color: #ffffff;
    position: absolute;
}

h2.text-animated {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 6rem;
    white-space: nowrap;
}

.fade-anim {
    /* Anim */
    animation-name: fade-anim;
    animation-iteration-count: infinite;
    animation-duration: 4s;
    will-change: opacity;
}

@keyframes fade-anim {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(20px);
    }
}

/* Form */

.form {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.form .infos {
    text-align: center;
    margin-bottom: 1.6rem;
    font-size: 1.4rem;
}

.form .form-email {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-email .mail-input {
    margin-right: 10px;
    width: 200px;
    padding: 10px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 0;
    border-bottom: 2px solid #ffffff;
}

.form-email .mail-input::placeholder {
    color: #ffffff;
    opacity: 1;
}

.form-email .btn {
    padding: 10px 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #c9c6b8;
    color: #050505;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.form-email .btn:hover {
    color: #ffffff;
}

/* Footer */

footer.footer {
    margin: 15px auto;
    display: flex;
    justify-content: center;
}

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

footer.footer p {
    margin: 0 10px;
}

footer.footer .sub {
    display: flex;
}

/* Object */

.logo,
.big-texts,
.form {
    z-index: 10;
}

.object {
}

.object img {
    width: 200px;
    height: 300px;
    z-index: 0;
}

/* Responsive */
/* 
@media only screen and (min-width: 1000px) {
    .big-texts h1 {
    }
} */

@media only screen and (max-width: 1000px) and (max-height: 900px) {
    .big-texts h1 {
        margin: 0;
    }
}

@media only screen and (max-width: 1100px) {
    body {
        /* background: #050505; */
        overflow-x: hidden;
        width: 100%;
    }

    /* .big-texts h1,
    .big-texts::after,
    h2.text-animated {
        transform: scale(0.5);
    } */

    .big-texts::after {
        transform: translateY(-30px) scale(0.5);
    }

    .form .infos {
        font-size: 1.2rem;
    }

    .container {
        margin-top: 2rem;
    }

    footer.footer {
        margin: 0;
        left: 0;
        z-index: 20;
        /* position: absolute;
        bottom: 0; */
        padding: 15px 10px;
        font-size: 1.4rem;
        width: 100%;
        /* background: #ffffff; */
        color: #ffffff;
        justify-content: center;
    }

    footer.footer .footer-texts {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    footer.footer .footer-texts p {
        margin: 1.5rem 2rem;
    }
}

@media only screen and (max-width: 800px) {
    .container {
        margin-top: 4rem;
        width: 100%;
    }

    .big-texts {
        /* line-height: 8rem; */
        transform: scale(0.7);
    }

    footer.footer {
        margin: 0 auto;
        width: 100%;
    }

    footer.footer .footer-texts {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    footer.footer .footer-texts p {
        font-size: 1.2rem;
        margin: 0.6rem 2rem;
    }

    @media only screen and (max-height: 850px) {
        .container .object {
            display: flex;
            justify-content: center;
        }

        .container .object img {
            position: absolute;
            bottom: 0;
            transform: translateY(-12rem);
        }
    }

    footer.footer .sub {
        display: flex;
        flex-direction: row;
    }
}
