@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&display=swap');

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

body {
    background: #2b6777;
    font-family: 'Poppins', sans-serif;
}

h1 {
    margin-block: 1rem;
    color: #ffffff;
}

.container {
    width: 1200px;
    margin: auto;
    max-width: 100%;
    text-align: center;
}

#projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
}

.project {
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #c8d8e4;
    box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.123);
    margin: 20px;
    width: 340px;
}

a {
    color: #000;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    height: 12rem;
}

.project-name {
    margin-top: 1rem;
    font-weight: 600;
    color: #183a1d;
}

.links {
    padding: 15px;
    margin-top: 0px;
}

.links a {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-inline: 5px;
    height: 35px;
    width: 35px;
    transition: transform 0.3s ease;
}

.github {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
}

.live {
    background-color: rgba(82, 171, 152, 0.8);
    border-radius: 50%;
}

.links a:hover {
    transform: rotate(365deg);
    transition-duration: 1s;
}