/* Общие стили */
:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --border-color: #bdc3c7;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Шапка */
.header {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Основной контент */
.main-content {
    margin-bottom: 20px;
}

.websites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.website-card {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 180px);
}

.website-title {
    background-color: var(--dark-color);
    color: white;
    padding: 10px 15px;
    font-size: 1.2rem;
    text-align: center;
    border-radius: 5px 5px 0 0;
}

.iframe-container {
    flex: 1;
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 0 0 5px 5px;
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Футер */
.footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 15px 0;
}

.footer p {
    margin-bottom: 10px;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.controls button {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.controls button:hover {
    background-color: var(--secondary-color);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .websites-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .website-card {
        height: 500px;
    }
}