/* --- Corpo --- */

body {
    margin: 0;
    overflow-x: hidden;
    font-family: 'Short Stack';
}

/* --- Barra de navegação --- */

nav {
    background-color: lightpink;
    position: fixed;
    width: 100%;
    z-index: 1;
}

nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.logo {
    top: 0;
    width: 60px;
    height: 90px;
    margin-top: 0px;
}

nav li {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    font-size: 75%;
    height: 100px;
}

.menu_logo {
    width: 100px;
}

.sets,
.bracelets,
.necklaces,
.earrings,
.others,
.user-about-us,
.user-contacts,
.about-us,
.contacts,
.user-search,
.search,
.shopping_cart,
.user {
    width: 100px;
}


.admin-about-us, 
.admin-contacts,
.admin,
.admin-search {
    width: 125px;
}

.small_screen_menu {
    display: none;
}

nav li a {
    text-decoration: none;
    color: black;
    transition: 0.5s;
}

nav li a:hover {
    color: rgb(167, 167, 167);
}

/* --- Menu em écra reduzido --- */

.subnav-content {

    display: none;
}  

/* --- Menu dropdown - Utilizador --- */

/* .dropdown {
    float: right;
    position: relative;
} */

.dropdown-content {
    display: none;
    position: absolute;
    overflow: hidden;
    background-color: black;
    border: 2px solid white;
    width: 185px;
    margin-top: 42.5px;
}

.dropdown-content a {
    display: block;
    color: white;
    padding: 15px 15px;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: white;
    color: black;
}

/* .center-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.center-1 {
    margin-left: auto;
    margin-right: auto;
}
.center-2 {
    text-align: center;
} */

.profile-settings {
    border-bottom: 1px solid white;
    text-align: center;
}

.logout {
    border-top: 1px solid white;
}

.dropdown-profile-image {
    width: 50px;
}

.show {
    display: block;
}

/* --- Barra de pesquisa --- */

.s-bar {
    position: fixed;
    margin-top: 100px;
    width: 100%;
    background-color: rgb(188, 188, 188);
    z-index: 1;
}

.search-form {
    display: flex;
    justify-content: center;
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

.s-bar input {
    text-indent: 5px;
    margin-right: 1%;
    width: 75%;
    font-size: 125%;
    padding-bottom: 5px;
    border: none;
    border-radius: 30px;
    font-family: 'Short Stack';
}

.s-bar .button-full {
    display: inline;
    width: 20%;
    background-color: slateblue;
    color: white;
    font-size: 125%;
    padding-bottom: 5px;
    border: none;
    border-radius: 30px;
    font-family: 'Short Stack';
} 

.s-bar .button-resized {
    display: none;
} 

.s-bar button:hover {
    background-color: "rgb(89, 73, 190)";
} 

/* --- Desativar o corpo da página --- */

.overflowHidden {
    overflow: hidden;
}

/* --- Footer --- */

.full-footer {
    background-color: lightpink;
    width: 100%;
    height: 275px;
}

.footer-divisions {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: 225px;
}

.small-footer-logo {
    display: none;
}

.footer-bars {
    display: none;
}

.footer-divisions .division-1-menu,
.footer-divisions .division-2-menu,
.footer-divisions .division-4-menu,
.footer-divisions .division-5-menu {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.footer-division-titles {
    border-bottom: 3px solid rgb(0,0,0,0.4);
}

.footer-divisions li {
    list-style: none;
    margin-top: 10px;
}

.footer-divisions img {
    width: 90px;
    height: 140px;
}

.footer-divisions a {
    color: black;
    text-decoration: none;
    font-size: 15px;
}

.slategrey-hover:hover {
    color: slategrey !important;
    cursor: pointer;
}

.division-1,
.division-2,
.division-4,
.division-5 {
    width: 20%;
    display: flex;
    flex-direction: column;
}

.social-media-division {
    display: none;
}

.division-3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 10%;
}

.division-32 {
    font-size: 20px;
}

.division-32 a {
    color: black;
    text-decoration: none;
}

.footer-copyright {
    display: flex;
    width: 100%;
}

.copyright {
    display: flex;
    justify-content: center;
    width: 90%;
    height: 50px;
}

.copyright p {
    width: 95%;
    margin-top: 18px;
    font-size: 12px;
    height: 12px;
}


.bank-logos {
    display: flex;
    justify-content: center;
    width: 10%;
    height: 50px;
}

.bank-logos p {
    text-align: right;
}

.mb {
    width: 20px;
    height: 20px;
}

/* --- Janela reduzida --- */

@media screen and (max-width: 1200px) {

    /* --- Menu do utilizador --- */

    .dropdown-content {
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        margin-left: -175px;
    }

}

@media screen and (max-width: 900px) {

    /* --- Menu do utilizador --- */

    .dropdown-content {
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        right: 0;
        z-index: 1;
    }
}

    @media screen and (max-width: 950px) {

        /* --- Menu do utilizador --- */
    
        .dropdown-content {
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            right: 0;
            z-index: 1;
        }

    /* --- Barra de pesquisa ---*/
    
    .s-bar input {
        font-size: 100%;
    } 

    .s-bar .button-full {
        display: none;
    } 
    
    .s-bar .button-resized {
        display: inline;
        width: 20%;
        background-color: slateblue;
        color: white;
        font-size: 100%;
        padding-top: 5px;
        padding-bottom: 5px;
        border: none;
        border-radius: 30px;
    } 
}

    @media screen and (max-width: 950px) {

        /* --- Barra de navegação --- */
    
        .empty {
            display: none;
        } 
    
        nav ul {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            margin: 0;
            padding: 0;
        }
    
        .small_screen_menu {
            display: flex;
        }
    
        .sets,
        .bracelets,
        .necklaces,
        .earrings,
        .about-us,
        .contacts,
        .others,
        .admin-about-us,
        .user-about-us,
        .admin-contacts,
        .user-contacts {
            display: none;
        }
    
        .small_screen_menu {
            width: 150px;
            /* padding-right: 16.7%; */
        }
    
        .menu_logo {
            width: 100%;
        }
    
        .search,
        .user-search,
        .shopping_cart,
        .user {
            width: 50px;
        }
    
        .admin-search,
        .admin {
            width: 75px;
        }
    
        .bars {
            position: absolute;
            left: 20px;
        }

    /* --- Barras --- */

    .subnav-content {
        margin-top: 100px;
        padding: 0;
        left: 0;
        top: 0;
        background-color: lightpink;
        width: 100%;
        height: 100%;
        position: fixed;
        overflow-y: hidden;
        z-index: 1;
    }

    .subnav-content li {
        display: block;
        text-indent: 25px;
        padding-top: 35px;
        padding-bottom: 35px;
        text-decoration: none;
    }

    .subnav-content a {
        color: black;
        text-decoration: none;
    }

    .subnav-content a:hover {
        color: black;
    }

}
/*and (max-height: 919px)*/
@media screen and (max-width: 950px) {

    /* --- Footer --- */
 
    .full-footer {
        width: 100%;
        height: auto;
    }
    
    .footer-divisions {
        display: block;
        height: auto;
        padding-top: 0.1%;
    }

    .small-footer-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 50px;
    }

    .f-logo {
        width: 60px;
        height: 90px;
    }

    .division-3 {
        display: none;
    }

    .footer-divisions .division-1-menu,
    .footer-divisions .division-2-menu,
    .footer-divisions .division-4-menu, 
    .footer-divisions .division-5-menu {
        display: none;
    }

    .division-1,
    .division-2,
    .division-4,
    .division-5 {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 2%;
    }

    .social-media-division {
        display: flex;
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        flex-direction: row;
    }

    .footer-division-titles {
        display: flex;
        justify-content: column;
        border-bottom: 3px solid rgb(0,0,0,0.4);
        width: 100%;
        height: 50px;
    }

    .social-media-division-1,
    .social-media-division-2 {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 50px;
    }

    .social-icon {
        margin-right: 10px;
    }

    .footer-division-titles h4 {
        display: flex;
        align-items: center;
        text-indent: 15px;
        width: 100%;
        height: 50px;
        margin: 0;
    } 

    .footer-division-titles .footer-bars {
        display: flex;
        align-items: center;
        justify-content: right;
        width: auto;
        height: 50px;
    }

    .copyright {
        display: flex;
        justify-content: center;
    }

    .copyright p {
        font-size: 8px;
        width: 90%;
        height: 25px;
    }

}

@media screen and (max-width: 680px) {
    .copyright {
        width: 95%;
    }

    .copyright p {
        width: 100%;
    }

    .long-text {
        display: none;
    }
}

@media screen and (max-width: 400px) {
.facebook-text,
.instagram-text {
    display: none;
}
}

@media screen and (max-width: 320px) {

    .full-footer {
        width: 111.75%;
    }

    .copyright p {
        margin-top: 7.5px;
    }

}


/* --- Animações --- */

@keyframes slideDown {
    from {height: 0px;}
    to {height: 100vh;}
}

@keyframes slideDown2 {
    from {height: 0px;}
    to {height: 160px;}
}

@keyframes slideDown3 {
    from {height: 0px;}
    to {height: 70px;}
}

@keyframes slideDown4 {
    from {height: 0px;}
    to {height: 70px;}
}

@keyframes slideDown5 {
    from {height: 0px;}
    to {height: 260px;}
}

@keyframes slideDown6 {
    from {height: 0px;}
    to {height: 89px;}
}

@keyframes slideDown7 {
    from {height: 0px;}
    to {height: 345px;}
}

/* @keyframes slideDownAdmin {
    from {height: 0px;}
    to {height: 250px;}
} */
