@font-face {
    src: url('fonts/Copperplate Gothic Bold Regular.ttf') format('truetype'); 
    font-family: "Copperplate"; 
    font-weight: normal; 
    font-style: normal;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #011c1c;
    color: white;
    transition: opacity 0.5s ease-in-out;
}

body.fade-out {
    opacity: 0;
}

header {
display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 40px;
    background-color: black;
    position: sticky;
    top: 0;
    color: white;
    font-family: "Copperplate";
    border: 1px solid black;
    border-bottom: 1px solid rgba(255, 255, 255, 1);
}


.logo {
    font-size: 28px;
    font-weight: bold;
}


nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}


nav a {
    color: hsl(0, 0%, 80%);
    text-decoration: none;
    font-size: 18px;
}

nav a:hover {
    color:hsl(0, 0%, 100%)
}


.hero {
    padding: 100px 40px;
}

.main-name {
    font-size: 50px;
    color: white;
    margin-bottom: 10px;
    font-family: "Copperplate";
}


.subtitle {
    font-size: 22px;
    margin-bottom: 25px;
}


.buttons .btn {
    display: inline-block;
    padding: 12px 25px;
    margin-right: 12px;
    background-color: hsl(109, 36%, 18%);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
}

.buttons .btn:hover{
    background-color: hsl(109, 36%, 28%);
}


.about {
    padding: 60px 40px;
    background-color: #011c1c;
    line-height: 1.7;
    font-size: 20px;
}

.introduction {
    font-family: "Space Grotesk";
    font-size: 30px;
    color: hsl(165, 90%, 44%)
}

.skills {
    padding: 60px 40px;
    background-color: #011c1c;
    line-height: 1.78;
    font-size: 20px;
    border: solid;
    border-radius: 30px;
    border-width: 1px;
    font-family: "Space Grotesk";
}

.skills-border {
    border:solid 1px;
    border-radius: 30px;
    width: fit-content;
    padding: 20px;
    border-color: grey;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
}

.skill-item img{
    width:30px;
    height: 30px;
    object-fit: contain;
}

.tools-grid-images {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
}

.tools-grid-images img{
    width:30px;
    height: 30px;
    object-fit: contain;
}

.coding-tools{
    text-align: left;
    font-size: 20px;
    border: solid;
    border-width: 1px;
    border-radius: 20px;
    border-color: grey;
    width: fit-content;
    padding: 20px;
}

.coding-tools .tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 50px;
}

.coding-tools .tools-grid p {
    margin: 0;
}

.stat-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    margin-top: 5px;
    background-color: #000000;
    display: inline-block;
    padding: 12px 20px;
    font-size: 22px;
    font-family: "Space Grotesk";
    border: solid;
    border-width: 1px;
    border-color: white;
    border-radius: 20px;
}

.stat-btn:hover{
    border-width: 3px;
    border-radius: 20px;
    padding:12px 20px;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2)
}

.projects {
    padding: 80px 40px;
    color: white;
    font-family: "Copperplate";
    font-size: 30px;
    margin-bottom: 10px;
    text-decoration: none;
    color: white;
}

.projects-text {
    padding: 80px 40px;
    color: white;
    font-family: "Copperplate";
    font-size: 30px;
    margin-bottom: 10px;
    text-decoration: none;
}


.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
    padding: 20px 0;
}


.project-card{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    background-color: #264e4e;
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 30px;
    text-align: center;
    font-size: 30px;
    font-family: "Space Grotesk";
    border: solid 1px;
    border-color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.6)
}


.project-card:hover{
    border-width: 3px;
    border-radius: 30px;
    padding:25px;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    text-decoration: none;
}

.projects-hero {
    padding: 100px 40px;
}

.projects-text-main{
    font-size: 60px;
    color: white;
    margin-bottom: 10px;
    font-family: "Copperplate";
    text-decoration: underline;
}

.projects-text-main-card{
    color: white;
    font-family: "Copperplate";
    font-size: 50px;
    margin-bottom: 10px;
    text-decoration: underline;
}

.footer {
    padding: 30px;
    display: flex;
    justify-content: center;
    gap: 25px;
    color: grey;
    text-align: center;
    font-family: "Space Grotesk";
    font-size: 20px;
}

.social-links{
    display: flex;
    flex-wrap: wrap;
    gap:30px;
    padding:20px;
}

.social-item{
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.4);
}

.icon{
    background-position: center;
    display: flex;
    align-items: center;
    width: 60px;
    height: 60px;
    background-size: cover;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid transparent;
    transition: border 0.3s ease;
}

.icon.discord{
    background-image: url("images/discord.png");
}

.icon.github{
    background-image: url("images/githublogo.png");
}

.icon.roblox{
    background-size: contain;
    background-position: center;
    background-image: url("images/roblox.png");
}

.info-text h3{
    margin: 0;
    font-size: 1.2em;
}

.info-text p{
    margin: 0;
    opacity: 0.8;
    font-size: 0.9em;
}

.social-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

.social-item:hover .icon {
    border: 2px solid white;
}
