*{
   box-sizing: border-box;
}

body{
    max-width: 100%;
    background: linear-gradient(-45deg, #e152ee, #d93ce7, #23a6d5, #29ec49);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

.headingone{
    color: #fffeee;
    text-shadow: 2px 2px 4px #000;
    text-align: center;
    font-family: 'Staatliches', cursive;
    font-size: 50px;
    align-items: center;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.grid{
    display:grid;
    grid-template-columns: auto auto auto auto auto auto;
    grid-gap: 30px;
    padding: 10px;
    width: 100%;
    align-items: center;
}

.grid-item {
  border: 0px solid rgba(0, 0, 0, 0.8);
  padding: 10px;
  font-size: 30px;
  text-align: center;
  cursor: pointer;
}
.floating{
    width:auto;
    height: 300px;
    box-shadow: 0px 0px 20px grey;
    border-radius: 50px;
    transition: height 1s, border-radius 2s, box-shadow 2s;
}

@media only screen and (max-width: 1920px){
    .grid {
        display: grid;
        grid-template-columns: auto auto auto auto auto;
    }
    .floating{
        width:auto;
        height: 200px;
        box-shadow: 0px 0px 20px grey;
        border-radius: 50px;
        transition: height 1s, border-radius 3s, box-shadow 3s;
    }
}

@media only screen and (max-width: 1600px){
    .grid {
        display: grid;
        grid-template-columns: auto auto auto auto auto;
    }
    .floating{
        width:auto;
        height: 200px;
        box-shadow: 0px 0px 20px grey;
        border-radius: 50px;
        transition: height 1s, border-radius 3s, box-shadow 3s;
    }
}

@media only screen and (max-width: 1200px){
    .grid {
        display: grid;
        grid-template-columns: auto auto auto;
    }
    .floating{
        width:auto;
        height: 100px;
        box-shadow: 0px 0px 20px grey;
        border-radius: 50px;
        transition: height 1s, border-radius 3s, box-shadow 3s;
    }
}

@media only screen and (max-width: 900px){
    .grid {
        display: grid;
        grid-template-columns: auto auto;
    }
    .floating{
        width:auto;
        height: 125px;
        box-shadow: 0px 0px 20px grey;
        border-radius: 10px;
        transition: height 1s, border-radius 3s, box-shadow 3s;
    }
    .headingone{
    color: #fffeee;
    text-shadow: 2px 2px 4px #000;
    text-align: center;
    font-family: 'Staatliches', cursive;
    font-size: 35px;
    align-items: center;
 }
}

.nav{
    list-style-type:none;
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 10px;
    overflow: hidden;
    background-color: #333;
}

.nav input[type=text] {
    float: right;
    padding: 6px;
    border: none;
    margin-top: 8px;
    margin-right: 16px;
    font-size: 17px;
  }

.navlist{
    display: inline;
}
.navtext{
    display:inline-block;
    color:white;
    padding: 14px 16px;
    text-decoration: none;
}
.navtext:hover{
    background-color:#111;
}

.videoplayer{
    text-align: center;
}