html, body {
    background-color: #04202e;
    color: #636b6f;
    font-family: 'Nunito', sans-serif;
    font-weight: 200;
    height: 100vh;
    margin: 0;
}

body {position:relative;}

input, textarea {
    box-sizing: border-box;
    outline: none;
    box-shadow: none;
    appearance: none; 
    -webkit-appearance: none;
}

.clear {clear: both;}

.is-invalid {
    border-color: #ec2034 !important;
    background-color: #fff8f8;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.is-invalid:focus {
    border-color: #ec2034;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.full-height {
    height: 100vh;
}

.flex-center {
    align-items: center;
    display: flex;
    justify-content: center;
}

.position-ref {
    position: relative;
}

.top-right {
    position: absolute;
    right: 10px;
    top: 18px;
}

.content {
    text-align: center;
    min-height: calc(100% - 100px);
    width: 100%;
    margin-bottom: 90px;
}

.title {
    font-size: 84px;
}

.links > a {
    color: #636b6f;
    padding: 0 25px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.m-b-md {
    margin-bottom: 30px;
}

/*For Animations*/
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s ease;
}
.fade-enter-from, .fade-leave-to {
    opacity: 0;
}
#header-block {
    min-height:110px;    
}
#header-block.active {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96c93d);
    background-size: 300% 300%; /* Важно: больше размера блока */
    animation: gradientShift 5s ease infinite;
}
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
        opacity:1;
    }
    50% {
        background-position: 100% 50%;
        opacity:0.4;
    }
    100% {
        background-position: 0% 50%;
        opacity:0;
    }
}
.content-block {
    position: relative;
    color:#c0133e;
    text-align: left;
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 20px auto;
    width: 1000px;
    z-index:1000;
    opacity: 0.9;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.content-block > div.items {
    display: flex; 
    margin-bottom: 15px;
}
.content-block > div.items .middle {
    /* средний блок растягивается */
    flex: 1;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    align-items: center;
    display: flex;
}
.content-block > div.items .left {display: flex;} 
.content-block > div.items .right {
    align-items: center; 
    display: flex;
    margin-left: 15px;
}
.content-block > div.items .right a {
    display: block;
    width: 50px;
    height: 50px;
} 
.content-block > div.items .right a:hover {opacity:0.7;}
.content-block > div.items .right a img {max-width:100%;}
.content-block > div.items .middle span {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 2px; /* регулирует расстояние между точками */
}
.content-block > div.items span{
    display: flex;
    align-items: center;
    margin-left: 20px;
    font-size: 2em;
    font-weight: bold;
}

.content-block img {width:120px;}
button {
    background-color: #c0133e;
    color: white;
    border: none;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    box-shadow: 0 2px 2px 2px rgba(53, 15, 19, 0.3);
}
button:hover {
    background-color: #e25a7c;
    box-shadow: 0 1px 1px 1px rgba(53, 15, 19, 0.4);
}
h2, h3 { color: #2c3e50; }

.animated-text {
    font-weight: bold;
    font-size: 5em;
    margin: 20px 0;
    min-height: 1.5em;
}
.slide-block {display: inline-block; font-size: 5em; font-weight: bold;}
.slide-block.slashe {padding:0 40px;}

.slide-enter-active {
    transition: all 1.2s; 
}

.slide-enter-from {
    opacity: 0;
    transform: translateX(100%);
}

.ed-leave-active, .slide-leave-active, .slashe-leave-active, .head-hdr-leave-active {
    transition: opacity 2s ease;
}

.ed-leave-active, .slide-leave-to, .slashe-leave-to, .head-hdr-leave-to  {
    opacity: 0;
}

.slashe-enter-active, .head-hdr-enter-active{
    transition: all 0.5s; 
}

.slashe-enter-from, .head-hdr-enter-from {
    opacity: 0;
    transform: translateY(-100%);
}
#wdev {font-size: 3.3em;}
.grid-line {
    stroke: #fff;
    stroke-width: 1;
}
.node {
    fill: #fff;
    stroke: rgb(218, 201, 52);
    stroke-width: 2;
}
.hidden {display:none;}
#footer {margin-top: -80px; text-align: center;}

#main-form .form-block .header {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
}
#main-form .form-block {width:70%;float: left;}
#main-form .left, #main-form .right{
    width:50%; 
    box-sizing: border-box;
    float: left;
    padding: 0 10px 0 0;
    height: 120px;
}
#main-form .left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#main-form .right textarea{width: 100%; height: 100%;box-sizing: border-box; box-shadow: inset 0 0 2px rgba(53, 15, 19, 0.5);}
#main-form .left input {width:100%; padding: 5px; box-shadow: inset 0 0 2px rgba(53, 15, 19, 0.5);}
#main-form form button {
    margin: 20px auto 0;
    display: block;
}

form .alert ul {
    list-style: none;
    padding-left: 0;
    color: #ec2034;
    font-weight: bold;
}
#astr-block {
    position:fixed;
    top:0px;
    left:0px;
    width: 100%;
    height:100%;
    z-index:1;    
}
#footer-content {
    width:auto; 
    margin:0 auto;
    font-family: sans-serif;
    font-weight:normal;
}

@media (max-width:575px) {
	.content-block {
		width:80%;
        padding: 20px;
	}
	.animated-text {
		font-weight: bold;
		font-size: 6vw;
		margin: 20px 0;
		min-height: 1em;
	}
    .slide-block {font-size: 6vw;}
    #wdev {font-size: 4vw;}
    #header-block {
        min-height:30px;    
    }
    .slide-block.slashe {padding:0 10px;}
    .content-block img {
        width: 60px;
    }
    .content-block .right img {
        width: 50px;
    }
    .content-block > div.items .right a {
        display: flex;
        width: 40px;
        height: 40px;
      }
    .content-block > div.items span {
        margin-left: 5px;
        font-size: 4vw;
        line-height: 1;
    }
    #main-form .form-block {
        width: 100%;
    }
    #main-form .left {
        width: 100%;
        padding-right: 0;        
    }
    #main-form .left input {
        margin-bottom: 15px;
    }
    #main-form .left, #main-form .right {
        width: 100%;
        padding: 0;
        height: 120px;
    }

    .content-block > div.items .right {
        margin-left: 5px;
    }
    #main-form .left, #main-form .right {height:auto;}
    #main-form .right {min-height:120px;}
    #main-form .right textarea {min-height:120px;}
    #main-form .right br {display: none;}
    #main-form .form-block .header {
        font-size: 6vw;
    }
}