body, html {
    margin: 0;
    font-family: "Lora", serif;
    background-color: #dddfe2;
    width: 100%;
    overflow-x: hidden;
}

.header {
    position: fixed;
    width: 100%;
    height: 100px;
    z-index: 20;
    background: transparent;
    backdrop-filter: none;
    transition: 
    height 0.3s ease,
    background 0.3s ease,
    backdrop-filter 0.3s ease;
}

/* После прокрутки */
.header.glass {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.headercontent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px black solid;
    padding: 5px 20px;
}

.headercontent h2 {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 5px;
}

.back a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.back p {
    color: #004aad;
    font-size: 25px;
}

.back h3 {
    color: black;
    font-size: 18px;
    font-weight: normal;
}

.back h3:hover {
    border-bottom: 3px #004aad solid;
}

/* Main Block */

.main-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    height: 120vh;
}

/* Left Block */

.text {
    padding: 50px;
    width: 500px;
}

.text h1 {
    font-size: 36px;
    margin: 0;
}

.text p {
    font-size: 18px;
}

.icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icons a {
    transition: transform 0.3s ease;
}

.icons a:hover {
    transform: scale(1.1);
}

.text button {
    margin-top: 5px;
    padding: 12px 20px;
    background-color: #004aad;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.text button:hover {
    background-color: white;
    color: #004aad;
}

/* Right Block */

.slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.slides {
    padding: 10px;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    height: 350px;
}

.slide {
    min-width: 100%;
    display: none;
}

.slide.active {
    display: block;
}
  
.indicators {
    display: flex;
    justify-content: center;
    margin-top: 5px;
    gap: 10px;
    height: 25px;
}
  
.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    transform: rotate(0deg);
    transition: all 0.3s ease;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%); /* квадрат */
}
  
.dot.active {
    background-color: #0047ab;
    transform: rotate(45deg); /* превращается в ромб */
}

/* Footer Block */

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #004aad;
    height: 100px;
}

.footer h2 {
    margin: 0;
    font-size: 18px;
    color: white;
}

/* Adaptive */

@media (max-width: 1024px) {
    .header {
        height: 80px;
    }

    .headercontent {
        border-bottom: none;
    }
    
    .headercontent h2 {
        font-size: 20px;
        letter-spacing: 2px;
        text-align: center;
    }

    .back p {
        font-size: 18px;
    }

    .back h3 {
        font-size: 12px;
    }

    .main-item {
        height: 150vh;
        align-content: center;
    }

    .text {
        width: 100%;
    }

    .text h1 {
        font-size: 24px;
    }

    .text p {
        font-size: 16px;
    }
}