@import url('https://fonts.googleapis.com/css2?family=Funnel+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jersey+15&display=swap');

html {
    font-size: 15px;
}

body {
    margin: 0px;
    font-family: "Funnel Sans", serif;
    caret-color: transparent;
    cursor:default;
}
.nav-links {
    display: flex;
    justify-content: space-evenly;
    list-style: none;
    padding: 1rem 0;
    margin: 0;
    gap: 0.5rem;
    background-color: black;
}

.nav-links a {
    text-decoration: none;
    font-size: 11px;
    padding: 10px 0;
    color: white;
    font-weight: 200;
    text-align: center;
}

header {
    color:#14213D;
}
header h1 {
    padding-left: 2%;
}
.project-title {
    background-image:url('images/cloud-pixel.png'), linear-gradient(rgb(25, 83, 130), rgb(248, 245, 242)) ;
    min-height: 40vh;
    display: flex;
    background-size:contain;
}
h2 {
    font-family: "Jersey 15";
    font-size: 4.5rem;
    font-weight: 200;
    margin: 0;
    padding: 1rem;
    color: rgb(6, 6, 6);
}
h3 {
    font-size: 2rem;
}
h4{
    font-size: 1.5rem;
    text-align: center;
}
main {
    background-color: rgb(248, 245, 242);
    padding: 0.5rem 2%;
}
.accomplishments {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 0.8rem;
    justify-content: space-evenly;
    
}
.acc {
    padding: 1rem;
    display: flex;
    border-radius: 6rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 600px;
}
.acc:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  }
.acc:nth-child(4n+1)  { background-color: #215578; }
.acc:nth-child(4n+2)  { background-color: #9d5047; }
.acc:nth-child(4n+3)  { background-color: #37634a;}
.acc:nth-child(4n+4)  { background-color: #af4a1b;}

.architecture-section {
    display: flex;
    justify-content: center;
}
.architecture-diag {
    max-width: 100%;
    height: auto;
}
.accDescription{
    padding: 1rem;
    color:white; 
    align-content:center ;
}
.accImage {
    align-content: center;
}
.accImage img {
    border-radius: 50%;
}
footer {
    text-align: center;
    font-size: 0.75rem;
}

@media (min-width: 426px) {

    html {
        font-size: 16px;

    }
    .nav-links {
        padding: 1rem 10%;
        margin: 0;
    }
    
    .nav-links a {
        font-size: 20px;
        padding: 10px 15px;
        font-weight: 200;
    }
    main {
        font-size: 18px;
    }
    h2 {
        font-size: 7rem;
    }
    .accDescription {
        font-size:1.5rem;
    }
}