html,
body {
    width: 100%;
    height: 100%;
    font-family: 'Roboto';
}

#banner-336x300,
#banner-120x600,
#banner-728x90 {
    width: 100%;
    display: block;
    text-align: center;
}

#banner-120x600{
    height: 100%;
}

img {
    position: absolute;
    height: auto;
}

a{
    display: inline-block;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

h1 {
    font-family: 'Caveat Brush';
    color: #3281B2;
    margin: 0;
    z-index: 10;
    font-weight: normal;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
}

h2 {
    font-family: 'Caveat Brush';
    color: #F26721;
    margin: 0;
    z-index: 10;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
}

p {
    font-family: 'Roboto';
    color: #fff;
    margin: 0 0 10px 0;
    padding: 0 15px;
    z-index: 10;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
}

span {
    display: inline-block;
    color: #fff;
    border-radius: 3px;
    padding: 0 15px;
    height: 30px;
    line-height: 30px;
    font-weight: bold;
    background: #fbb040;
    /* Old browsers */
    background: -moz-linear-gradient(top, #fbb040 0%, #f7941d 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #fbb040 0%, #f7941d 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #fbb040 0%, #f7941d 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb040', endColorstr='#f7941d', GradientType=0);
    /* IE6-9 */
    z-index: 10;
}

#sky {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#9adbf9+0,dceef2+100 */
    background: #9adbf9;
    /* Old browsers */
    background: -moz-linear-gradient(top, #9adbf9 0%, #dceef2 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #9adbf9 0%, #dceef2 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #9adbf9 0%, #dceef2 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9adbf9', endColorstr='#dceef2', GradientType=0);
    /* IE6-9 */
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 50%;
}

#sky:after {
    content: "";
    width: 100%;
    height: 20px;
    background: url(img/water.svg);
    background-size: 100% auto;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
}

#water {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#1f9ec2+0,1d7195+98 */
    background: #1f9ec2;
    /* Old browsers */
    background: -moz-linear-gradient(top, #1f9ec2 0%, #1d7195 98%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #1f9ec2 0%, #1d7195 98%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #1f9ec2 0%, #1d7195 98%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1f9ec2', endColorstr='#1d7195', GradientType=0);
    /* IE6-9 */
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 50%;
}

#water:after {
    content: "";
    width: 100%;
    height: 20px;
    background: url(img/sand.svg);
    background-size: 120% auto;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
}

.bubble {
    background: rgba(255, 255, 255, 0.3);
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3);
    position: absolute;
    opacity: 0;
    z-index: 1;
}

#bubble1 {
    left: 20px;
    bottom: 0;
}

#bubble2 {
    left: 60px;
    bottom: 20px;
}

#bubble3 {
    left: 130px;
    bottom: 10px;
}

#bubble4 {
    left: 180px;
    bottom: 0px;
}

#bubble5 {
    left: 240px;
    bottom: 5px;
}

#banner-336x300 #sun {
    top: 20px;
    left: 20px;
    width: 50px;
}

#banner-336x300 #cloud1 {
    top: 30px;
    right: 120px;
    width: 55px;
}

#banner-336x300 #cloud2 {
    top: 20px;
    right: 70px;
    width: 75px;
}

#banner-336x300 #fishman {
    bottom: -20px;
    right: 20px;
    width: 135px;
}

#banner-336x300 h1 {
    font-size: 34px;
    margin-top: 90px;

}

#banner-336x300 h2 {
    font-size: 30px;
}

#banner-336x300 #fish1 {
    bottom: 20px;
    left: 20px;
    width: 65px;
}

#banner-336x300 #fish2 {
    bottom: 40px;
    left: 120px;
    width: 50px;
}

#banner-336x300 #fish3 {
    bottom: 30px;
    left: 180px;
    width: 55px;
}

#banner-336x300 #alga {
    bottom: 15px;
    right: 15px;
    width: 70px;
}

#banner-336x300 p:first-child {
    font-size: 20px;
    margin-top: 30px;
}

/*FEKVŐ*/

#banner-728x90 #sky:after {
    height: 10px;
    background-size: auto 10px;
}

#banner-728x90 #water:after {
    height: 10px;
    background-size: auto 10px;
}

#banner-728x90 #sun {
    top: -40px;
    left: -50px;
    width: 80px;
}

#banner-728x90 #cloud1 {
    top: 15px;
    right: 140px;
    width: 55px;
}

#banner-728x90 #fishman {
    bottom: -15px;
    right: 20px;
    width: 90px;
}

#banner-728x90 h1,
#banner-728x90 h2 {
    font-size: 30px;
    text-align: left;
    display: inline-block;
    margin-left: 20px;
    float: left;
    margin-top: 20px;
}

#banner-728x90 p {
    font-size: 14px;
    text-align: left;
    margin-left: 15px;
    margin-bottom: 0px;
}

#banner-728x90 p:first-of-type {
    font-size: 18px;
    margin-top: 10px;
}

#banner-728x90 #fish1 {
    bottom: 20px;
    right: 100px;
    width: 45px;
}

#banner-728x90 #fish3 {
    bottom: 20px;
    right: 160px;
    width: 50px;
}

#banner-728x90 #alga {
    bottom: 5px;
    right: 20px;
    width: 50px;
}

#banner-728x90 span {
    bottom: 18px;
    left: 280px;
    position: absolute;
}

/*ÁLLÓ*/

#banner-120x600 #sky:after {
    height: 10px;
    background-size: auto 10px;
}

#banner-120x600 #water:after {
    height: 10px;
    background-size: auto 10px;
}

#banner-120x600 #sun {
    top: -40px;
    left: -40px;
    width: 80px;
}

#banner-120x600 #cloud1 {
    top: 20px;
    right: 20px;
    width: 55px;
}

#banner-120x600 #fishman {
    bottom: -15px;
    right: 20px;
    width: 90px;
}

#banner-120x600 h1 {
    font-size: 20px;
    margin-top: 50px;
}

#banner-120x600 h1 b {
    font-size: 40px;
}

#banner-120x600 h2 {
    font-size: 24px;
    padding: 0 10px;
    margin-top: 10px;
}

#banner-120x600 p {
    font-size: 13px;
    padding: 0 10px;
    line-height: 1.2;
    margin-top: 15px;
}

#banner-120x600 p:first-of-type {
    font-size: 14px;
}

#banner-120x600 span {
    font-size: 11px;
    height: 24px;
    line-height: 24px;
    padding: 0 10px;
}

#banner-120x600 #fish1 {
    bottom: 20px;
    left: 15px;
    width: 45px;
}

#banner-120x600 #alga {
    bottom: 5px;
    right: 10px;
    width: 40px;
}

/*ANIMATION*/

#sun {
    animation: rotate 5s linear infinite;
    -webkit-animation: rotate 5s linear infinite;
    -moz-animation: rotate 5s linear infinite;
    -o-animation: rotate 5s linear infinite;
}

#bubble1 {
    transform: scale(0);
    animation: bubbles 5s linear infinite;
    -webkit-animation: bubbles 5s linear infinite;
    -moz-animation: bubbles 5s linear infinite;
    -o-animation: bubbles 5s linear infinite;
}

#bubble2 {
    transform: scale(0);
    animation: bubbles 10s linear infinite;
    -webkit-animation: bubbles 10s linear infinite;
    -moz-animation: bubbles 10s linear infinite;
    -o-animation: bubbles 10s linear infinite;
}

#bubble3 {
    transform: scale(0);
    animation: bubbles 6s linear infinite;
    -webkit-animation: bubbles 6s linear infinite;
    -moz-animation: bubbles 6s linear infinite;
    -o-animation: bubbles 6s linear infinite;
}

#bubble4 {
    transform: scale(0);
    animation: bubbles 12s linear infinite;
    -webkit-animation: bubbles 12s linear infinite;
    -moz-animation: bubbles 12s linear infinite;
    -o-animation: bubbles 12s linear infinite;
}

#bubble5 {
    transform: scale(0);
    animation: bubbles 3s linear infinite;
    -webkit-animation: bubbles 3s linear infinite;
    -moz-animation: bubbles 3s linear infinite;
    -o-animation: bubbles 3s linear infinite;
}

h1 {
    opacity: 0;
    animation: fadein 3s ease forwards;
    -webkit-animation: fadein 3s ease forwards;
    -moz-animation: fadein 3s ease forwards;
    -o-animation: fadein 3s ease forwards;
}

h2 {
    opacity: 0;
    animation: fadein 3s ease 0.5s forwards;
    -webkit-animation: fadein 3s ease 0.5s forwards;
    -moz-animation: fadein 3s ease 0.5s forwards;
    -o-animation: fadein 3s ease 0.5s forwards;
}
p {
    opacity: 0;
    animation: fadein 3s ease 2s forwards;
    -webkit-animation: fadein 3s ease 2s forwards;
    -moz-animation: fadein 3s ease 2s forwards;
    -o-animation: fadein 3s ease 2s forwards;
}
span {
    opacity: 0;
    animation: fadein 3s ease 2.5s forwards;
    -webkit-animation: fadein 3s ease 2.5s forwards;
    -moz-animation: fadein 3s ease 2.5s forwards;
    -o-animation: fadein 3s ease 2.5s forwards;
}
#fishman {
    visibility: hidden;
    animation: slideinright 2s ease 1s forwards;
    -webkit-animation: slideinright 2s ease 1s forwards;
    -moz-animation: slideinright 2s ease 1s forwards;
    -o-animation: slideinright 2s ease 1s forwards;
}
#alga {
    opacity: 0;
    animation: scale 2s ease 3s forwards;
    -webkit-animation: scale 2s ease 3s forwards;
    -moz-animation: scale 2s ease 3s forwards;
    -o-animation: scale 2s ease 3s forwards;
}

#fish1 {
    animation: fish 5s ease infinite;
    -webkit-animation: fish 5s ease infinite;
    -moz-animation: fish 5s ease infinite;
    -o-animation: fish 5s ease infinite;
}

#fish2 {
    animation: fish 10s ease infinite;
    -webkit-animation: fish 10s ease infinite;
    -moz-animation: fish 10s ease infinite;
    -o-animation: fish 10s ease infinite;
}

#fish3 {
    animation: fish 7s ease infinite;
    -webkit-animation: fish 7s ease infinite;
    -moz-animation: fish 7s ease infinite;
    -o-animation: fish 7s ease infinite;
}

#banner-336x300,
#banner-728x90{
    position: absolute;
    height: 200%;
    animation: scene 2s ease 5s forwards;
    -webkit-animation: scene 2s ease 5s forwards;
    -moz-animation: scene 2s ease 5s forwards;
    -o-animation: scene 2s ease 5s forwards;
}

@keyframes scene{
    0%{top:0;}
    100%{top:-100%;}
}


@keyframes fish{
    0%{margin-bottom: 0; left: -50px;}
    50%{margin-bottom: 30px; left: 50%;}
    100%{margin-bottom: 0; left: 110%;}
}

@-webkit-keyframes fish{
    0%{margin-bottom: 0; left: -50px;}
    50%{margin-bottom: 30px; left: 50%;}
    100%{margin-bottom: 0; left: 110%;}
}
@-moz-keyframes fish{
    0%{margin-bottom: 0; left: -50px;}
    50%{margin-bottom: 30px; left: 50%;}
    100%{margin-bottom: 0; left: 110%;}
}
@-o-keyframes fish{
    0%{margin-bottom: 0; left: -50px;}
    50%{margin-bottom: 30px; left: 50%;}
    100%{margin-bottom: 0; left: 110%;}
}

@keyframes scale{
    0%{margin-bottom: 0; left: -50px;}
    50%{margin-bottom: 30px; left: 50%;}
    100%{margin-bottom: 0; left: 110%;}
}

@keyframes scale{
    0%{transform: scale(0); opacity: 0; bottom: -100px;}
    100%{transform: scale(1); opacity: 1; bottom: 5px;}
}
@-webkit-keyframes scale{
    0%{-webkit-transform: scale(0); opacity: 0; bottom: -100px;}
    100%{-webkit-transform: scale(1); opacity: 1; bottom: 5px;}
}
@-moz-keyframes scale{
    0%{-moz-transform: scale(0); opacity: 0; bottom: -100px;}
    100%{-moz-transform: scale(1); opacity: 1; bottom: 5px;}
}
@-o-keyframes scale{
    0%{-o-transform: scale(0); opacity: 0; bottom: -100px;}
    100%{-o-transform: scale(1); opacity: 1; bottom: 5px;}
}

@keyframes slideinright{
    0%{ right: -200px; visibility: visible;}
    100%{right: 20px; visibility: visible;}
}
@-webkit-keyframes slideinright{
    0%{ right: -200px; visibility: visible;}
    100%{right: 20px; visibility: visible;}
}
@-moz-keyframes slideinright{
    0%{ right: -200px; visibility: visible;}
    100%{right: 20px; visibility: visible;}
}
@-o-keyframes slideinright{
    0%{ right: -200px; visibility: visible;}
    100%{right: 20px; visibility: visible;}
}
@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
@-moz-keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
@-o-keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes bubbles {
    0% {
        margin-left: 0px;
        bottom: 0;
        opacity: 0;
        transform: scale(0)
    }

    25% {
        margin-left: 15px;
        bottom: 25%;
        opacity: 0.5;
        transform: scale(1)
    }

    50% {
        margin-left: 0px;
        bottom: 50%;
        opacity: 1;
        transform: scale(1)
    }

    75% {
        margin-left: 15px;
        bottom: 75%;
        opacity: 1;
        transform: scale(1)
    }

    100% {
        margin-left: 0px;
        bottom: 100%;
        opacity: 0;
        transform: scale(0)
    }
}

@-webkit-keyframes bubbles {
    0% {
        margin-left: 0px;
        bottom: 0;
        opacity: 0;
        -webkit-transform: scale(0)
    }

    25% {
        margin-left: 15px;
        bottom: 25%;
        opacity: 0.5;
        -webkit-transform: scale(1)
    }

    50% {
        margin-left: 0px;
        bottom: 50%;
        opacity: 1;
        -webkit-transform: scale(1)
    }

    75% {
        margin-left: 15px;
        bottom: 75%;
        opacity: 1;
        -webkit-transform: scale(1)
    }

    100% {
        margin-left: 0px;
        bottom: 100%;
        opacity: 0;
        -webkit-transform: scale(0)
    }
}

@-moz-keyframes bubbles {
    0% {
        margin-left: 0px;
        bottom: 0;
        opacity: 0;
        -moz-transform: scale(0)
    }

    25% {
        margin-left: 15px;
        bottom: 25%;
        opacity: 0.5;
        -moz-transform: scale(1)
    }

    50% {
        margin-left: 0px;
        bottom: 50%;
        opacity: 1;
        -moz-transform: scale(1)
    }

    75% {
        margin-left: 15px;
        bottom: 75%;
        opacity: 1;
        -moz-transform: scale(1)
    }

    100% {
        margin-left: 0px;
        bottom: 100%;
        opacity: 0;
        -moz-transform: scale(0)
    }
}

@-o-keyframes bubbles {
    0% {
        margin-left: 0px;
        bottom: 0;
        opacity: 0;
        -o-transform: scale(0)
    }

    25% {
        margin-left: 15px;
        bottom: 25%;
        opacity: 0.5;
        -o-transform: scale(1)
    }

    50% {
        margin-left: 0px;
        bottom: 50%;
        opacity: 1;
        -o-transform: scale(1)
    }

    75% {
        margin-left: 15px;
        bottom: 75%;
        opacity: 1;
        -o-transform: scale(1)
    }

    100% {
        margin-left: 0px;
        bottom: 100%;
        opacity: 0;
        -o-transform: scale(0)
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

@-webkit-keyframes rotate {
    from {
        -webkit-transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(360deg)
    }
}

@-moz-keyframes rotate {
    from {
        -moz-transform: rotate(0deg)
    }

    to {
        -moz-transform: rotate(360deg)
    }
}

@-o-keyframes rotate {
    from {
        -o-transform: rotate(0deg)
    }

    to {
        -o-transform: rotate(360deg)
    }
}
