*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: "DM Sans", sans-serif;
    background:#f4f6f8;
    color:#333;
    line-height:1.6;
    opacity:1;
    transition:opacity 0.5s ease;
}

.dm-sans-<uniquifier> {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}


.container{
    width:min(95%,1000px);
    margin:auto;
}

header{
    background:#ec3750;
    color:white;
    padding:60px 20px;
    text-align:center;
}


header p{
    margin-top:10px;
    opacity:.9;
}

nav {
    background: #338eda;
    border-bottom: 1px solid #8492a6;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .home-container {
    width: 100%;
    max-width: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 35px;
    padding: 15px 30px;
    box-sizing: border-box;
}

nav .container{
    display:flex;
    justify-content:center;
    gap:35px;
    padding:15px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #ff8c37;
}

.hero{
    padding:80px 20px;
    text-align:center;
}


.hero h2{
    font-size:2.3rem;
    margin-bottom:20px;
}


.hero p{
    max-width:700px;
    margin:auto;
    margin-bottom:30px;
}


button{
    background:#004b87;
    color:white;
    border:none;
    padding:14px 30px;
    border-radius:6px;
    cursor:pointer;
    transition:.25s;
}


button:hover{
    background:#003766;
}



.section{
    padding:70px 20px;
}


.alt{
    background:white;
}



.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-top:35px;
}


.card{
    background:#f9f9f9;
    padding:25px;
    border-radius:10px;
    border:1px solid #ddd;
    transition:.25s;
}


.card:hover{
    transform:translateY(-5px);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}


.card h3{
    margin-bottom:12px;
}



footer{
    background:#8492a6;
    color:white;
    text-align:center;
    padding:25px;
    margin-top:40px;
}



body.fade-out{
    opacity:0;
}

@keyframes carousel-scroll{

    from{

        transform:translateX(0);

    }


    to{

        transform:translateX(-50%);

    }

}

@media(max-width:640px){

    .projects-section h2{

        font-size:32px;

    }


    .fade{

        display:none;

    }


    .controls{

        margin-left:24px;

    }

}

.site-footer {

    position:relative;

    overflow:hidden;

    background:
    linear-gradient(
        90deg,
        rgba(255,255,255,.08) 1px,
        transparent 1px
    ),
    linear-gradient(
        rgba(255,255,255,.08) 1px,
        transparent 1px
    ),
    #111;


    background-size:50px 50px;

    color:white;

    padding:80px 6vw 60px;

}



.footer-illustration {

    position:absolute;

    right:0;

    top:0;

    width:min(48vw,680px);

    transform:translateY(-40%);

    pointer-events:none;

}



.footer-container {


    max-width:1200px;

    margin:auto;


    display:flex;

    flex-wrap:wrap;

    gap:64px;

    position:relative;

    z-index:2;

}




.footer-brand {

    width:280px;

}




.footer-logo {

    width:200px;

    margin-bottom:28px;

}




.footer-brand p,
.footer-brand a {

    display:block;

    color:white;

    font-size:20px;

    text-decoration:none;

    line-height:1.2;

    margin-bottom:15px;

}



.socials {

    display:flex;

    gap:12px;

    margin-top:25px;

}



.socials a {

    width:56px;

    height:56px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:8px;

    color:white;

    font-size:30px;

    text-decoration:none;

}



.socials a:hover {

    opacity:.7;

}

.info-card {
    width: 1000px;
    text-align: center; 
    padding: 35px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 1px solid rgba(236, 55, 80, 1);
    transition: 0.3s ease;
}

.info-card h2 {
    margin-bottom: 8px;
}

@media (max-width: 850px) {

    .finances {
        padding: 50px 18px;
    }

    .finances-header {
        flex-direction: column;
        text-align: center;
    }

    .finances-header img {
        width: 100px;
        height: 100px;
    }

    .info-card td:first-child {
        width: 130px;
    }

    .chart-container {
        height: 320px;
    }

}

/* AHHHHHHHH */

.footer-links {

    display:flex;

    gap:60px;

    flex-wrap:wrap;

}



.footer-links div {

    display:flex;

    flex-direction:column;

    gap:14px;

}



.footer-links h3 {

    font-size:20px;

    margin-bottom:16px;

}



.footer-links a {

    color:white;

    text-decoration:none;

    opacity:.8;

    font-size:16px;

}



.footer-links a:hover {

    opacity:1;

}




.footer-bottom {

    max-width:1200px;

    margin:64px auto 0;

    padding-top:32px;

    border-top:1px solid rgba(255,255,255,.2);

}



.footer-bottom p {

    opacity:.8;

    font-size:16px;

}




@media(max-width:767px){


.footer-footer {

    padding-top:120px;

}


.footer-illustration {

    width:320px;

    transform:translateY(-40%);

}


}

