.mainTitle {
    color: rgba(147, 236, 111, 1); /* Цвет шрифта */
    font-size: 81px;
    text-align: center;
}

.link {
    color: #ff0000;
}

.body {
    background-color: rgb(255, 255, 255);
    background-image: url("photo.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.sqr {
    width: 140px;
    height: 200px;
    background-color: rgb(60, 255, 0);
    margin-left: auto;
    margin-right: auto;
    transition: 2s;
}

.sqr:hover {
    cursor: auto;
    background-color: rgb(0, 255, 13);
    border-radius: 10%;
    transform: rotate(360deg);
}

.T.link { /* Примечание: селектор '.T.link' означает элемент с классами и 'T' и 'link' одновременно, например, <p class="T link">...</p> */
    color: rgb(255, 0, 179); /* Цвет шрифта */
    font-size: 12px;
    text-align: left;
}

.image-link {
    display: inline-block;
    transition: transform 0.3s ease;
    /* --- Добавьте сюда правила позиционирования, если нужно --- */
    /* Примеры (раскомментируйте нужное): */
    /* margin-top: 20px; */
    /* position: relative; top: 10px; left: 20px; */
    position: absolute; top: 30px; right: 700px;
    /* position: fixed; bottom: 20px; right: 20px; */
    /* ---------------------------------------------------------- */
}

.image-link:hover {
    transform: scale(1.2);
}

.image-link img {
    display: block;
    max-width: 100%;
    height: auto;
}

.image-link2 {
    display: inline-block;
    transition: transform 0.3s ease;
    /* --- Добавьте сюда правила позиционирования, если нужно --- */
    /* Примеры (раскомментируйте нужное): */
    /* margin-top: 20px; */
    /* position: relative; top: 10px; left: 20px; */
    position: absolute; top: 30px; right: 650px;
    /* position: fixed; bottom: 20px; right: 20px; */
    /* ---------------------------------------------------------- */
}

.image-link2:hover {
    transform: scale(1.2);
}

.image-link2 img {
    display: block;
    max-width: 100%;
    height: auto;
}

.image-link3 {
    display: inline-block;
    transition: transform 0.3s ease;
    /* --- Добавьте сюда правила позиционирования, если нужно --- */
    /* Примеры (раскомментируйте нужное): */
    /* margin-top: 20px; */
    /* position: relative; top: 10px; left: 20px; */
    position: absolute; top: 30px; right: 750px;
    /* position: fixed; bottom: 20px; right: 20px; */
    /* ---------------------------------------------------------- */
}

.image-link3:hover {
    transform: scale(1.2);
}

.image-link3 img {
    display: block;
    max-width: 100%;
    height: auto;
}

.parent-container {
    position: relative; /* Создает контекст позиционирования для absolute */
    /* Другие стили контейнера */
}

.absolute-window {
    position: absolute;     /* Абсолютное позиционирование */
    top: -1200px;              /* Расстояние от верха .parent-container */
    left: 700px;             /* Расстояние от левого края .parent-container */
    width: 270px;
    height: 170px;
    border: 1px solid #ccc;
    z-index: 100;
}

.absolute-window iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* === 1. Позиционирование и стилизация === */
#corner-button {
    position: fixed;
    top: 20px;
    right: 20px;
    
    padding: 15px 25px;
    background-color: #ff5722;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000; 

    /* Включаем анимацию: имя | длительность | повторение | тип */
    animation: pulse 1.5s infinite ease-in-out;
}

/* === 2. Анимация пульсации === */
@keyframes pulse {
    0% {
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7);
    }
    50% {
        transform: scale(1.05); 
        box-shadow: 0 0 0 10px rgba(255, 87, 34, 0); 
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
}

/* === 3. Эффект при наведении === */
#corner-button:hover {
    background-color: #e64a19;
    transform: scale(1.08);
    transition: background-color 0.3s, transform 0.3s;
    /* Останавливаем пульсацию при наведении, чтобы не мешала */
    animation: none; 
}
