* {
    /* add cursor url */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font);
    transition: background-color .8s ease;
}
body{
    overflow-y: hidden;
    background: var(--background);
}

/* dark */
.theme1{
    --text: #28f196;
    --background: rgba(17, 17, 17, 1);
    --cruftLG: #28f196;
    --cruftDG: #124948;
    --clr1: #F12883;
    --clr2: #3228f1;
    --font: 'Fira Code', monospace;
    --font-size: 1.2rem;
}
/* light */
.theme2{
    --text: #124948;
    --background: rgb(199, 192, 192);
    --cruftLG: #124948;
    --cruftDG: #28f196;
    --clr1: #3228f1;
    --clr2: #F12883;
    --font: 'Fira Code', monospace;
    --font-size: 1.2rem;
    --hue: rgb(182, 3, 182); 
}
/* alt */
.theme3{
    --text: white;
    --background: #124948;
    --cruftLG: #28f196;
    --cruftDG: #124948;
    --clr1: white;
    --clr2: #28f196;
    --font: 'Fira Code', monospace;
    --font-size: 1.2rem;
    --hue: rgb(156, 156, 156);
}
.theme4{
    --text: black;
    --background: #28f196;
    --cruftLG: #124948;
    --cruftDG: #124948;
    --clr1: black;
    --clr2: #124948;
    --font: 'Fira Code', monospace;
    --font-size: 1.2rem;
    --hue: rgb(156, 156, 156);
}
.theme5{
    --text: rgb(0, 0, 0);
    --background: rgb(0, 0, 0);
    --cruftLG: rgb(0, 0, 0);
    --cruftDG: rgb(0, 0, 0);
    --clr1: rgb(0, 0, 0);
    --clr2: rgb(0, 0, 0);
    --hue: rgb(0, 0, 0);
}

/* sepia */
.filter2{
    filter: sepia(1);    
}
/* invert */
.filter3{
    filter: hue-rotate(180deg);
}
/* scrollbar */
*::-webkit-scrollbar {
    width: 8px;
  }
* {
    scrollbar-width: thin;
    scrollbar-color: var(--cruftLG) var(--cruftLG);
  }
*::-webkit-scrollbar-track {
    background: var(--cruftDG);
  }
*::-webkit-scrollbar-thumb {
    background-color: var(--cruftLG) ;
    border: 2px solid var(--cruftLG);
  }

/* loading page */

.loader{
    content: "";
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: loadingAni 1s;
    z-index: 1000;
}
.loader::after{
    content: "";
    color: #28f196;
    position: absolute;
    top: 50%;
    left: 50%; 
    transform: translate(-50%, -50%);
    font-size: 2rem;   
}
.loaderActive{
    display: flex;
}
@keyframes loadingAni{
    0%{background-color: rgb(43, 43, 43)}
    100%{background-color: var(--background);}
}

/* delete screen */
.deleteScreen{
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: black;
    z-index: 100;
    color:white;
    display: none;
}
.reloadBtn{
    display: none;
    border: 1px solid #28f196;
    color: #28f196;
    background-color: inherit;
    font-size: 1.2rem;
    padding: 10px;
    margin: 20px 0 0 20px;
}
.reloadBtn:hover{
    background-color: red;
    color: black;
}

/* main */
.darkModeMessage{
    position: fixed;
    top: 20px;
    left: 10px;
    color:#28f196;
    display: none;
    font-size: .6rem;
    animation: fadeIn 5s ease-in-out;
}
@keyframes fadeIn{
    0% {opacity: 0;} 
    100% {opacity: 1;} 
}
a{
    text-decoration: none;
    color: var(--clr1);
}
.transition{
    transition: 1s ease-in-out;
}
.hoverText:hover{
    color: #F12883;
}
.settings-container{
    display: none;
    gap: 10px;
    justify-content: center;
    justify-items: center;
    z-index: 10;
}
.setting-btn{
    text-align: center;
    width: 40vw;
    border: none;
    font-size: var(--font-size);
    font-weight: 600;
    padding: 2%;
    margin: 10px 0 5px 0;
    cursor: pointer;
    animation: btnOn 1s ease-in-out;
}
.s1-btn{
    background-color: rgb(17, 17, 17);
    color: #28f196;
}
.s2-btn{
    background-color: rgb(199, 192, 192);
    color: #124948;
}
.s3-btn{
    background-color: #124948;
    color: #28f196;
}
.s4-btn{
    background-color: #28f196;
    color: black;
}

@keyframes btnOn{  
    0%{ opacity: 0; letter-spacing: 10px; color: var(--cruftLG); filter:blur(10px)}
    50%{color: var(--cruftLG);}
    100%{}
}
.setting-btn.active {
    border: 2px solid #28f196;
    color: black;
    background-color: #F12883;
    padding: 5px;
    font-size: 1rem;
}

/* theme button */
.themeBtn{
    background-color: transparent;
    border: none;    
    z-index: 1; 
    font-size: 2rem;
    color: var(--text);
    animation: btnOn 1s ease-in-out;
} 
.themeBtn:focus{
    color: var(--clr1);
}
/* .themeBtn:hover{
    cursor: pointer;
} */
button:hover{
    cursor: pointer;
}
.cruftText{
    color: var(--text);
    font-family: var(--font);
    font-size: var(--font-size);
    letter-spacing: 3px;
    font-weight: 500;
    text-transform: uppercase;
    animation: btnOn 1s ease-in-out;
}

/* main */
.main-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    background-color: var(--background);
    overflow: hidden;
}

.logo{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10vh;
    height: 30vh;
    z-index: 1;
}
.thanks{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20vh;
    width: 100vw;
    text-align: center;
    color: var(--clr1);
}
.back{
    margin-top: 10vh;
    text-decoration: none;
    color: var(--text);
    border: none;
}
.cruftLogo{
    max-width: 40vw;
    min-width: 200px;
    animation: logoAnimation 3.5s infinite ease-in-out;
    animation-direction: alternate-reverse;
}

@keyframes logoAnimation{
    0%{border: 1px solid var(--clr2); filter: drop-shadow(-6px 6px 0 var(--clr1)) hue-rotate(180deg) drop-shadow(-5px 5px 0 var(--clr2));}
    100%{}; 
}
.about-btn{
    background: transparent;
    border: none;
    cursor: pointer;
    
}
.about-container{
    display: flex;
    text-align: center;
    justify-content: center;
    padding: 30px;
}
.contact-container{
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    /* height: 10vh; */
    padding: 0 0 30 0;
} 
.contact-btn{
    background: transparent;
    border: none;
    letter-spacing: 4px;
    cursor: pointer;
}

/*  */
  .logos {
    display: none;
    overflow: hidden;
    width: 80vw;
    max-width: 600px;
    margin: 30px 0 0 0;
    border: solid 2px var(--cruftLG);
    background-color: #c6f0dc;
    white-space: nowrap;
    position: relative;
    visibility: hidden;
    box-shadow: var(--logo-shadow) -5px 5px, var(--logo-shadow) -10px 10px, var(--logo-shadow) -15px 15px, 
  }
   
  .logos:before,
  .logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
} 
/* .logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), rgb(0, 0, 0));
}

.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgb(0, 0, 0));
}  */

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: 30s slide infinite linear;
    /* animation: 20s slide infinite alternate-reverse; */
}
@keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
.logos-slide img {
    height: 60px;
    margin: 10px 20px;
}
.logos-slide img:nth-child(5n) {
    height: 40px;
}
.brandsText{
    padding: 30px 0 0 0;
}


/* form modal */
form,.aboutModal,.work{
    display: none;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    gap: 10px;
    align-items: center;
    height: 100vh;
    width: 100vw;
    overflow: auto;
    color: var(--text);
    background-color:var(--background);
    z-index: 1000;
    /* animation: form 1s ease-in-out; */
    animation: form .6s ease-out;
}

@keyframes form{  
    0%{top: 120%; opacity: 0;}
    0%{opacity: 0;}
}
/* need to fix elements off top of screen */
.work{
    background-color: rgb(199, 192, 192);
    color: #124948;
    overflow-x: hidden;    
}

.work > button{
    margin-bottom: 50px;
}
.work > p{
    width: 350px;
}
.website-img{
    height: 100px;
    max-width: 150px;
    margin: 20px 0 0 0;
}
.brand-1{
    height: 60px;
    margin: 20px 0 0 0;
    background-color: rgb(217, 192, 215);
    padding: 10px;
    border-radius: 10px;
}
h4{
    color: #F12883;
    --font: 'Fira Code', monospace;
}
input, textarea{
    height: 2.5rem;
    color: var(--clr1);
    background: var(--background);
    font-size: 1rem;
    font-family: 'Fira Code', monospace;
    box-shadow:var(--cruftLG) 0 1px 0 0;
}

input::placeholder{
    color: var(--text);
}
textarea::placeholder{
    color: var(--text);
}
.submitBtn{
    background: transparent;
    border: none;
    color: #F12883;
    padding: 30px 0 0 0;
    font-size: 1.6rem;
}
textarea{
    height: 5rem;
}
.close{
    font-size: 60px;
    color: #F12883;
    background: transparent;
    border: none;
}
p{
    margin: 5px 40px 0 40px;
    text-align: center;
}
.aboutModal{
    --font: 'Fira Code', monospace;
    gap: 3vh;
}
.aboutModal :first-child{
    color: var(--cruftLG);
    margin-top: 250px;
}
.aboutModal :nth-child(2){
    color: var(--clr1);
}
.aboutModal :nth-child(3){
    color: var(--clr1);
}
.aboutModal :nth-child(4){
    color: var(--cruftLG);
}
.aboutModal :nth-child(5){
    color:#F12883;
    margin-bottom: 100px;
}

/* [data] keep below */
.showMenu{
    display: grid;
}
.showWork{
    display: grid;
    align-items: start;
}
.flex{
    display: flex;
}
.moveBtn{
    position: absolute;
}
.themeBtnMove{
    transition: 1s ease-in-out;
}
.blur{
    filter: blur(7px);
}
.none{
    display: none;
}
/* long phones */
@media (350px >= width){
   .aboutModal{
    font-size: .8rem;
   } 
}
/*desktop*/
@media (769px <= width <= 1798px){
    .work-container{
        grid-auto-flow: column;
        height: 50vh;
        overflow-x: auto;
        gap: 5%;
    }
    @keyframes show{  
        0%{height: 0vh;}
        100%{height: 50vh;}
    }
    .settings-container{
        top: 7%;
    }
    .card-image{
        min-height: 150px;
    }
    .setting-btn{
        width: 20vw;
        border: none;
        font-weight: 600;
        margin: 10px 0 10px 0;
    }
    .cruftLogo{
        max-width: 20vw;
    }
    .moveBtn{
        position: absolute;
        transition: 1s ease-in-out;
        top: 40vh;   
    }
    form,.aboutModal{
        height: 100vh;
        width: 100vw;
    }
    .card{
        width: 200px;
        margin-top: 30px;
    }
    .top-card{
        margin-top: 0px;
    }
    .close-work{
        display: none;
    }
}

/* large screen */
@media (width >= 1800px){
    .cruftLogo{
        width: 15vw;
    }
    .settings-container{
        gap: 2rem;
    } 
    .setting-btn{
        width: 18vw;
        padding: 3%;
    }
    .work-container{
        grid-auto-flow: column;
        overflow: auto;
        height: 40vh;
        gap: 5%;
    }
    @keyframes show{  
        0%{height: 0vh;}
        100%{height: 40vh;}
    }
    .moveBtn{
        top: 45vh;   
    }
    .card{
        width: 200px;
        margin-top: 40px;
    }
    form,.aboutModal{
        height: 100vh;
        width: 40vw;
    }
    .top-card{
        margin-top: 0px;
    }
    .close-work{
        display: none;
    }
}
/* tablet small*/
@media (768px <= width <= 1024px){
    .cruftLogo{
        max-width: 30vw;
    }
}
