/* --- БАЗОВІ НАЛАШТУВАННЯ --- */
html {
    height: 100%;
}

body {
    margin: 0;
    padding-top: 55px; /* Місце під фіксоване меню */
    min-height: 100vh;
    background: url(kartinka2.webp) no-repeat center center fixed;
    background-size: cover;
    text-align: center;
    font-size: 18px;
    line-height: 22px;
    font-family: 'MyWebFont', Arial, sans-serif;
    color: #0000FF; /* Ваш синій колір */
}



/* --- НАВІГАЦІЯ (TOPNAV) --- */
.topnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    overflow: hidden;
    background-color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    /* Анімація висоти для плавного розгортання */
    max-height: 52px; 
    transition: max-height 0.4s ease-out;
}

/* Стан при натисканні (додається через JS) */
.topnav.responsive {
    max-height: 500px; /* Достатня висота для всіх пунктів */
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    transition: 0.3s;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.active {
    background-color: #2B642E;
    color: white !important;
}

/* Кнопка-гамбургер (для SEO та доступності) */
.topnav .icon {
    display: none;
    background: none;
    border: none;
    color: white;
    padding: 14px 16px;
    font-size: 24px;
    cursor: pointer;
    float: right;
    outline: none;
}
main {
    margin: 0 auto;
    max-width: 1200px;
}
/* --- СТИЛІ КОНТЕНТУ --- */
p { text-align: justify; text-indent: 18px; }
h1 { font-size: 22px; }
h2 { font-size: 21px; }
h3 { font-size: 20px; }
h4 { font-size: 19px; }
h5 { font-size: 18px; color: black; }

img {
    max-width: 100%;
    height: auto;
    border: 1px solid;
    margin: 5px;
}

.container {
    margin: 0 auto;
    border: 18px solid transparent;
    color: #0000FF;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card {
    break-inside: avoid;
    background-color: rgb(207, 232, 220);
    border: 2px solid rgb(79, 185, 227);
    padding: 10px;
    margin: 0 0 1em 0;
}

/* --- КНОПКА ДЗВІНКА --- */
.call-button {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: block;
    background: linear-gradient(to top,#4CAF50 0%,#2B642E 200%);
    color: #fff;
    text-align: center;
    padding: 18px;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 -3px 15px rgba(0,0,0,0.3);
    animation: pulse-green 2.5s infinite;
}

@keyframes pulse-green {
   0% { transform: scale(1); }
   50% { transform: scale(1.03); }
   100% { transform: scale(1); }
}

/* --- АДАПТИВНІСТЬ (MOBILE) --- */
@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav .icon {
        display: block;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
        border-top: 1px solid #444;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
}

@media (min-width: 769px) {
    .call-button {
		top: 45px;
		bottom: auto;
		right: 20px;
        left: auto;
        width: auto;
        padding: 12px 25px;
		font-size: 19px;
        border-radius: 30px;
    }
	.call-button: hover{
		transform:
		translaterY(-5px);
		background: #4CAF50;
	}
}
.button-small {
	margin: 10px;
    border: 0;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 3px 0 #7fff00;
    background-image: linear-gradient(to top,#4CAF50 0%,#2B642E 200%);
    color: #fff;
    cursor: pointer;
    text-align: center;
    font-weight: 400;
    transition: all .2s;
    padding: 10px 20px;
    font-size: 18px;
}
footer {
  clear: both;

  background-color: #BFD4D9;
  font-size: 20px;
  }
.column-left {
  float: left;
  width: 50%;
  text-align: center
  
}
.column-right {
  float: right;
  width: 50%;
  text-align: center;
}