/*  Lizzy Lourenco
    Personal Portfolio Version 2.2.0
    April 29, 2024
    CSS */

/* sets up formatting info for the "main body" of the website */
html,body{ 
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    /*font-family: 'Outfit', sans-serif;*/
    font-weight: 300;
    background-color: rgb(22, 21, 21);
    color: white;
}
/* selects ALL elements on html file to format accordingly */
* { 
    box-sizing: border-box;
} 
/* sets up standards for bolded text */
b {
    font-weight: 700;
    padding: 0px 40px;
    word-wrap: normal;
    display: inline-block;
}
img {
    max-width: 100%;
    max-height: 100%;
}
/*PAGINATION*/
.pag-nav {
    background-color:rgb(22, 21, 21);
    margin-right: 25px;
}
.page-item .page-link {
    background-color: rgb(3, 3, 3);
}
.page-item .page-link:hover {
    background-color: rgb(206, 204, 204);
    transition: 0.3s;
}
.page-item .page-link:hover span {
    color: rgb(3, 3, 3);
    transition: 0.3s;
}
/*LOADER*/
.preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 60px;
    margin: -30px 0 0 -40px;
    /*transition: opacity 1s linear;*/
}
.lds-circle {
    /*display: inline-block;*/
    transform: translateZ(1px);
  }
  .lds-circle > div {
    /*display: inline-block;*/
    width: 64px;
    height: 64px;
    margin: 8px;
    /*margin-left: auto;
    margin-right: auto;
    justify-content: center;*/
    border-radius: 50%;
    background: #fff;
    animation: lds-circle 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  }
  @keyframes lds-circle {
    0%, 100% {
        animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
    }
    0% {
        opacity: 0;
        transform: rotateY(0deg);
    }
    50% {
        opacity: 1;
        transform: rotateY(1800deg);
        animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);
    }
    100% {
        opacity: 0;
        transform: rotateY(3600deg);
    }
  }
  .loading-text {
    position: absolute;
    text-align: center;
    width: 100%;
    color: #fff;
    font-size: 13px;
    letter-spacing: 3px;
    line-height: 10px;
    height: 10px;
    animation: loadTextAnimation ease 1.5s infinite;
  }
  @keyframes loadTextAnimation {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
/* doesn't display info to user until it's fully loaded */
/*#division-body, #about-container, #contact-body, .related-products
    { display:none; }
body.loaded #division-body, #about-container, #contact-body, .related-products
    { display:block; }
    */

/* removes mobile selection border */
.noSelect {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.noSelect:focus {
    outline: none !important;
}
/* sets up image layout for website logo in navigation bar */
.navbar img {
    width: 32px;
    margin-right: 10px;
}
/* sets up layout for images on WORK page*/
.work-item img {
    display: block;
    width: 100%;
    size: 300px;
}
/* -- RELATED PRODUCTS -- */
.related-products {
    margin-top: 40px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;

    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-delay: .75s;
}
    @keyframes fadeInAnimation {
    0% {
    opacity: 0;
    }
    100% {
    opacity: 1;
    }
}
.related-products h2 {
    text-align: center;
    padding: 4%;
    margin-bottom: 0px;
}
.related-products .row {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
.related-products .row .work-item {
    width: 15%;
    margin: 5px;
}
.work-item {
    position: relative;
}
.work-item .overlay {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    /*padding-top: 14%;*/
    background-color: rgba(0,0,0,0.7);
    color: white;

    visibility: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.work-item h2 {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.work-item:hover .overlay{
    visibility: visible;
    opacity: 1;
}
/* -- DIVISION PAGE -- */
.division-body {
    opacity: 0;
    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-delay: .5s;
}
    @keyframes fadeInAnimation {
    0% {
    opacity: 0;
    }
    100% {
    opacity: 1;
    }
}
.selection-item img {
    display: block;
    width: 100%;
}
.user-selection {
    margin-top: 20px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.user-selection h2 {
    text-align: center;
    padding: 4%;
    margin-bottom: 0px;
}
.user-selection .row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
}
.user-selection .row .selection-item {
    width: 15%;
    margin: 5px;
}
.selection-item {
    position: relative;
}
.selection-item h2 {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.selection-item .overlay {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    background-color: rgba(0,0,0,0.7);
    color: white;

    visibility: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.selection-item:hover .overlay{
    visibility: visible;
    opacity: 1;
}
/* -- HOME PAGE --*/
#home-header {
    background: url("images/misc/techtable.jpg") no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin-top: auto;
    margin-bottom: auto;
    /*position: absolute;
    top: 50%;
    left: 50%;*/
    width: 100%;
    padding-top: auto;
    padding-bottom: auto;
    place-content: center;
}
#home-title {
    opacity: 0;
    margin-top: 70px;
    padding-left: 9%;
    padding-right: 9%;
    /*default state*/

    animation: homeFadeInAnimation ease 2s;
            animation-iteration-count: 1;
            animation-fill-mode: forwards;
            animation-delay: .25s;

}
@keyframes homeFadeInAnimation {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
#home-icon {
    width: 75%;
    margin-top: 175px;
    margin-bottom: 45px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;

    opacity: 0;

    animation: iconFadeInAnimation ease 2s;
            animation-iteration-count: 1;
            animation-fill-mode: forwards;
            animation-delay: .25s;

}
@keyframes iconFadeInAnimation {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#home-header h1 {
    color: white;
    text-align: center;
    font-size: 300%;  
    /*justify-content: center;
    align-items: center;*/
}
#home-nav {
    font-size: 150%;
    font-weight: 100;
    padding-left: 25%;
    padding-right: 25%;
    text-align: center;

    opacity: 0;

    animation: navFadeInAnimation ease 2s;
            animation-iteration-count: 1;
            animation-fill-mode: forwards;
            animation-delay: 1.75s;

}
@keyframes navFadeInAnimation {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.link {
    padding: 0px 40px;
    word-wrap: normal;
    display: inline-block;
    color: white;
    text-decoration: underline;
}
.description .link {
    padding: 0px 0px;
}
.link:hover {
    color: rgb(206, 204, 204);
}
/* --ABOUT PAGE-- */
#about-img, #contact-img {
    width: 100%;
}
#about-container .row .item {
    float: left;
    width: 98%;
    padding: 3%;
    padding-top: 0.5%;
    padding-bottom: 0.5%;
    margin: 1%;
    margin-bottom: 0.5%
}
/* sets info for the descriptions in the rows within 'new product' */
#about-container .row .description {
    float: left;
    width: 98%;
    padding-top: 5%;
    margin: 0.5%;
}
#about-container {
    opacity: 0;
    width: 90%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5%;

    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-delay: .5s;
}
    @keyframes fadeInAnimation {
    0% {
    opacity: 0;
    }
    100% {
    opacity: 1;
    }
}
#about-mobile-header {
    text-align: center;
    padding-bottom: 5%;
}
/* -- CONTACT PAGE --*/
#contact-container, #contact-form {
    opacity: 0;
    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-delay: .5s;
}
    @keyframes fadeInAnimation {
    0% {
    opacity: 0;
    }
    100% {
    opacity: 1;
    }
}
#contact-container .row .item {
    float: left;
    width: 98%;
    padding: 3%;
    padding-top: 0.5%;
    padding-bottom: 0.5%;
    margin: 1%;
    margin-bottom: 0.5%
}
/* sets info for the descriptions in the rows within 'new product' */
#contact-container .row .description {
    float: left;
    width: 98%;
    padding-top: 5%;
    margin: 0.5%;
    text-align: center;
    margin-bottom: 4%;
    font-size: 20px;
    padding-bottom: 10px;
}
#contact-container .row .description h2 {
    font-size: 80px;
    margin-bottom: 10px;
}
#contact-container {
    width: 90%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5%;
    vertical-align: middle;
}
#contact-img {
    margin-bottom: 50px;
}
/*-- RESUME PAGE--*/
#resume-container {
    opacity: 0;
    width: 90%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5%;

    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
    @keyframes fadeInAnimation {
    0% {
    opacity: 0;
    }
    100% {
    opacity: 1;
    }
}
.description {
    padding: 20px;
    padding-bottom: 50px;
}
/* sets nav background color to black */
nav {
    background-color: black;
}
.dropdown-menu {
    border: 0px;
    padding: 0px;
}
/* sets up formatting for dropdown items */
.dropdown-item, .dropdown-menu {
    background-color: rgb(32, 32, 31);
    color: white;
}
.show > .dropdown-menu {
    max-height: 800px;
    visibility: visible;
} 
.dropdown-menu {
    display: block;
    max-height: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
  }
/* sets up formatting for header class */
.header {
    text-align: center;
    width: 100%;
    padding: 50px;
    position: relative;
    display: flex;
    align-items: center;
}
/* sets up formatting info for webpage footer */
#footer {
    background-color: rgb(3, 3, 3);
    text-align: center;
    color: white;
    position: fixed;
    width: 100%;
    bottom: 0;
    padding: 10px;
    font-size: 10px;
    
}
/* sets up formatting info for rows' flexboxes */
.row-flexbox {
    display: flex;
    justify-content: center;
    align-content: center;
}
/* efficienty clearing the previously created floats to present the information in rows in an aesthetically pleasing manner */
.row:after {
    content: "";
    display: table;
    clear: both;
}
/* related products info */
.related-products {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}
    /* sets info for the items in the rows within 'new product' */
.related-products .row .work-item {
    background-color: #0a0a0a;
    border: 1px solid black;
    float: left;
    box-sizing: border-box;
    width: 44.5%;
    justify-content: center;
}
.related-products .row {
    margin-bottom: 10%;
}
/* user selection info */
.user-selection {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}
    /* sets info for the items in the rows within 'new product' */
.user-selection .row .selection-item {
    background-color: #0a0a0a;
    border: 1px solid black;
    float: left;
    box-sizing: border-box;
    width: 44.5%;
    justify-content: center;
}
.user-selection .row {
    margin-bottom: 30px;
}
/* sets up formatting for "back to work" links and placement */
#back-to-work {
    margin-bottom: 60px;
    margin-left: 25px;
}
#back-to-work a{
    color:white;
    font-style: none;
}
/* resume info */
.resume-info {
    padding-bottom: 30px;
}
.resume-info ul{
    list-style-type: disc;
    padding-left: 70px;
}
#skills {
    padding-bottom: 50px;
}
/* contact form info */
#contact-form {
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 20px;
    margin-bottom: 100px;
}
#contact-form-title {
    margin-top: 75px;
    text-align: center;
}
/* press page */
#press-container {
    opacity: 0;
    margin-top: 10px;
    margin-bottom: 40px;
    margin-left: 4%;
    margin-right: 4%;
    width: 92%;
    justify-content: center;
    text-align: center;

    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-delay: .5s;
}
    @keyframes fadeInAnimation {
    0% {
    opacity: 0;
    }
    100% {
    opacity: 1;
    }
}
/* details page */
#details-container {
    opacity: 0;
    margin-top: 20px;
    width: 100%;
    text-align: center;

    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-delay: .5s;
}
    @keyframes fadeInAnimation {
    0% {
    opacity: 0;
    }
    100% {
    opacity: 1;
    }
}
#details-container .row {
    padding-left: 25px;
    width: 100%;
}
#details-container .row .item img {
    width: 100%;
}
#details-container .row .item{
    width: 87.5%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    margin-bottom: 3%;
}
#details-container .row {
    margin-bottom: 20px;
}
#details-container .description {
    padding-bottom: 30px;
}
#details-container .description p {
    font-size: 12px;
    margin-bottom: 2px;
}
.text-success{
    margin-top: 50px;
    margin-bottom: 125px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.text-danger {
    margin-top: 25px;
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
#project-name h2{
    font-size: 3em;
    max-width: 100%;
}
#press-title {
    font-size: 4em;
    padding-top: 30px;
    padding-bottom: 30px;
}
/* -- MEDIA TAGS -- */
/* media breakpoint for desired formatting of home page */
@media(min-width: 466px) {
    #home-header h1 {
        margin-top: 75px;
        font-size: 60px;
        padding-left: 10%;
        padding-right: 10%;
    }
}
/* media breakpoint for desired formatting of home and project pages */
@media(min-width: 588px) {
    #home-header h1 {
        margin-top: 90px;
    }
    #home-nav {
        font-size: 24px;
        padding-left: 20%;
        padding-right: 20%;
    }
    #project-name h2{
        font-size: 3.75em;
        max-width: 100%;
    }
}
/* required breakpoint  for tablet */
@media(min-width: 768px) {
    #about-container {
        width: 88%;
        padding-top: 80px;
    }
    #about-img {
        width: 100%;
    }
    #about-mobile-header {
        visibility: hidden;
        display: none;
    }
    #about-container .row .item { 
        width: 45%;
    }
    #about-container .row .description {
        width: 48%;
        font-size: 92%;
        padding-top: 0%;
    }
    #contact-container {
       padding-top: 85px;
       display: flex;
       align-items: center;
    }
    #contact-container .row .item { 
        width: 39%;
    }
    #contact-container .row .description {
        width: 48%;
        font-size: 20px;
        padding-top: 10%;
        padding-left: 6%;
        text-align: left;
    }
    #contact-container .row .description h2 {
        font-size: 60px;
        margin-bottom: 30px;
    }
    #contact-form-title, #review-title {
        margin-top: 100px;
    }
    #contact-form {
        margin-bottom: 125px;
    }
    #contact-img {
        width: 120%;
    }
    .related-products {
        margin-top: 75px;
        margin-bottom: 75px;
    }
    .related-products h2 {
        padding-bottom: 25px;
    }
    #art-title {
        font-size: 3em;
    }
    .related-products .row {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        width: 92.75%;
    }
    .related-products .row .work-item {
        /*width: 215px;*/
        width: 30%;
        /*margin: 5px;*/
    }
    .related-products .row {
        margin-bottom: 30px;
    }
    #resume-container {
        padding-top: 30px;
    }
    .work-item {
        width: 30%;
    }
    .user-selection .overlay h2 {
        font-size: 20px;
        padding: 10px;
    }
}
/* media breakpoint for proper formatting of home page and table container */
@media(min-width: 779px){
    #home-header {
        padding-top: auto;
        padding-bottom: auto;
        /*margin-bottom: 75px;*/
    }
    #home-header h1{
        margin-top: 95px;
        font-size: 70px;
        padding-left: 5%;
        padding-right: 5%;
    }
    #home-icon {
        width: 60% ;
        margin-top: 125px;
        margin-bottom: 40px;
        text-align: center;
        padding-left: 0px;
        padding-right: 0px;
    }
    #home-nav {
        font-size: 25px;
        padding-left: 25%;
        padding-right: 25%;
    }
    #table-container {
        padding-left: 50px;
        padding-right: 50px;
        width: 100%;
    }
    .work-item img {
        display: block;
        width: 100%;
        size: 400px;
    }
}
/* media breakpoint for proper formatting of home and work pages */
@media(min-width: 909px) {
    #home-header h1{
        margin-top: 90px;
        font-size: 80px;
        padding-left: 10%;
        padding-right: 10%;
    }
    #home-nav {
        font-size: 30px;
        padding-left: 9%;
        padding-right: 9%;
    }
    .related-products .row {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
    .user-selection .overlay h2 {
        font-size: 25px;
        padding: 10px;
    }
}
/* media breakpoint for proper formatting of about and work pages */
@media(min-width: 982px) {
    #about-container {
        width: 880px;
        padding-top: 80px;
    }
    #about-container .row .description {
        padding-top: 16px;
    }
    .related-products {
        margin-top: 70px;
        margin-bottom: 70px;
    }
    .related-products .row {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        width: 100%;
        /*width: 1000px;*/
    }
    /*.user-selection h2 {
        font-size: 25px;
        padding: 10px;
    }*/
    .related-products h2 {
        padding: 25px;
    }
    .work-item:hover .overlay {
        text-align: center;
    }
    .related-products .row .work-item {
        /*width: 280px;*/
        width: 30%;
    }
}
/* required breakpoint for desktop */
@media(min-width: 992px) {
    #contact-container {
        width: 880px;
    }
    #contact-img {
        width: 120%;
    }
    #contact-form {
        margin-left: 15%;
        margin-right: 15%;
    }
    #skills {
        padding-bottom: 70px;
    }

}
/* media breakpoint for proper formatting of work page */
@media(min-width: 1042px) {  
    .related-products {
        margin-top: 70px;
        margin-bottom: 70px;
    }
    .related-products .row {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        /*width: 1000px;*/
        width: 100%;
    }
    .work-item {
        width: 25%;
    }
    .related-products h2 {
        padding: 25px;
    }
    .related-products .row .work-item {
        /*width: 280px;*/
        width: 25%;
    }
    .work-item img {
        display: block;
        width: 100%;
        size: 600px;
    }
}
/* media breakpoint for proper formatting of home page */
@media(min-width: 1039px) {
    #home-header h1{
        margin-top: 125px;
        font-size: 80px;
        padding-left: 5%;
        padding-right: 5%;
        text-align: center;
    }
    #home-nav {
        font-size: 35px;
        padding-left: 10%;
        padding-right: 10%;
    }
}
/* media breakpoints for proper formatting of home page */
@media(min-width: 1039px) {
    #home-header h1{
        margin-top: 100px;
        font-size: 90px;
        padding-left: 5%;
        padding-right: 5%;
        text-align: center;
    }
    #home-nav {
        font-size: 30px;
        padding-left: 8%;
        padding-right: 8%;
    }
}
@media(min-width: 1200px) {
    #home-icon {
        margin-top: 75px;
    }
}