@charset "utf-8";

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

body {
    background-color: #151515;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
    min-height: 100vh;
}

.header-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
}

.header-image {
    width: 100%;
    height: 200px;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    object-position: left center;
}

.header-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 160px;
    height: 160px;
    display: block;
    border-radius: 40px;
}

.header-text-container {
    position: absolute;
    top: 20px;
    left: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 160px;
}

.header-text {
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 36px;
    font-weight: bold;
    white-space: nowrap;
    line-height: 1.2;
}

.header-subtext {
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: normal;
    white-space: nowrap;
    line-height: 1.2;
    margin-top: 5px;
}

.nav-link-container {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    background-color: #151515;
}

.nav-link {
    color: #3165cd;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: #2a2a2a;
    text-decoration: underline;
}

.main-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
}

.content-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
    justify-content: center;
}

.text-section {
    flex: 1;
    min-width: 300px;
    max-width: 800px;
    color: #FFFFFF;
    font-size: 15px;
    line-height: 1.6;
    background-color: #2a2a2a;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.text-section p {
    margin-bottom: 15px;
}

.text-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.text-section a {
    color: #4D70DB;
    text-decoration: none;
}

.text-section a:hover {
    color: #4747CC;
    text-decoration: underline;
}

.screenshots-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    box-sizing: border-box;
}

.image-wrapper {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 200px;
}

@media (min-width: 460px) and (max-width: 619px) {
    .screenshots-container {
        grid-template-columns: repeat(2, 200px);
    }
}

@media (min-width: 620px) and (max-width: 819px) {
    .screenshots-container {
        grid-template-columns: repeat(3, 200px);
    }
}

@media (min-width: 820px) {
    .screenshots-container {
        grid-template-columns: repeat(4, 200px);
    }
}

@media (max-width: 459px) {
    .screenshots-container {
        grid-template-columns: 200px;
    }
}

@media (max-width: 768px) {
    .content-section {
        flex-direction: column;
    }
    
    .text-section {
        padding: 20px;
    }
}
