body,
html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: black;
    overflow: hidden;
}

.footer {
    position: fixed;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-width: 1px;
    border-color: #999;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif, Times, serif;
    width: 100%;
    height: auto;
    bottom: 0;
}

.text {
    font-family: "Yanone Kaffeesatz";
    font-size: 6vw;
    display: -webkit-flex;
    display: flex;
    position: absolute;
    bottom: 20vh;
    left: 53%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -webkit-user-select: none;
    user-select: none;
    z-index: 1;

    .wrapper {
        padding-left: 2.1vh;
        padding-right: 2.1vh;
        padding-top: 2.1vh;

        .letter {
            transition: ease-out 1s;
            transform: translateY(40%);
            -webkit-transition: ease-out 1s;
            -webkit-transform: translateY(40%);
        }

        .shadow {
            transform: scale(1, -1);
            -webkit-transform: scale(1, -1);
            color: rgb(153, 153, 153);
            transition: ease-in 5s, ease-out 5s;
            -webkit-transition: ease-in 5s, ease-out 5s;

        }

        &:hover {
            .letter {
                transform: translateY(-200%);
                -webkit-transform: translateY(-200%);
            }

            .shadow {
                opacity: 0;
                transform: translateY(200%);
                -webkit-transform: translateY(200%);
            }
        }
    }
}

.copyw {
    color: white;
    font-weight: normal;
    font-size: 1.0vw;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    letter-spacing: 2px;

}


#rotate-words {
    color: white;
    max-width: 400px;
    margin: auto;
    padding: 2% 0;
    font-size: 2.5vw;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px black, 0 0 25px gray, 0 0 5px black;
    font-family: "Garamond", sans-serif;
}

#rotate-words span {
    display: block;
    height: 70px;
    font-size: 1.8vw;
    font-weight: bold;
    color: rgb(107, 12, 12);
    text-shadow: 1px 1px 2px white, 0 0 25px white, 0 0 5px whitesmoke;
    text-transform: lowercase;
    margin-left: 120px;
    opacity: .8;
    font-family: "Courier New", sans-serif;
}

#rotate-words div {
    position: absolute;
    opacity: 0;
    overflow: hidden;
    left: 10vw;
    width: 80vw;
    line-height: 1.2em;
    animation: rotate-word 48s linear infinite 0s;

}

@keyframes rotate-word {
    0% {
        opacity: 0;
        transform: translateX(0);
        filter: blur(10px);
        transform: scale(1.2)
    }

    3% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0px);
        transform: scale(.9)
    }

    12% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0px);
        transform: scale(1)
    }

    16% {
        opacity: 0;
        transform: translateX(0);
        filter: blur(10px);
        transform: scale(1.2)
    }

    80% {
        opacity: 0
    }

    100% {
        opacity: 0
    }
}

#rotate-words div:nth-child(2) {
    animation-delay: 6s
}

#rotate-words div:nth-child(3) {
    animation-delay: 12s
}

#rotate-words div:nth-child(4) {
    animation-delay: 18s
}

#rotate-words div:nth-child(5) {
    animation-delay: 24s
}

#rotate-words div:nth-child(6) {
    animation-delay: 30s
}

#rotate-words div:nth-child(7) {
    animation-delay: 36s
}

#rotate-words div:nth-child(8) {
    animation-delay: 42s
}

.bg {
    /* The image used */
    background-image: url("../Imagens/hip6.jpg");

    /* Full height */
    height: 100%;
    width: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: black;
}

#lang_selector {
    margin-top: 10px;
    font-weight: bolder;
    background-color: black;
    color: white;
    padding: 5px 10px 5px 10px;
    border-radius: 5px 5px 5px 5px;
    box-sizing: border-box;
    box-shadow: 1px 1px white;
}

#lang_selector:hover {
    background-color: rgb(172, 169, 169);
    color: black;
    box-shadow: 1px 1px black;
    cursor: pointer;
}

.header {
    text-align: center;
    display: grid;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: white;
    max-width: 100%;
    margin: auto;
    padding: 2%;
    text-shadow: 1px 1px 2px black, 0 0 25px gray, 0 0 5px black;
    font-family: "Garamond", sans-serif;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

[class*="col-"] {
    float: left;

}

/* For mobile phones: */
[class*="col-"] {
    width: 100%;
}

@media only screen and (min-width: 600px) {

    /* For tablets: */
    .col-s-1 {
        width: 8.33%;
    }

    .col-s-2 {
        width: 16.66%;
    }

    .col-s-3 {
        width: 25%;
    }

    .col-s-4 {
        width: 33.33%;
    }

    .col-s-5 {
        width: 41.66%;
    }

    .col-s-6 {
        width: 50%;
    }

    .col-s-7 {
        width: 58.33%;
    }

    .col-s-8 {
        width: 66.66%;
    }

    .col-s-9 {
        width: 75%;
    }

    .col-s-10 {
        width: 83.33%;
    }

    .col-s-11 {
        width: 91.66%;
    }

    .col-s-12 {
        width: 100%;
    }


}

@media only screen and (min-width: 768px) {

    /* For desktop: */
    .col-1 {
        width: 8.33%;
    }

    .col-2 {
        width: 16.66%;
    }

    .col-3 {
        width: 25%;
    }

    .col-4 {
        width: 33.33%;
    }

    .col-5 {
        width: 41.66%;
    }

    .col-6 {
        width: 50%;
    }

    .col-7 {
        width: 58.33%;
    }

    .col-8 {
        width: 66.66%;
    }

    .col-9 {
        width: 75%;
    }

    .col-10 {
        width: 83.33%;
    }

    .col-11 {
        width: 91.66%;
    }

    .col-12 {
        width: 100%;
    }
}

.menu2 ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu2 li {
    padding: 2px 10px;
    font-size: 20px;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: rgb(127, 127, 127, 0.7);
    border: none;
    border-radius: 5px;
    /*box-shadow: 0 7px #999;*/
    margin-top: 5px;

}

.menu2 li:hover {
    background-color: rgb(0, 0, 0, 0.8);
}

.menu2 li:active {
    background-color: black;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

/*alterar para none*/
#menu_login_registo {
    display: block;
}

@media (max-width: 900px) {

    #rotate-words span {
        font-size: 18px;
        font-weight: bolder;
    }

    #rotate-words {
        font-size: 22px;
    }

    #audio1 {
        width: 200px;
        height: 20px;
    }

    #nameautorid {
        font-size: 10px;
    }

}

@media (max-width: 1500px) {
    .text {
        font-size: 3vw;
    }

    .menu2 li {
        padding: 7px 12px;
        font-size: 14px;
        border-radius: 7px;
    }

}

#lang_selector {
    margin-top: 10px;
    font-weight: bolder;
    background-color: black;
    color: white;
    padding: 1px 2px 1px 2px;
    border-radius: 5px 5px 5px 5px;
    box-sizing: border-box;
    box-shadow: 1px 1px white;
}


#lang_selector:hover {
    background-color: rgb(172, 169, 169);
    color: black;
    box-shadow: 1px 1px black;
    cursor: pointer;
}

#lang_padding {
    padding-top: 10px;
    padding-left: 10px;
}

#menu_login_registo {
    margin-top: 140px;
}

@media only screen and (max-width: 1023px) and (max-height: 600px) and (min-width: 601px) {

    .menu2 li {
        padding: 2px 4px;
        font-size: 10px;
        margin-top: 2px;
        border-radius: 2px;
    }

    #menu_login_registo {
        margin-top: 70px;
    }

    #audio1 {
        width: 200px;
        height: 20px;
    }

    #nameautorid {
        font-size: 10px;
    }

    #lang_selector {
        margin-top: 2px;
        font-size: 10px;
    }

    #lang_padding{
        padding-top: 2px;
    }

    #rotate-words div{
        height: 80px;
        width:fit-content;

    }
}