* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: lighter;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
    overflow-x: hidden;
}

h1 {
    margin: 10px;
    font-weight: lighter;
}

.navbar {
    background: linear-gradient(to right, #ffffff, #333333);
    overflow: hidden;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
}

.navbar-brand {
    color: white;
    text-decoration: none;
    font-size: 24px;
    order: 1;
}

.navbar-links {
    order: 2;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    display: inline-block;
}

.navbar-links a:hover {
    background-color: #ddd;
    color: black;
}

.content {
    padding: 20px;
}

.content-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    font-size: 25px;
}

.text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.small-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    margin: 0 10px;
}

.right-bound {
    right: 0;
    width: auto;
}

.column {
    float: left;
    width: 33.33%;
    padding: 0 10px;
}

.row {
    margin: 10px 10px;
    display: flex;
    justify-content: center;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.card {
    background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card h2 {
    margin-top: 0;
}

p, h1, h2{
    color: white;
}

.card-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 0 auto;
}

.card-content {
    padding: 15px;
}

.card-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    max-width: 150px;
}

.card-button:hover {
    background-color: #367e3a;
}

footer {
    grid-area: footer;
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0%;
} 

@media screen and (max-width: 600px) {
    .column {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }
}

.about-text {
    text-align: center;
    font-size: 1.5em; 
    margin: 20px;
}

.about-list {
    text-align: center;
    font-size: 1.2em;
    list-style-type: none;
    padding: 0;
}

.about-list li {
    margin: 10px 0;
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1000px; 
    margin: 10px auto;
    size: 20px;
}

.content-text-about{
    flex: 1;
    font-size: 20px;
}

.content-image-about img {
    width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.right-bound {
    grid-area: right-bound;
    width: 100vw;
    padding: 20px;
}

.right-bound .content-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.right-bound .text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 80vw;
}

.right-bound h1 {
    margin: 0;
}

@media screen and (max-width: 600px) {
    .right-bound {
        width: 100%;
        margin-left: 0;
        padding: 10px;
    }

    .right-bound .content-grid {
        flex-direction: column;
        align-items: center;
    }

    .right-bound .text-content {
        align-items: center;
        text-align: center;
    }

    .small-image {
        width: 100%;
        height: auto;
    }
}
