html, body {
    margin: 0;
    height: 100%;
}
body{
    color: var(--text);
    background: var(--bg);
    font-size: 3em;
    transition: background 500ms ease-in-out, color 1000ms ease-in-out;
}

h1{
    font-size: 1.5em;
}

h2{
    font-size: 1.2em;
}

.lead{
    font-size: 2.5rem;
}

.privacy-span{
    font-size: 1.05em;
    font-weight: 500;
}

#smallFooter{
    font-size: .7em;
}

.checkout_fish{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    width: 40%;
    border-radius: 25%;
    border: #000 solid 1px;
}

.top-buffer{ 
    margin-top:50px; 
}

.vid-cont{
    height: 85vh;
    overflow: hidden; 
    margin:0; 
    padding:0;
    text-align: center;
}

#poster{
    overflow: hidden;
    height: auto;
    width: 100%;
}

/* ZNACZNIK <a>
-------------------------------------------------- */

a{
    color: var(--a-text);
    text-decoration: none;
}

a:focus,
a:active,
a:hover{
    color: var(--a-text-hover);
}

/* DROPDOWN DO MOTYWU
-------------------------------------------------- */

.dropdown-menu{
    background-color: var(--bg-dropdown);
    border: none;
    border-radius: 0px;
}

.dropdown-item:active{
    background-color: var(--bg);
}

#light::before{
    content: var(--bg-light);
}

#dark::before{
    content: var(--bg-dark);
} 

.dropdown-item{
    font-size: 3em;
    color: var(--text);
}

.dropdown-menu a::before{
    content:'';
    border: 1px solid white;
    width: 3.5rem;
    height: 3.5rem;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

/* NAVBAR
-------------------------------------------------- */

.navbar{
    background-color: var(--bg-nav);
    
}

.navbar a{
    color: var(--nav-text);
}


.navbar a:focus,
.navbar a:active,
.navbar a:hover{
    color: var(--a-text-hover);
}

.navbar-toggler{
    border-color: var(--bg);
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    background-color: var(--bg-dropdown1);
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon{
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(240,240,240)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-brand{
    height: 200px;
}

.navbar-toggler{
    height: 100px;
    width: 150px;
}

/* CAROUSEL
-------------------------------------------------- */

.carousel-inner-log{
    height:100%;
    width: 50vw;
}

.carousel-indicators{
     bottom: -100px;
}

.carousel-indicators li{
    margin:10px;
    text-indent:0;
    width:300px;
    height: 40px;
    border:none;
    background-color: transparent;
}

.carousel-inner img{
    width: 100%;
    height: auto;
    overflow: hidden;
}

/* FORM
-------------------------------------------------- */

input{
    text-align: center;
}

.vertical-center {
    min-height: 80%;  /* Fallback dla przegladarek ktore nie wspieraja vh */
    min-height: 80vh; 
  
    display: flex;
    align-items: center;
  }

.form-control{
    border-radius: 0;
    border:none;
    border-bottom: 2px solid var(--form-border-inactive);
    transition:all .6s;
    font-size: 1em;
}

.form-control:focus, 
.form-control:hover{
    outline: none;
    box-shadow: none;
    border-bottom: 2px solid var(--border);
}

.form-control:invalid:focus{
    border-color: var(--form-border-invalid);
}

.input-group-text{
    border: none;
    background: var(--input-background);
    border-radius: 0;
}

/* PRZYCISKI / BUTTONS
-------------------------------------------------- */

.btn{
    background-color: var(--bg-dropdown);
    font-size: 1em;
}

.btn, 
.btn:hover, 
.btn:focus, 
.btn:active{
    border-radius: 0;
    color: var(--nav-text);
    outline: none;
    box-shadow: none;
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary:hover,
.btn:focus, 
.btn:active, 
.btn:hover{
    background-color: var(--bg-dropdown1);
}

.btn-primary,
.btn-secondary{
    background-color: var(--bg-dropdown);
    color: var(--nav-text);
    border: none;
}

#theme-btn{
    position: absolute;
}

/* MARKETING CONTENT
-------------------------------------------------- */

.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
  }
  .marketing h2 {
    font-weight: 400;
  }
  .marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
  }
  

/* kawalek wziety z przykladowej strony bootstrapa */  

/* Featurettes
------------------------- */
  
.featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}
  
/* Thin out the marketing headings */

.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05rem;
}

rect{
    fill: rgb(145, 155, 155);
}

.featurette{
    display: block;
    font-size: 2em;
}

.contact-img{
    overflow: hidden;
    width: 100%;
    height: 400px;
    margin-bottom: 15px;
}

.contact-img img{
    width: 100%;
    height: auto;
}

.index-img{
    height: auto;
}

/* CART  
-------------------------------------------------------- */

.d-flex{
    justify-content: space-around;
}

.item_thumb{
    width: 100%;
    margin-top:20px;
}
  
.simpleCart_items img{
    max-height: 64px;
    max-width: 64px;
}

.simpleCart_shelfItem{
    margin: 5%;
    padding: 20px;
}

.simpleCart_remove,
.simpleCart_increment,
.simpleCart_decrement{
    color: var(--bg-dropdown);
}

/* kolor tekstu w koszyku gdy jest pusty */
.modal-title,
.showIfEmpty{
    color: #000;
}

.item_price{
    font-size: 2em;
}

/* RZECZY UZYWANE TYLKO DO 404
-------------------------------------------------- */

#bottom{
    background-color: var(--backgroundBot404);
    height: 50vh; 
    width: 102vw; 
    float: left;
}

#top{
    background: var(--backgroundTop404);
    height: 50vh; 
    width: 102vw; 
    float: left;
}

.fish-cont{
    position: absolute;
    top:30%;
    left: 15%;
    z-index: 2;
}

#fish{
    width: 5em;
    height: 5em;
    top:50vh;
    float: right;
    animation: float 5s ease-in-out infinite;
}

#bubbles{
    position: absolute;
    font-family: "PWBubbles";
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.5);
    top: 200px;
    left: 10%;
    z-index: 1;
}

#bubbles span{
    display: inline-block;
}

.bubbles-small{
    position: absolute;
    left: 20%;
    top: 10vh;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: "PWBubbles";
}

/* cubic-bezier zeby dac roznorodnosc w plywaniu babelkow */

#first4{
    animation:  move 5s cubic-bezier(0.82, 0.6, 0.45, 0.68) infinite;
}

#first0{
    animation:  move 5s linear infinite;    
}

#second4{
    animation:  move 5s cubic-bezier(0.26, 0.33, 0.95, 0.76) infinite;
}

#bubbles span:hover{
    animation: pop 1s cubic-bezier(0.16, 0.87, 0.48, 0.99) forwards;
}

/* ANIMACJE
-------------------------------------------------- */

@keyframes move{
    0%{
        transform: scale(0, 0) translateY(0);
        
    }
    50%{
        transform: scale(.5, .5) translateY(-300px);
    }
    100%{
        transform: scale(1, 1) translateY(-600px);
    }
}

@keyframes pop{
    from{
        opacity: 1;
        transform: translateZ(0) scale(1, 1);
    }
    to{
        opacity: 0;
        transform: translateZ(0) scale(1.75, 1.75);
    }
}

@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-20px);
	}
	100% {
		transform: translatey(0px);
	}
}

/* FONTY
-------------------------------------------------- */

@font-face {
    font-family: "PWBubbles";
    src:url("../media/fonts/PWBubbles.ttf");
}

  
/* RESPONSYWNY CSS
-------------------------------------------------- */
  
/* kawalek wziety z przykladowej strony bootstrapa */
@media (min-width: 40em) {
    .featurette-heading {
      font-size: 4rem;
    }
}
  
@media (min-width: 62em) {
    .featurette-heading {
      margin-top: 7rem;
    }
}



/* DUZE EKRANY
-------------------------------------------------- */

@media only screen and (min-width: 993px) {
    
    #smallFooter {
        display: none;
    }

    body{
        font-size: 1em;
    }

    .navbar-brand{
        height: 100px;
    }

    .dropdown-item{
        font-size: 1em;
    }

    .dropdown-menu a::before{
        width: 1.5rem;
        height: 1.5rem;
    }

    .privacy-span{
        font-size: 18px;
    }

    h1{
        font-size: 2.5rem;
    }

    h2{
        font-size: 2rem;
    }
    
    
    .lead{
        font-size: 1em;
    }

    .contact-img{
        margin-top: 100px; 
        width: 400px;
        height: 400px;
    }

    
    .featurette{
        display: flex;
    }

    .contact-img{
        overflow: hidden;
        width: 400px;
        height: 400px;
    }
    
    .contact-img img{
        width: 600px;
        height: auto;
    }

    .index-img{
        height: auto;
    }    

    .form-control{
        border-radius: 0;
        border:none;
        border-bottom: 2px solid var(--form-border-inactive);
        transition:all .6s;
        font-size: 17px;
    }

    .fish-cont{
        position: absolute;
        top:39%;
        left: 75%;
    }

    #fish{
        width: 15em;
        height: 15em;
    }

    #bubbles{
        position: absolute;
        font-size: 10rem;
        left: 55%;
        top: 300px;
    }

    .bubbles-small{
        display: none;
    }

    #poster{
        display: none;
    }

    /* stylowanie koszyka i products.html */
    .simpleCart_shelfItem:hover,
    .simpleCart_shelfItem:focus{
        transform:scale(1.05);
        -ms-transform:scale(1.05);
        -webkit-transform:scale(1.05);
        box-shadow: none;
        background-color: #FFF;
        color: #000;
    }
      
    .simpleCart_shelfItem{
        transition: all 0.3s;
        width: 300px;
        margin: 10%;
        padding: 20px;
    }
      
    .filter-container{
        position: absolute;
        float: left;
        left: 50%;
    }
    .mix
    {
        display: none;
    }
}


/* MALE EKRANY
-------------------------------------------------- */

@media only screen and (max-width: 992px) {
    #normalFooter {
        display: none;
    }

    #bubbles{
        display: none;
    }
    
    #video{
        display: none;
    }

    /* stylowanie koszyka i products.html */
    .modal-dialog{
        width: 100%;
        height: fit-content;
        margin: 0;
        padding: 0;
        max-width: none;
    }
      
    .modal-content{
        width: 100%;
        height: auto;
        min-height: 100%;
        border-radius: 0;
        font-size: 3rem;
    }

    .modal-title{
        font-size: 4rem;
    }

    .table{
        font-size: 2rem;
    }
    .simpleCart_shelfItem{
        width: 600px;
    }

    .item-thumb{
        display: none;
    }

    .close{
        font-size: 5rem;
    }
}

/* MOTYWY
-------------------------------------------------- */

:root{
    --green0: #00a087;
    --green1: #00705f;
    --white0: #ffffff;
    --white1: #f0f0f0;
    --red0: #f06469;
    --black0: #000000;
    --black1: #212529;
    --black2: #323538;
    --silverMetallic: #ada8b6;

    --bg-light: linear-gradient(45deg, var(--green0) 0%, var(--white1) 100%);
    --bg-dark: linear-gradient(45deg, var(--black1) 0%, var(--black2) 100%);

    /* kolory do 404 */
    --skyBlue: #72DDF7;
    --yellow: #d9dd92;
    --yellow2: #F49E4C;
    --black3: #051923;
}

.light{
    --bg: var(--white1);
    --bg-nav: var(--green0);
    --bg-dropdown: var(--green0);
    --bg-dropdown1: var(--green1);
    --dropdown-top-border: var(--black1);
    --text: var(--black1);
    --nav-text: var(--white1);
    --a-text: var(--green0);
    --a-text-hover: var(--green1);
    --border: var(--green0);
    --form-border-invalid: var(--red0);
    --form-border-inactive: var(--silverMetallic);
    --input-background: var(--white0);

    --backgroundTop404: var(--skyBlue);
    --backgroundBot404: var(--yellow);

}

.dark{
    --bg: var(--black1);
    --bg-nav: var(--black2);
    --bg-dropdown: var(--black2);
    --bg-dropdown1: var(--silverMetallic);
    --dropdown-top-border: var(--white1);
    --text: var(--white1);
    --nav-text: var(--white1);
    --a-text: var(--green0);
    --a-text-hover: var(--silverMetallic);
    --border: var(--white1);
    --form-border-invalid: var(--red0);
    --form-border-inactive: var(--silverMetallic);
    --input-background: var(--white0);

    --backgroundTop404: var(--black3);
    --backgroundBot404: var(--yellow2);

}