
*{
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: #333333;
    --boxBGcolor: #38373a;
    color: rgb(155, 255, 200);
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
     /* Ensures the content centers within the viewport */
}




/*NAVIGATION
*/
nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;

}

nav svg{
    height: calc(1rem);
}

nav li {
    height: 50px;
      
}

nav a {
    height: 100%;
    padding: 0 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: rgb(155, 255, 200);
    transition: .5s;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
 

nav a:hover{
    background-color: #ffffff15;
}

nav li:first-child{
    margin-right: auto;
}
 
.sidebar{
    position:fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 200px;
    z-index: 999;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    backdrop-filter: blur(10px);
    background: #33333370;
}

 
.sidebar li{
    width: 100%;
}

.sidebar a{
    width: 100%;
}

@media(max-width: 800px) {
    .hideOnMobile{
        display: none;
    }
}

/*LM*/
input[type="checkbox"] {
    width: 0;
    height: 0;
    visibility: hidden;
}

label {
margin-right: 20px;
scale: 1rem;
display: block;
width: 40px;
height: 1rem;
background-color: #333333;
border-radius: 30px;
position: relative;
cursor: pointer;
transition: 0.5s;
box-shadow: 0 0 20px #477a8550;
}

label::after {
content: "";
width: 11px;
height: calc(1rem - 5px);
left: 5px;
top: 2.5px;
background-color: #e8f5f7;
position: absolute;
border-radius: 70px;
transition: 0.5s;
}
input:checked + label:after {
left: calc(100% - 4px);
transform: translateX(-100%);
}
input:checked + label {
background-color: pink;
}

svg {
    fill: #9BFFC8;
}

.darkMode {
    background-color: beige;
    --boxBGcolor: white;
    color: pink;
    fill: #FFC0CB;
}

.darkMode svg {
    fill: #FFC0CB;
}


 


/*MAIN*/


.hotbody {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
 
    text-align: center;
    text-decoration: none;
}
 
 
h1{
    padding-top: 50px;
    text-align: center;
    font-size: 80px;
    transition: .3s;
    padding-bottom: 50px;
}

h1:hover{
    font-size: 90px;
}
 
h3 {
    padding-top: 20px;
    text-align: center;
    font-size: 30px;
    padding-bottom: 10px;
}

/*first box*/
main {
    padding-left: 50px;
    padding-right: 50px;
    margin-right: 30px;
    margin-left: 30px;
    background-color: var(--boxBGcolor);
    border-radius: 50px;
    transition: .3s;
    padding-bottom: 20px;
}
main:hover {
    padding-left: 60px;
    padding-right: 60px;
    padding-top: 10px;
    padding-bottom: 30px;
}

 
/*blahblahblah*/
p {
    margin-right:20px;
    margin-left:20px;
    padding-bottom: 10px;
}
/*REST OF GLOWY BUTTON ON BOTOM*/
.glow-on-hover {
    margin-right: 10px;
    margin-left: 10px;
    width: 100px;
    height: 50px;
    border: none;
    outline: none;
    color: #fff;
    background: #333333;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-on-hover svg {
    margin-right: 4px; /* Adds spacing between icon and text */
    vertical-align: -4px; /* Ensures the SVG aligns with the text */
    height: 20px; /* Controls the size of the SVG icon */
    width: 20px;  /* Controls the size of the SVG icon */
}

/*project SECTION*/
.projTitle{
    padding-top: 50px;
    padding-bottom: 50px;
    font-size: 70px;
    transition: .3s;
}

.projTitle:hover{
    font-size: 80px;
}

.project1 {
    padding: 20px 50px;
    margin-left: 30px;
    margin-right: 30px;
    background-color: var(--boxBGcolor);
    border-radius: 50px;
    transition: .3s;
}

.project1:hover {
    
    padding: 30px 60px;
}

.divider {
    height: 50px;
}

.projHeader {
    font-size: 40px;
    text-align: center;
    margin-bottom: 10px;
}

 

/*REST OF GLOWY BUTTON*/

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, rgb(155, 255, 200), transparent, rgb(155, 255, 200));
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);  
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.darkMode .glow-on-hover:before {
    background: linear-gradient(45deg, pink, transparent, pink);
}

.darkMode nav a {
    color: pink;
}

.glow-on-hover:active {
    color: #000
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

footer{
    display: flex;
    flex-direction: row;
    padding-top: 100px;
    padding-bottom: 10px;
}
.rightfoot{
    padding-left: 50px;
    justify-content: flex-end;
}
.leftfoot {
    padding-right: 50px;
    margin-left: auto;
}