@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300&display=swap');

* {
    font-family: 'Comfortaa', cursive !important;
}

body {
    color: #ececec;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    margin: 0;
    padding: 0;
    background-color: #39373a;
}

.container {
    width: 70%;
    margin: auto;
}

h1 {
    text-align: center;
    margin-top: 60px;
}

h3 {
    text-align: center;
    margin-top: 5px;
}

.projects {
    margin-top: 40px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 55px;
    justify-content: space-between;
}

.project {
    overflow: hidden;
    background-color: #151515;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    width: 100%;
}

.project:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.project img {
    object-fit: cover;
    width: 100%;
    height: 200px;
}

.description {
    margin: 20px;
}

.description h2 {
    margin: 0;
}

img.icon {
    width: 34px;
    height: 34px;
}

.description {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    align-items: stretch;
}

.sub {
    margin-top: 15px;
    flex: 1;
}

.links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.links .icon {
    margin: 0 6px;
}

.animation_compressing {
    transition: all 0.3s ease;
}

.animation_compressing:hover {
    transform: scale(0.9);
}

footer {
    padding: 5px;
    text-align: center;
}


.about-content {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
}

.logo-container {
    flex: 0 0 auto;
    margin-right: 20px;
}

.logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.text-container {
    flex: 1;
}

.about-content h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

.about-content p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
}

.popup-content {
    border-radius: 8px;
    background-color: #242424;
    margin: 10% auto;
    padding: 40px;
    max-width: 40%;
    box-sizing: border-box;
    overflow-y: auto;
    position: relative;
}

.popup-content img {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.popup-content h2 {
    position: absolute;
    top: 10px;
    left: 40px;
}

.popup-content h3 {
    margin-bottom: 10px;
}

#popup-dependencies {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

#popup-description {
    margin-top: 40px;
}

a {
    text-decoration: none;
    color: #cc333b;
    transition: color 0.3s ease;
    font-weight: bold;
}

a:hover {
    color: #ff6600;
}

@media screen and (max-width: 1280px) {
    .container {
        width: 80%;
    }

    .popup-content {
        max-width: 60%;
    }
}

@media screen and (max-width: 1100px) {
    .container {
        width: 90%;
    }

    .popup-content {
        max-width: 80%;
    }

    .projects {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media screen and (max-width: 800px) {
    .container {
        width: 80%;
    }

    .popup-content {
        max-width: 80%;
    }

    .projects {
        grid-template-columns: repeat(1, minmax(250px, 1fr));
        gap: 20px;
    }
}


@media screen and (max-width: 600px) {
    .container {
        width: 90%;
    }

    .popup-content {
        max-width: 80%;
    }

    .about-content {
        flex-direction: column-reverse;
    }
}


.icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-button {
    margin-left: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 6px 9px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    gap: 8px;
}

.support-button img {
    height: 20px;
    vertical-align: middle;
}

.support-button:hover {
    background-color: #45a049;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}