* {
    transition: transform 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #111;
    margin: 0;
    padding: 0;
    font-family: 'Share Tech Mono', monospace;
    overflow-x: hidden;
    background-image: url('/assets/svg/code-solid-full.svg');
    background-size: 10px;     
    background-attachment: fixed;     
    scrollbar-color: #55ead4 #000000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
    
.Main-Nav {
    display: flex;
    justify-content: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
}
    
.nav-link{
    font-family: 'Orbitron', sans-serif;;
    font-size: 25px;
    display: block;
    color: #55ead4;
    text-align: center;
    padding: 14px 18px;
    text-decoration: none;
    margin: 10px 10px 0px 0px;
}
    
.nav-link:hover {
    background-color: #000000;
    border: 1px solid #c5003c;
    box-shadow: 0 0 10px 0px #880425;
    border-radius: 0px 10px 0px 10px;
    color: #55ead4;
    transform: scale(1.05);
}

.weather-terminal-container {
    color: #55ead4;
    border: 2px solid #c5003c;
    padding: 1rem;
    max-width: 500px;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.75);
    border: 1px solid #c5003c;
    box-shadow: 0 0 20px #880425;
}

.weather-terminal-header {
    border-bottom: 1px solid #c5003c;
    margin-bottom: 1rem;
}

.weather-terminal-title {
    font-weight: bold;
    letter-spacing: 1px;
    animation: flicker 2s infinite;
}

.weather-terminal-body p{
    margin: 0.3rem 0;
    line-height: 1.5;
}

.loading {
    color: #55ead4; ;
    opacity: 0.6;
}

@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

#rain-toggle {
    accent-color: #55ead4;
}

.about-me-container {
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #55ead4;
}

.socials:hover {
    cursor: pointer;
    color: #c5003c;
    filter: drop-shadow(0 0 4px #880425);
}

.tools-carousell {
    margin-top: 0px;
    overflow: hidden;
    white-space: nowrap;
    background-color: #00000000;
    opacity: 1;
    padding: 20px 0;
    max-width: 360px;
    background-image: url('/assets/svg/code-solid-full.svg');
    background-size: 2px;
    border: 1px #c5003c solid;
    box-shadow: 0 0 10px 0px #880425;
}

.tools-track {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
}

.tools-track img {
    height: 45px;
    margin: 0 25px;
    filter: drop-shadow(0 0 4px #55ead4);
    transition: transform 0.3s;
}

.tools-track img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px #55ead4);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

main .Items-Container {
    gap: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.Projects-Container{
    display: flex;
    flex-direction: column;
    align-items: center; 
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.Project-Box {
    width: 100%;
    max-width: 100%;
    min-width: 270px;
    min-height: 400px;
    margin-bottom: 70px;
    overflow: hidden;
    position: relative;
    background-color: #000;
    padding: 20px;
    color: #55ead4;
    background-repeat: no-repeat;
    border-radius: 10px;
    border: 1px solid #c5003c;
    box-shadow: 0 0 10px 0px #880425;
}

.Project-Box:hover .Project-Info {
    opacity: 1;
}

.Project-Info {
    opacity: 1;
    transition: .5s ease;
    margin: 0;
}

.Project-Text {
    cursor: default;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    position: absolute; 
    bottom: 0px;           
    left: 0px;      
    color: #55ead4;
    margin: 0; 
    padding: 1px;
    font-size: 2vw;
}

.More {
    border: 1px solid #c5003c;
    box-shadow: 0 0 10px 0px #880425;
    border-radius: 0px 10px 0px 10px;
    background-color: #000000;   
    color: #55ead4;
    font-size: 2vw;
    padding: 5px;
    top: 10px;
    right: 10px;
    position: absolute;
}

.More:hover {
    cursor: default;
    background-color: #000000;   
    color: #55ead4;
    transform: scale(1.05);
    cursor: pointer;
    border: 1px solid #c5003c;
    box-shadow: 0 0 10px 0px #880425;
    border-radius: 0px 10px 0px 10px;
}

.icons {
    max-width: 30px;
    filter: drop-shadow(0 0 4px #55ead4);
    padding-right: 5px;
    color: #55ead4;
}

.Name {
    text-align: center;
    color: #55ead4;
    font-size: 4vh;
    text-decoration: none;
    margin-top: 100px;
    margin-bottom: 0px;
    border-bottom: none;
}

.Name:hover {
    cursor: default;
}

.SomeText{
    margin-top: 100px;
    color: #55ead4;
    font-size: 4vh;
    text-align: center;
    padding: 0;
    max-width: 875px;
}

#SomeText:hover {
    cursor: default;
}

footer {
    position: absolute;
    border-top: 3px solid #c5003c;
    color: #55ead4;
    text-align: center;
    min-width: 350px;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 10px;
}

#topButton {
    width: 50px; 
    height: 55px;
    transition: transform 0.3s ease;
    display: none;
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background: none;
    color: #55ead4;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
}

#topButton:hover {
    transform: scale(1.10);
}

@media screen and (min-width: 800px) {
    .tools-carousell {
        max-width: 800px;
    }
    .Project-Box {
        min-width: 700px;
    }
    .Project-Info {
        opacity: 0;
    }
    .Project-Text {
        cursor: default;
        background: rgba(0, 0, 0, 0.5);
        width: 100%;
        position: absolute; 
        bottom: 0px;           
        left: 0px;      
        color: #55ead4;
        margin: 0; 
        padding: 1px;
        font-size: 1.5vw;
    }
    .icons {
        max-width: 50px;
        padding-right: 10px;
    }
    .More {
        text-decoration: none;
        border: none;
        box-shadow: none;
        background-color: #00000000;
        border-radius: 0px 10px 0px 10px; 
        color: #55ead4;
        font-size: 1.5vw;
        padding: 5px;
        top: 20px;
        right: 10px;
        position: absolute;
    }

    .More:hover {
        cursor: default;
        background-color: #000000;   
        color: #55ead4;
        transform: scale(1.05);
        cursor: pointer;
        border: 1px solid #c5003c;
        box-shadow: 0 0 10px 0px #880425;
    }
    footer {
        position: absolute;
        border-top: 3px solid #c5003c;
        color: #55ead4;
        text-align: center;
        min-width: 650px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px;
    }
}

@media screen and (min-width: 500px) and (max-width: 800px) {
    .tools-carousell {
        max-width: 480px;
    }
    .Project-Box {
        min-width: 400px;
    }
    footer {
        position: absolute;
        border-top: 3px solid #c5003c;
        color: #55ead4;
        text-align: center;
        min-width: 450px;
        left: 50%;
        transform: translateX(-50%);
    }
    .More {
        top: 15px;
        right: 10px;
        position: absolute;
    }
}