
/*----THIS IS FOR THE SITE ALONE-----*/
/*
    Anywhere that the word SITE is used, it is refering
    to everything that is not the HTML app
*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{ /*variables for SITE colors and other styling details*/

    /*           Colors            */

    --textcolor: #2e2e2e;
    --nav-links-color: #179bd7;
    --hero-btn-color: #179bd7;
    --link-field-btn-color: #179bd7;
    --link-field-btn-tint: #3089c7;
    --accent-color: #179bd7;

    /*#3dafff*/
    --text-field-color: #fff;
    --text-field-color-hover: #fafafa;
    --text-field-border: #dedede;

    --error-color: #ff0000;
    --success-color: #2bba29;


    /*           Sizes            */

    --navmenu-size: 160px;

    /*           Details            */

    --box-curves: 10px;
    --inputfield-curves: 10px;
    --icon-number: 9;
    --scale-anim-uses: 1;

    /*           Font Sizes          */

    --header-font-weight: 200;

}



/*---------------Header----------------*/
/*
    This is the homepage (index.html) for the site.
*/
.header{
    height: 100vh;
    min-height: 600px;
    width: 100%;
}
.bannerbox{ /*---this is the white box that carries all the links on each desktop page---*/
    background-color: #fff;
    width: 100%;
    height: 120px;
    background-image: url('../images/handwithmecard.png'),url('../images/handwithphone.png');
    background-repeat: no-repeat, no-repeat;
    background-position: 10% bottom, 90% bottom;
    background-size: 90px, 75px;
    box-shadow: 0 0 25px 10px rgba(0,0,0,0.05);
    display: block;
    position: relative;
}
.bannerbox-notinmobile{ /*---this is for profile editor mobile version to not have the banner box---*/
    background-color: #fff;
    width: 100%;
    height: 120px;
    background-image: url('../images/handwithmecard.png'),url('../images/handwithphone.png');
    background-repeat: no-repeat, no-repeat;
    background-position: 10% bottom, 90% bottom;
    background-size: 90px, 75px;
    box-shadow: 0 0 25px 10px rgba(0,0,0,0.05);
    display: block;
    position: relative;
}
nav{
    display: flex;
    padding: 25px 6%;
    justify-content: space-between;
    align-items: center;
}
.nav-links{
    flex: 1;
    text-align: center;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 28px 12px 8px;
    position: relative;
}
.nav-links ul li a{
    color: var(--nav-links-color);
    text-decoration: none;
    font-size: 16px
}
.nav-links ul li::after{
    content:'';
    width: 0%;
    height: 2px;
    background-color: var(--nav-links-color);
    display: block;
    margin: auto;
    transition: 0.15s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.text-box{
    width: 90%;
    color: var(--textcolor);
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 42px;
    font-weight: var(--header-font-weight);
}
.text-box p{
    font-size: 26px;
    margin: 10px 0 40px;
}
.bannerbox .fa{
    display: none;
}
.bannerbox-notinmobile .fa{
    display: none;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: var(--hero-btn-color);
    border: 1px solid var(--hero-btn-color);
    border-radius: var(--box-curves);
    padding: 12px 34px;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: 0.15s;
}
.hero-btn:hover{
    color: #fff;
    background: var(--hero-btn-color);
}

/*--------------Card Demo--------------*/
/*
    This is the animation in the center of the home page
    that shows the card's functionality
*/
.carddemo{
    height: 100vh;
    width: 100%;
    margin: auto;
}
.the-me-card ul li{
    list-style: none;
    display: inline-block;
    position: relative;
}
.the-me-card ul li h1{
    font-weight: 400;
    font-size: 45px;
}
.the-me-card ul li h6{
    font-family: 'Amiri';
    padding: 0 6px;
    font-size: 90px;
}
.carddemo-col-left{
    flex-basis: 33%;
    margin: auto;
    text-align: center;
}
.carddemo-col-left p{
    padding-bottom: 50px;
}
.carddemo-col-right{
    flex-basis: 60%;
}

/*-----------------Footer-----------------*/
/*
    This is included at the bottom of ALL SITE pages.
*/
.footer{
    margin: auto;
    width: 100%;
    padding: 20px 0 30px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 0 25px 10px rgba(0,0,0,0.05);
    color: #a3a3a3;
    position: absolute;
}
.footer h4{
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}
.footer p{
    font-size: 15px
}
.logo img{
    padding: 15px 0 10px;
    height: 50px;
}

/*----------------Login----------------*/
/*
    This is the SITE's login page.
*/
.sub-header{
    height: 100vh;
    min-height: 800px;
    width: 100%;
    text-align: center;
}
.sub-header h1{
    font-size: 40px;
    margin-top: 35px;
    padding-bottom: 50px;
    font-weight: var(--header-font-weight);
    color: var(--textcolor);
}
.input-field{
    background-color: var(--text-field-color);
    border: 1px solid var(--text-field-border);
}
.input-field:hover{
    background-color: var(--text-field-color-hover);
}
.input-field:focus{
    border: 1px solid var(--accent-color);
}
.login-box{
    width: 320px;
    padding: 20px 0;
    margin: auto;
}
.login-box input{
    display: column;
    width: 100%;
    padding: 16px 12px 3px;
    margin-bottom: 17px;
    outline: none;
    border-radius: var(--inputfield-curves);
    box-sizing: border-box;
}
.login-box label{
    color: var(--textcolor);
    font-size: 14px;
    position: absolute;
    left: 12px;
    transform-origin: 0 0;
    top: 10.5px;
    left: 12px;
    transition: transform 0.3s ease-in-out;
    pointer-events: none;
    cursor: text;
    user-select: none;
}
.login-box input:focus + label,.login-box input:not(:placeholder-shown) + label{
    color: var(--accent-color);
    transform: translateY(-11px) scale(0.9);
}
.login-box button{
    margin-top: 6px;
}
.login-box form{
    margin-bottom: 20px;
    position: relative;
}
.login-box a{
    text-decoration: none;
    color: var(--textcolor);
}
.login-box li{
    padding: 0 5px;
    display: inline-block;
}
.login-box li::after{
    content:'';
    width: 0%;
    height: 2px;
    background: var(--textcolor);
    display: block;
    margin: auto;
    transition: 0.1s;
}
.login-box li:hover::after{
    width: 100%
}


/*----------------Create Account----------------*/
/*
    This is the SITE's create account page.
*/
.create-account-box{
    width: 320px;
    padding: 20px 0;
    margin: auto;
}
.create-account-box input{
    width: 100%;
    padding: 16px 12px 3px;
    margin-bottom: 17px;
    outline: none;
    border-radius: var(--inputfield-curves);
    box-sizing: border-box;
}
.create-account-box label{
    color: var(--textcolor);
    font-size: 14px;
    position: absolute;
    transform-origin: 0 0;
    transition: transform 0.3s ease-in-out;
    pointer-events: none;
    cursor: text;
    user-select: none;
    top: 10.5px;
    left: 12px;
}
.create-account-box input:focus + label,.create-account-box input:not(:placeholder-shown) + label{
    color: var(--accent-color);
    transform: translateY(-11px) scale(0.9);
}
.names {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.name-input{
    width: 48%;
}
.relative-div{
    position: relative;
}
.create-account-box button{
    margin-top: 6px;
}
.hero-btn-grey{
    text-decoration: none;
    color: #bfbfbf;
    border: 1px solid #ededed;
    border-radius: var(--box-curves);
    padding: 12px 34px;
    font-size: 13px;
    font-weight: 600;
    background: #ededed;
    position: relative;
    cursor: default;
}
.creating{
    color: transparent;
    border: 1px solid transparent;
    border-radius: var(--box-curves);
    padding: 12px 34px;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    position: relative;
    transition: 0s;
}
.creating::after{
    content: '';
    background: url('../images/loading.png');
    background-size: contain;
    background-repeat: no-repeat;

    position: absolute;
    transform: translate(-50%,-50%);
    height: 40px;
    width: 40px;
    left: 50%;
    top: 50%;

    animation: spin-creating 0.8s linear infinite;
}
.box-options{
    color: var(--text-color);
    margin-top: 20px;
    text-align: center;
}
.box-options p, a{
    font-size: 14px;
}
.box-options span{
    display: inline-block;
}
.error{
    color: var(--error-color);
    font-weight: 300;
    font-size: 15px;
    padding-top: 10px;
}
.success{
    color: var(--success-color);
    font-weight: 300;
    font-size: 15px;
    padding-top: 10px;
}

/*--Real Time Data Validation--*/
.input-requirements li{
    list-style: none;
    font-size: 12px;
    text-align: left;
}
.invalidbox{
    border: 1px solid var(--error-color);
}
.invalid{
    color: var(--error-color);
}
.valid{
    color: var(--success-color);
}
.validation-box{
    position: absolute;
    display: none;
    padding: 6px 10px;
    border: 1px solid var(--text-field-border);
    background-color: #fff;
    color: #707070;
    border-radius: 6px;
    transform: translate(340px);
}
.validation-box::after{
    content:'';
}




/*----------------Password Reset----------------*/
/*
    This is the SITE's reset password page.
*/
.password-reset-box{
    width: 320px;
    padding: 20px 0;
    margin: auto;
    position: relative;
}
.password-reset-box input{
    display: column;
    width: 100%;
    padding: 16px 12px 3px;
    margin-bottom: 17px;
    outline: none;
    border-radius: var(--inputfield-curves);
    box-sizing: border-box;
}
.password-reset-box label{
    color: var(--textcolor);
    font-size: 14px;
    position: absolute;
    top: 10.5px;
    left: 12px;
    transform-origin: 0 0;
    transition: transform 0.3s ease-in-out;
    pointer-events: none;
    cursor: text;
    user-select: none;
}
.password-reset-box input:focus + label,.password-reset-box input:not(:placeholder-shown) + label{
    color: var(--accent-color);
    transform: translateY(-11px) scale(0.9);
}
.password-reset-box button{
    margin-top: 6px;
}
.password-reset-box form{
    margin-bottom: 20px;
}
/*---------Password Reset Email Prompt----------*/
/*
    This is the SITE's page to send an email so
    that you can reset your password
*/
.password-reset-email-box{
    width: 320px;
    padding: 20px 0;
    margin: auto;
    position: relative;
}
.password-reset-email-box input{
    display: column;
    width: 100%;
    padding: 16px 12px 3px;
    margin-bottom: 17px;
    outline: none;
    border-radius: var(--inputfield-curves);
    box-sizing: border-box;
}
.password-reset-email-box label{
    color: var(--textcolor);
    font-size: 14px;
    position: absolute;
    top: 10.5px;
    left: 12px;
    transform-origin: 0 0;
    transition: transform 0.3s ease-in-out;
    pointer-events: none;
    cursor: text;
    user-select: none;
}
.password-reset-email-box input:focus + label,.password-reset-email-box input:not(:placeholder-shown) + label{
    color: var(--accent-color);
    transform: translateY(-11px) scale(0.9);
}
.password-reset-email-box button{
    margin-top: 6px;
}
.password-reset-email-box form{
    margin-bottom: 20px;
}

/*----------------Profile Editor----------------*/
/*
    This is the SITE's profile editing page.
    This is where you can add or take away links,
    or edit the link order
*/
.mobile-nav-only {
    display: none;
}
.editor-editing{
    margin: 50px auto 0;
}
.greeting{
    position: absolute;
    left: 50%;
    top: 55px;
    width: 100%;
    transform: translate(-50%,-50%);
    margin: auto;
}
.greeting h2{
    font-size: 30px;
    font-weight: var(--header-font-weight);
    color: var(--accent-color);
}
.editor-nav{
    padding: 50px 6%;
}
.editor-nav-mobile{
    padding: 15px 6%;
}
.editor-col-left{
    flex-basis: 60%;
    margin: 10px 4vw;
    width: 92vw;
}
.editor-col-right{
    flex-basis: 40%;
    margin: 15px 0;
    width: 100%;
}
.editor-editing h2{
    font-size: 30px;
    font-weight: 200;
    margin: 0 0 30px;
}

/*----------------link field----------------*/
/*
    This is not a page's general styling.  This
    is all the styling for the link-field div.
    It will be replaced with a format that will
    allow for less buttons on the screen.
*/
.link-field{
    width: 95%;
    margin: 10px auto 20px;
}
.link-field-label{
    font-size: 16px;
}
.link-name input{
    border: 1px solid var(--text-field-color);
    border-radius: 20px;
    background: none;
    font-size: 20px;
    padding: 4px;
    margin-bottom: 10px;
    min-width: 65%;
}

/*
    These are to center the placeholder text in the link name
    for various browsers
*/
/*        Chrome, Firefox, Opera         */
.link-name input[type="text"]::placeholder {
    text-align: center;
}
/*         Internet Explorer, Edge        */
.link-name input[type="text"]:-ms-input-placeholder {
    text-align: center;
}

.link-name input[type="text"]{
    text-align: center;
}

.col-f.lf{
    padding-right: 1vw;
    background-color: #f6f6f6;
    border-radius: calc(var(--box-curves)*2);
}
.icon-col{
    flex-basis: 5%;
    margin: auto;
}
.icon-col img{
    position: relative;
    height: 4vw;
    right: 50%;
}
.link-col{
    flex-basis: 60%;
    margin: 1vw 0;
}
.link-input input{
    display: column;
    width: 98%;
    padding: 7px;
    margin: 5px 0;
    outline: none;
    border: none;
    border-radius: var(--inputfield-curves);
    box-sizing: border-box;
}
.link-up-down{
    padding-top: 10px;
    margin: auto;
    width: 100%;
}
.link-up-down span{
    display: inline-block;
    width: 12vw;
    user-select: none;
}
.link-up-down div{
    display: block;
}
.link-up-down p, i{
    display: inline-block;
}
.movelink-down, .movelink-up{
    margin: auto;
    padding: 0;
}
.linktype-label{
    margin: 5px 0;
}
.linktype-col{
    flex-basis: 30%;
    margin: 1vw 0;
}
/*--------------Dropdown Menu Desktop Styling-----------*/
.dropdown{
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 14px;
    text-align: left;
    user-select: none; /* prevent text highlighting */
}
.dropdown .linktype-option, .dropdown-selected{
    padding: 4px 8px;
    cursor: pointer;
    color: #2b2b2b;
}
.dropdown .dropdown-options-container{
    max-height: 0;
    width: 15.6%;
    opacity: 1;
    transition: all 0.2s;
    overflow: hidden;
    background: var(--text-field-color);
    border-radius: var(--inputfield-curves);
    position: absolute;
    transform: translate(0,45px);
    z-index: 1;

    order: 1;
}

.dropdown .dropdown-options-container.active{
    max-height: 250px;
    opacity: 1;
    overflow-y: scroll;
}
.dropdown .dropdown-options-container::-webkit-scrollbar{
    width: 9px;
    background: #d6d6d6;
    border-radius: var(--inputfield-curves);
}
.dropdown .dropdown-options-container::-webkit-scrollbar-thumb{
    background: #a1a1a1;
    border-radius: var(--inputfield-curves);
}
.dropdown .linktype-option:hover{
    background: #e8e8e8;
}
.dropdown .linktype-option .radio{
    display: none;
}
.dropdown .dropdown-selected{
    position: relative;
    padding: 7px 8px;
    margin: 5px 0;
    background: var(--text-field-color);
    border-radius: var(--inputfield-curves);

    order: 0;
}
.dropdown-selected::after{
    content: "";
    background: url("../images/arrow-down-circle-g1.png");
    background-size: contain;
    background-repeat: no-repeat;

    position: absolute;
    height: 16px;
    width: 16px;
    right: 8px;
    top: 9.5px;

    transition: all 0.2s;
}
.dropdown .dropdown-options-container.active + .dropdown-selected::after{
    transform: rotate(0.5turn);
}
.dropdown label{
    cursor: pointer;
}
/*----------------------------------------------------------*/


.add-sub{
    padding-top: 10px;
    margin: auto;
    width: 100%;
}
.add-sub i{
    display: none;
}
.add-sub span{
    display: inline-block;
    width: 6vw;
    user-select: none;
}
.add-sub div{
    display: block;
}
.add, .sub{
    margin: auto;
    padding: 0;

}

.link-field-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border-radius: var(--inputfield-curves);
    padding: 5px 0;
    font-size: 13px;
    font-weight: 600;
    background: var(--link-field-btn-color);
    position: relative;
    cursor: pointer;
    transition: 0.08s;
}
.link-field-btn:hover{
    color: #c9c9c9;
    background: var(--link-field-btn-tint);
}

/*----------------Profile Editor----------------*/
/*
    This is styling the page from the perspective
    of someone viewing a profile on the SITE. (not
    the html app).
*/
.profile{
    height: 100vh;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.profile-main{
    width: 95%;
    margin: 0 auto;
    padding-top: 100px;
}
.top-logo img{
    height: 30px;
    margin: 50px auto 0px;
    transform: translate(-50%,-50%);
    position: absolute;
}
.profile h4{
    padding: 10px 0;
    font-size: 30px;
    font-weight: 200;
}
.profile-picture img{
    height: 30vw;
}
.add-contact img{
    height: 50px;
    position: absolute;
    transform: translate(-50%,-50%) translate(30vw,-15vw);
}
.link-btn-table p{
    text-align: left;
    margin: auto 0 auto 10px;
}
.link-btn-table a{
    text-decoration: none;
    color: black;
    font-size: 20px;
    font-weight: 300;
    padding: 0 10vw;
    display: flex;
}
.link-btn-table img{
    height: 50px;
    padding: 1vw 0;
}
.profile-extra{
    height: 10vh;
    width: 400px;
    margin: 0 auto;
    padding-top: 5vh;
    text-align: center;
}
.extra-btn{
    border: 2px solid var(--accent-color);
    width: 130px;
    padding: 10px;
}
.profile-extra a{
    text-decoration: none;
    font-size: 15px;
    color: var(--accent-color);
    flex-basis: 50%;
}


/*------------SITE'S MOBILE COMPATIBILITY------------*/
/*
    This is mobile compatibility for the SITE. (not the
    HTML App)
*/
@media(max-width: 650px){

    .bannerbox{
        background-position: 25% bottom, 75% bottom;
    }
    .header{
        height: 87vh;
        min-height: 10px;
    }
    .text-box{
        top: 50vh;
    }
    .text-box h1{
        font-size: 32px;
        padding-bottom: 10px;
    }
    .text-box p{
        font-size: 24px;
    }
    .nav-links ul li a{
        color: var(--nav-links-color);
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #fff;
        height: 100vh;
        width: var(--navmenu-size);
        top: 0;
        right: calc(var(--navmenu-size)*-1);
        text-align: left;
        z-index: 3;
        transition: 0.5s;
    }
    .fa.fa-bars{
        display: block;
        position: absolute;
        color: #2e2e2e;
        left: 90%;
        top: 55px;
        transform: translate(-50%,-50%);
        font-size: 22px;
        cursor: pointer;
    }
    nav .fa.fa-times{
        display: block;
        color: #2e2e2e;
        margin: 15px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 20px;
    }

    /*----------------logos----------------*/
    /*
        This will get replaced with the logos
        image evantually, and thus will not be
        necissary to style the h6 amiri font.
    */
    .the-me-card ul li h1{
        font-weight: 400;
        font-size: 38px;
    }
    .the-me-card ul li h6{
        font-family: 'Amiri';
        padding: 0 6px;
        font-size: 73px;
    }

    /*--------flex direction compatibility--------*/
    /*
        This makes divs with the "row" class switch
        to a vertical flex direction
    */
    .row{
        flex-direction: column;
    }

    /*----------------login----------------*/
    .sub-header{
        height: 100vh;
        min-height: 800px;
    }
    .login-box{
        max-width: 320px;
        width: 80%;
    }
    .create-account-box{
        max-width: 320px;
        width: 80%;
    }

    /*----------------profile editor----------------*/
    .mobile-nav-only {
        display: block;
    }
    .bannerbox-notinmobile {
        display: none;
    }
    .greeting{
        top: 50px;
    }
    .editor-editing{
        margin: 5px auto 0;
    }
    .icon-col{
        flex-basis: 0%;
    }
    .icon-col img{
        height: 10vw;
        position: absolute;
        transform: translate(-50%,-50%) translate(-28vw,-90px);
    }
    .dropbtn{
        margin: 0 0;
        width: 27vw;
    }
    .dropdown .dropdown-options-container{
        width: 28%;
    }
    .editor-col-right h2{
        font-size: 25px;
    }
    .editor-col-right{
        margin-top: 50px;
    }
    .editor-col-left{
        flex-basis: 60%;
        margin: 10px 0.5vw;
        width: 99vw;
    }

    /*----------------profile view----------------*/
    /*
        This is the SITE's profile view. This would
        be seen if someone was viewing someone's
        profile on a browsers.
    */

    .link-btn{
        width: 70vw;
        padding: 4vw;
        margin: 2vw auto;
    }
    .add-contact img{
        height: 35px;
    }
    .link-btn-table img{
        height: 35px;
        padding: 1vw 0;
    }
    .profile-extra{
        width: 90vw;
    }
    .profile-extra a{
        font-size: 12px;
    }
    .extra-btn-left, .extra-btn-right{
        width: 90%;
    }
    .extra-btn{
        width: 90%;
        padding: 10px 0;
        margin: auto;
    }


    /*----------------Mobile Animation----------------*/
    /*
        This used to be useful for something
    */
}

/*----------------Scale Compatibility----------------*/
/*
    Changes that need to be made at different screen
    widths other than 650px;
*/
@media(max-width: 840px){
    .validation-box{
        fill: #fff;
        transform: translate(0, 45px);
        z-index: 1;
    }
}

/*----------------Scale Compatibility----------------*/
/*
    Changes that need to be made at different screen
    widths other than 650px;
*/
@media(max-width: 1300px){
    .add-sub i{
        display: inline-block;
    }
    .add-sub p{
        display: none;
    }
@media(max-width: 840px){
    .link-up-down p{
        display: none;
    }
}

























/**/
