@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Josefin Sans', sans-serif;
    color: rgba(59, 59, 59, 0.85);
    font-weight: normal;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
            box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
    background-color: transparent;
    border-radius: 6px;
    border:rgb(255, 255, 255, 0.50) ridge 1px; 
    height: 10px;
}

::-webkit-scrollbar{
    width: 10px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb{
    -webkit-box-shadow: inset 0 0 6px rgb(28, 41, 68);
            box-shadow: inset 0 0 6px rgb(28, 41, 68);
    background: rgb(255, 255, 255, 0.25);
    border-radius: 6px;
    height: 10px;
    border:  rgb(255, 255, 255, 0.50) ridge 1px; 
}

a{
    color: rgb(58, 87, 252);
}

                                    /*      --    HOME VIEW     --      */

.container-home{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    background-image: url(https://github.com/fabibbc/SCL020-social-network/blob/main/src/img/background-home.png?raw=true);


/*   display: flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 568px;*/
}

.sub-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center; 
}

.container-logo-ticket{
    padding: 10px 20px;
    background-color: rgb(255, 255, 255, 0.75); 
    border-radius: 30px;
}

.logo-ticket{
    width: 80px;
    height: auto;
    border-radius: 25%;
    background-color: rgb(255, 255, 255, 0.75); 
    box-shadow: 4px 4px 8px 2px rgba(85, 85, 85, 0.28);
}

.sub-container p{
    text-align: center;
    width: 200px;
    margin-top: 50px;
    margin-bottom:20px;
    font-weight: normal;
    padding: 20px;
    border-radius: 15px;
    background-color: rgb(255, 255, 255, 0.85); 
    box-shadow: 4px 4px 8px 2px rgba(85, 85, 85, 0.28);
}

.btn-returnstitch{
    border-radius: 15px;
    font-weight: 400;
    padding: 10px 20px;
    letter-spacing: 3px;
    border: none;
    margin-top: 5px;
    font-size: medium;
    width: 200px;
    background-color: rgb(255, 255, 255, 0.75); 
    box-shadow: 4px 4px 8px 2px rgba(85, 85, 85, 0.28);
}

.btn-returnstitch:hover{
    background-color: rgba(205, 205, 205, 0.56);
    box-shadow: 2px 2px 2px 2px rgb(239, 249, 255, 0.50);
    color: black;
    border: solid 2px #FFFFFF;
}

.btn{
    border-radius: 15px;
    padding: 10px 20px;
    letter-spacing: 3px;
    border: none;
    margin-top: 5px;
    font-size: medium;
    width: 200px;
    background-color: rgb(255, 255, 255, 0.75); 
    box-shadow: 4px 4px 8px 2px rgba(85, 85, 85, 0.28);
    text-decoration:none;
}

.btn:hover{
    background-color: rgba(205, 205, 205, 0.56);
    box-shadow: 2px 2px 2px 2px rgb(239, 249, 255, 0.50);
    color: black;
    border: solid 2px #FFFFFF;
}


                                    /*      --      LOGIN VIEW      --      */
.container-login {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
/* display: flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 568px;*/
}

.sub-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center; 
    margin: 20px;
    height: 530px;
    width: 310px;
    background-color: rgb(255, 255, 255, 0.5);
    border-radius: 30px;
}

.container-s-logo-ticket{
    padding: 10px 20px;
    border-radius: 30px;
}

.s-logo-ticket{
    width: 60px;
    height: auto;
    border-radius: 25%;
    background-color: rgb(255, 255, 255, 0.75); 
    box-shadow: 4px 4px 8px 2px rgba(85, 85, 85, 0.28);

}

.sub-container h2{
    padding: 5px 20px;
    background-color: rgb(255, 255, 255, 0.75); 
    box-shadow: 4px 4px 8px 2px rgba(85, 85, 85, 0.28);
    border-radius: 30px;
    margin-bottom: 30px;
    font-size: large;
}

.sub-container label{
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: -20px;
}

.sub-container input{
    text-decoration: none;
    text-align: center;
    border: none;
    background-color: rgb(255, 255, 255, 0.75);
    box-shadow: 4px 4px 8px 2px rgba(85, 85, 85, 0.28);
    letter-spacing: 5;
    font-size: small;
    color: black;
    width: 250px;
    height: 30px;
    border-radius: 30px;
    margin: 10px;
    margin-bottom: 20px;
}

.btn-access{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 250px;
}

.btn-access button{
    width: 60px;
    height: 60px;
    border-radius: 15px;
    border: none;
    margin-bottom: 30px;
}

.btn-access button:hover{
    background-color: rgba(205, 205, 205, 0.56);
    box-shadow: 2px 2px 2px 2px rgb(239, 249, 255, 0.50);
    color: black;
    border: solid 2px #FFFFFF;
}

.form-type{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-type p{
    /* border: green solid 2px; */
    text-align: center;
    width: 200px;
    margin-top: 10px;
    margin-bottom:20px;
    padding: 20px;
    border-radius: 15px;
    background-color: rgb(255, 255, 255, 0.75);
    box-shadow: 4px 4px 8px 2px rgba(85, 85, 85, 0.28);
    /*text-align: center;
    width: 300px;
    margin-bottom:0px;
    background-color: transparent;
    margin-top: 10px;*/
}

.logo-google{
    width: 200px;
    border-radius: 10px;
    margin-top: 15px;
}

.logo-google:hover{
    
    transform: scale(1.1);
    background-color: rgba(205, 205, 205, 0.56);
    box-shadow: 2px 2px 6px 2px rgb(239, 249, 255, 0.25);
    color: black;
    border: solid 2px #FFFFFF;
}


                                        /*      --    AGE VIEW     --      */
.container-age {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    
    /*display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 568px;*/
}

.container-age p{
    text-align: center;
    width: 200px;
    margin-top: 50px;
    margin-bottom:20px;
    padding: 20px;
    border-radius: 15px;
    background-color: rgb(255, 255, 255, 0.75); 
    box-shadow: 4px 4px 8px 2px rgba(85, 85, 85, 0.28);
}

                                    /*      --    AGE REDIRECT VIEW     --      */
.container-ageRedirect{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    /*display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 568px;*/
}

.container-ageRedirect p{
    text-align: center;
    width: 200px;
    margin-top: 50px;
    margin-bottom:20px;
    padding: 20px;
    background-color: rgb(255, 255, 255, 0.75); 
    border-radius: 15px;
}

.video-stitch{
    width: 200px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: rgb(255, 255, 255, 0.75) inset 2px;
}

                                        /*      --    SIGN UP VIEW     --      */
.container-signUp {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    /*display: flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 568px;*/
}

 .container-btn {
   /* display: flex; */
    flex-direction: row;
    justify-content: space-around;
    text-align: center;
    
}

.btn-cancel{
    border-radius: 15px;
    padding: 10px 20px;
    letter-spacing: 3px;
    border: none;
    color: rgba(59, 59, 59, 0.85);
    margin-top: 5px;
    font-size: small;
    width: auto;
    height: 10px;
    margin-top: 20px;
    background-color: rgb(255, 255, 255, 0.75); 
    box-shadow: 4px 4px 8px 2px rgba(85, 85, 85, 0.28);
    text-decoration:none;   
}

.btn-cancel:hover{
    background-color: rgba(205, 205, 205, 0.56);
    box-shadow: 2px 2px 2px 2px rgb(239, 249, 255, 0.50);
    color: black;
    border: solid 2px #FFFFFF;
}

.btn-create{
    border-radius: 15px;
    padding: 0 20px;
    letter-spacing: 3px;
    border: none;
    font-size: medium;
    width: 200px;
    background-color: rgb(255, 255, 255, 0.75); 
    box-shadow: 4px 4px 8px 2px rgba(85, 85, 85, 0.28);
    text-decoration:none;   
}

.btn-create:hover{
    background-color: rgba(205, 205, 205, 0.56);
    box-shadow: 2px 2px 2px 2px rgb(239, 249, 255, 0.50);
    color: black;
    border: solid 2px #FFFFFF;
}

.container-btn button{
    border-radius: 15px;
    padding: 10px 20px;
    letter-spacing: 3px;
    border: none;
    margin: 5px;
    margin-top: 20px;
    font-weight: 400;
    width: 100px;
    font-size: small;
}

.form-sign-up{
    display: flex;
    flex-direction: column;
    justify-content: center;
}


                                        /*      --    WELCOME VIEW     --      */
.container-welcome {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
 /*  display: flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 568px;*/
}

/* .container-p {
    letter-spacing: 2px;
    text-align: center;
    padding: 10px 20px;
    width: 230px;
    background-color: lightgray;
    border-radius: 15px;
    margin-top: 20px;
    margin-bottom: 30px;
} */

.container-p p {
    margin: 5px 0px;
}

                            /*      --    LOG OUT CONFIRMATION VIEW     --      */
.container-logOutConfirm {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
/*   display: flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 568px;*/
}

/* .sub-container-logOutConfirm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center; 
    margin: 20px;
    height: 530px;
    width: 310px;
    background-color: #FFFFFF;
    border-radius: 30px;
} */

.btn-yes{
    border-radius: 15px;
    padding: 10px 20px;
    letter-spacing: 3px;
    border: none;
    margin-top: 5px;
    font-size: medium;
    width: 200px;
    background-color: rgb(255, 255, 255, 0.75); 
    box-shadow: 4px 4px 8px 2px rgba(85, 85, 85, 0.28);
}

.btn-yes:hover{ 
    background-color: rgba(205, 205, 205, 0.56);
    box-shadow: 2px 2px 2px 2px rgb(239, 249, 255, 0.50);
    color: black;
    border: solid 2px #FFFFFF;
}


                            /*      --    DELETE CONFIRMATION VIEW     --      */
.container-deleteComment {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    /*display: flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 568px;*/
}

.sub-container-deleteComment {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center; 
    margin: 20px;
    height: 530px;
    width: 310px;
    background-color: #FFFFFF;
    border-radius: 30px;
}

                                        /*      --    MENU VIEW     --      */
.container-menu {
    display: flex;
    justify-content: center;
    align-self:flex-end;
    width: 100vw;
    height: 60px;
    position: sticky;
    bottom: 0px;
}

.sub-container-menu {
    background: rgba(217, 217, 217, 0.3);
    display: flex;
    justify-content: center;
    align-items: center; 
    margin: 0px auto;
    width: 100%;
}

.container-img {
    display: flex;
    justify-content: center;
    align-items: center; 
}

.sub-container-img {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0px 15%;
}

.img-menu {
    width: 40px;
    height: auto;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.75);
}

.img-menu:hover{
    background-color: rgba(205, 205, 205, 0.56);
    box-shadow: 2px 2px 2px 2px rgb(239, 249, 255, 0.50);
    color: black;
    border: solid 2px #FFFFFF;
    transform: scale(1.2);
}


                                /*      --    FEED VIEW     --      */
.container-feed {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: auto;
    max-height: 100%;
}

/* .container-feed{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 320px;
    height: 568px;
    
} */
.nav-search{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 320px;
    height: 70px;
    margin: 0px 5px;
}

.nav-web{
    display: none;
}

.menu-feed{
    width: 50%;
}

.menu-feed img{
    margin-left: 10px;
    width: 20px;
    height: auto;
}

.search-bar{
    width: 50%;
}


/*      --    Search     --      */
.search-box{
    position: absolute;
    /* top: 50%;
    left: 50%; */
    transform:  translate(-50%, -50%);
    background: #fff;
    height: 40px;
    border-radius: 40px;
    /* padding: 10px; */
    margin-left: 160px;
    /* border: 2px solid magenta;  */
    width: 200px;
}

.search-box:hover > .search-input{
    position:absolute;
    width: 200px;
    height: 40px;
    margin-left: -85px;
    margin-top: 2px;
    padding: 0 10px;
    /* border-radius: 100px; 
    border: 1px solid lightgray;  */
}

.search-box:hover > .search-button{
    background: transparent;
    border: rgb(248, 201, 183) solid 3px;
    color : #fff;
    transition: 0.5s ease;
}

.search-input{  
    width: 0px;
    border:none;
    padding: 0;
    background: none;
    outline:none;
    color: black;
    font-size: 1.1rem;
    transition: 0.5s ease;
    line-height: 30px;
}

.search-button{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: #4e5c6f;
    float: right;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50%;
    transition: 0.6s;
    cursor: pointer;
    border:none;
    /* border: orange 2px solid; */
}

.search-button:hover{
    transform: rotate(360deg)
    scale(0.8);
}

.movies{
    display: flex;
    /* justify-content: space-around; */
    /* align-items: center; */
    background: rgba(217, 217, 217, 0.3);
    padding: 5px;
    width: 100%;
    height: 100px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    /* border: red solid 1px; */
    /* margin-left: 110px; */
}


.movie-rank{
    display: flex;
    margin: 0px 5px;
    width: 70px;
    height: auto;
    /* scroll-snap-align: center; */
    /* border-radius: 10px; */
    /* border: green solid 2px; */
}

.container-post{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 20px;
}

/* .post{
    background: rgba(217, 217, 217, 0.3);
    width: 270px;
    height: 180px;
    margin: 10px 10px;
    padding: 15px;                              *IMPORTANTE ENCONTRAR DONDE USAMOS ESTE*
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 15px;
} */

.user-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 160px;
    margin-bottom: 8px;
}

.user-info img{
    width: 50px;
    height: auto;
}

.post-p{
    background: rgba(255, 255, 255, 0.75);
    width: 230px;
    height: 90px;
    padding: 10px;
    border-radius: 15px;
    margin: 0px auto;
}

.btn-popCorn{
    background: transparent;
    border: none;
}

.btn-popCorn:hover{ 
    margin:2px
}


/*      --    PROFILE VIEW     --      */
.container-profile {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    text-align: center;
    max-height: 100vh;
    max-width: 100vw;
    flex-direction: column;
    /*display: flex;
    align-items: center;
    flex-direction: column;
    width: 320px;
    height: 568px;*/
}

/* .profile nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 320px;
    height: 60px;
    margin: 0px 5px;
} */
.web-box{
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-profile{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin-top: 30px;
}

.user-profile img{
    margin: 5px;
    width: 65px;
    height: auto;
}

.user-profile button{
    width: 110px;
    height: 25px;
    border-radius: 20px;
    margin: 5px;
    padding: 5px;
}

.user-data {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100vw;
    height: 55px;
    margin: 10px auto;
}

.data{
    background-color: rgb(255, 255, 255, 0.75);
    text-align: center;
    align-items: center;
    width: 85px;
    height: 45px;
    padding: 10px;
    border-radius: 10px;
    font-size: 15px;
}

.data:hover{
    transform: scale(1.2);
    background-color: rgba(205, 205, 205, 0.56);
    box-shadow: 2px 2px 2px 2px rgb(239, 249, 255, 0.50);
    color: black;
    border: solid 2px #FFFFFF;
}

.feed-post{
    background: rgba(217, 217, 217, 0.3);
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 60px auto;
    padding: 20px;
    border-radius: 15px; 
}

.form-post{
    margin: 0px auto;
}

.feed-post textarea{
    background: rgba(217, 217, 217, 1);
    width: 230px;
    height: 80px;
    padding: 10px;
    border-radius: 15px;
    margin: 0px auto;
    border: none;
    text-align: center;
}

.user-name {
    margin: 10px 0px;
}


.post-box{
    background: rgba(217, 217, 217, 1);
    border-radius: 15px;
    width: 90%;
    height: auto; 
    margin: 10px auto;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
}

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

.username {
    border-radius: 15px 15px 0px 0px;
    background-color: whitesmoke;
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    padding: 0px 20px;
}

.content-post {
    width: 95%;
    height: 60px;
    padding: 20px;
    overflow-wrap: break-word;
}


.likes {
    border-radius: 0px 0px 15px 15px;
    background-color: whitesmoke;
    display:flex;
    width: 100%;
    padding: 5px 20px;
}

.postedbtn {
    width: 85%;
    display: flex;
    justify-content: flex-end;
}

.postedbtn button {
    border: none;
    margin: 5px 10px;
}

.btn-edit{
    background-color: transparent;
}

.btn-edit:hover{
    transform: scale(0.8);
}

.btn-delete{
    background-color: transparent;
}

.btn-delete:hover{
    background-color: rgba(205, 205, 205, 0.56);
    box-shadow: 2px 2px 2px 2px rgb(239, 249, 255, 0.50);
    color: black;
    border: solid 2px #FFFFFF;
}


.btn-post{
    border-radius: 15px;
    padding: 10px 20px;
    letter-spacing: 3px;
    border: none;
    margin-top: 10px;
    align-items: center;
    font-size: medium;
    width: 150px;
    height: 30px;
    text-align: center;
    font-stretch: expanded;
    background-color: rgb(255, 255, 255, 0.75); 
    box-shadow: 4px 4px 8px 2px rgba(85, 85, 85, 0.28);  
}

.btn-post:hover{
    background-color: rgba(205, 205, 205, 0.56);
    box-shadow: 2px 2px 2px 2px rgb(239, 249, 255, 0.50);
    color: black;
    border: solid 2px #FFFFFF;
}


/*      --    404 VIEW     --      */
.container-404{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

.div-404{
    /* background-color: purple; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center; 
    /* margin: 20px; */
    width: 320px;
    height: 568px;
}

.img-404{
    width: 260px;
    height: auto;
    margin-top: 20px;
    margin-bottom:20px;
}

.imgPopCorn {
    width: 140px;
    height: auto;
    margin-top: 20px;
    margin-bottom:20px;
}

.div-404 p{
    text-align: center;
    width: 200px;
    margin-top: 50px;
    margin-bottom:20px;
}

.btn-return{
    border-radius: 15px;
    padding: 10px 20px;
    letter-spacing: 3px;
    border: none;
    margin-top: 20px;
    font-weight: 400;
}


/* -- Boton Hamburguesa -- */
.hamburger{
    width: 30px;
    cursor: pointer;
}

.hamburger span{
    width: 100%;
    height: 3px;
    display: block;
    background: #FFFFFF;
}

.stuffing{
    margin: 5px 0;
}


/*  GRADIENT BACKGROUND  */
body{
	background: linear-gradient(-45deg, #5492F5, #5391F6, #ED829E, #FFCA2C, #ED829E);
	background-size: 900% 900%;
	animation: gradient 30s ease infinite;
    animation-direction: alternate;
	height: 100vh;
}

@keyframes gradient {
    0%{background-position:14% 0%}
    50%{background-position:70% 100%}
    100%{background-position:18% 0%}
}



                                                    /* WEB */

@media screen and (min-width: 769px){      

                                                /* GENERAL */
    .sub-container {
        width: 55%;
    }

                                            /* HOME VIEW WEB */
    .container-home{
        width: auto;
        background-image: url(https://github.com/fabibbc/SCL020-social-network/blob/main/src/img/background-home.png?raw=true);
        background-size: 100%;
    }


                                        /* MENU WEB (FEED - PROFILE) */

    .container-menu {
        display: none;
    }

    .nav-web {
        display: flex;
        justify-content: center;
        background-color: white;
        width: 100vw;
        height: 5%;
        margin: 0px auto;
    }
    .sub-nav-web {
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-navweb {
        width: 50%;
        height: auto;
    }

    .navweb-logos {
        width: 100%;
        height: auto;
        border-radius: 30px;
    }


    .nav-search {
        display: none;
    }

    .search-box {
        margin-left: 100px;
    }

    .container-logo {
        width: 100px;
        height: 65px;
    }

    .container-logo img{
        width: 65%;
        height: auto;
    }

    .icons-web img {
        width: 80%;
        height: auto;
    }


                                                    /* PROFILE WEB */

    .container-profile {
        width: auto;
    }

    .user-data {
        width: 50%;
    }

    .feed-post{
        width: 30%;
        height: 200px;
        padding: 10px 0px 5px 0px;
    }

    .feed-post textarea {
        width: 100%;
        height: auto;
        padding: 30px 20px;
    }

                                                    /* FEED WEB */

    .movies {
        width: 50%;
        height: 20%;
    }

                                                        /* POST WEB*/

    .container-post {
        width: 50%;
    }

    .post-box {
        width: 60%;
    }
}





