html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
body {
    background-color: #c8d3daff;
}
body.fade{opacity:0;-webkit-transition:none;-o-transition:none;transition:none}
.wrap {
    height: 100px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    background-image: url(./back.png);
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    /*border: solid 1px #003f79;*/ 
}

.title {
    position: absolute;
    bottom: 0;
}

.fish-right {
    position: absolute;
    bottom: -15px;
}

.fish-left {
    left: -10px;
    transition: 4s;
    animation: shake 4s infinite;
    max-width: 20%;
}

.fish-right {
    right: -30%;
    transition: 4s;
    animation: fishSlideIn 4s forwards, fishSwim 5s ease-in-out 4s infinite;
    max-width: 24%;
}

.title {
    max-width: 50%;
    left: 50%;
    transform: translateX(-50%);
    max-height: 85%;
    top: 10px;
}

.tugur {
    position: absolute;
    left: 3%;
    height: 66%;
    top: 16px;   
}

.rs {
    position: absolute;
    left: 17%;
    height: 70px;
    top: 15px;
}

@keyframes wave-shake {
    0%, 100% { transform: rotate(0deg) translateX(-50%); }
    50% { transform: rotate(2pdeg) translateX(-50%); }
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

/* Анимация выплывания рыбы справа */
@keyframes fishSlideIn {
    0% {
        right: -30%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        right: -10px;
        opacity: 1;
    }
}

/* Анимация плавания вверх-вниз */
@keyframes fishSwim {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-1.5deg);
    }
    50% {
        transform: translateY(-18px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(1.5deg);
    }
}

/* Анимация пузырей */
@keyframes bubbleRise {
    0% {
        transform: translateY(0) scale(0.3);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    70% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}


.bubble {
    position: absolute;
    bottom: 5px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,1), rgba(12, 142, 255, 0.3));
    border: 2px solid rgb(255, 255, 255);
    box-shadow: 0 0 4px rgba(255,255,255,0.4);
    animation: bubbleRise 3s ease-in infinite;
}

.bubble:nth-child(1) {
    right: 18%;
    width: 18px;
    height: 18px;
    animation-duration: 3.2s;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    right: 22%;
    width: 16px;
    height: 16px;
    animation-duration: 2.8s;
    animation-delay: 0.6s;
}

.bubble:nth-child(3) {
    right: 15%;
    width: 17px;
    height: 17px;
    animation-duration: 3.5s;
    animation-delay: 0.2s;
}

.bubble:nth-child(4) {
    right: 25%;
    width: 15px;
    height: 15px;
    animation-duration: 2.5s;
    animation-delay: 0.8s;
}

.bubble:nth-child(5) {
    right: 12%;
    width: 19px;
    height: 19px;
    animation-duration: 3.8s;
    animation-delay: 0.2s;
}

.bubble:nth-child(6) {
    right: 20%;
    width: 16px;
    height: 16px;
    animation-duration: 3s;
    animation-delay: 0.1s;
}

@media only screen and (max-width:960px) {
    .title {
        height: 60%;
        top: 20%;
    }

    .tugur {
        bottom: 10px;
        height: 50%;
        top: auto;
    }

    .rs {
        bottom: 10px;
        height: 58%;
        top: auto;
    }
}

@media only screen and (max-width:420px) {
    .title {
        height: 50%;
        top: 25%;
    }
    .tugur {
        bottom: auto;
        height: 35%;
        top: 10px;
    }

    .rs {
        bottom: 5px;
        height: 40%;
        top: auto;
        left: 5%;
    }

    .fish-right {
        position: absolute;
        bottom: 0px;
        max-width: 31%;
    }
}