@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(to right, rgb(15, 0, 231), rgba(156, 1, 1, 0.712));
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {

    width: 90%;
    height: 90vh;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    box-shadow: 4px -4px 10px 0px rgb(187, 181, 241);
}

.container:hover {
    background: #0a65dd;
    box-shadow: 4px -3px 9px 0px rgb(27, 49, 49);

}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
}

nav {
    width: 95%;
    display: flex;
    justify-content: space-between;
    margin: auto;

}

.logo {
    height: 15vh;
    justify-content: space-between;
    width: 30%;
    align-items: center;
    display: flex;
    font-size: 40px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    margin: 5px;
    letter-spacing: 3px;

}

.nav-list {
    display: flex;
    align-items: center;
    width: 40%;
    justify-content: space-around;

}

.showIcon {
    height: 6vh;
    width: 20px;
    transform: translateY(105%);
    margin-right: 23px;
    display: none;
    font-size: 30px;

}

.nav-list li:hover {
    transform: scale(1.2);
    transition: transform 0.3s;
}

.nav-list li a:hover {
    color: rgb(4, 5, 39);
}

.logo:hover {
    transform: scale(1.1);
    transition: transform 0.3s;
    color: rgb(4, 5, 39);
}

h2:hover {

    transition: 0.4s;
    color: rgb(4, 5, 39);

}

.details-container {
    width: 70%;
    padding: 15px;
    border-radius: 6px;
    margin: 15px;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 4px -3px 9px 0px rgb(187, 181, 241);
    margin-left: 15%;
    height: 70%;
}

.pic {
    height: 28vh;
    margin-top: 10px;
    margin-left: 10px;
}

.pic img {
    height: 100%;
}

img {
    clip-path: circle(47%);
    size: 20px;
}

h2 {
    background: rgba(255, 255, 255, 0.3);
    text-align: center;
    margin-top: -20%;
    width: 40%;
    margin-left: 40%;
    font-size: 22px;
    padding: 5px;
}

h2:hover {
    background: #0394ce;
    color: rgba(255, 255, 255, 0.925);
    box-shadow: 2px -1px 4px 0px rgb(41, 52, 53);
}

h3:hover {
    background: #0394ce;
    color: rgba(255, 255, 255, 0.925);
    box-shadow: 2px -1px 4px 0px rgb(41, 52, 53);
}

h4:hover {
    background: #0394ce;
    color: rgba(255, 255, 255, 0.925);
    box-shadow: 2px -1px 4px 0px rgb(41, 52, 53);
}

h3 {
    text-align: center;
    margin-top: 7%;
    background: rgba(255, 255, 255, 0.3);
    width: 30%;
    margin-left: 44%;
    color: #0d0513;
    padding: 2px;
}

h6 {
    text-align: center;
    margin-left: 17%;
    font-size: 16px;
    margin-top: 18px;
    color: #000;
    font-weight: lighter;

}

h4 {
    text-align: center;
    margin-top: 4%;
    background: rgba(255, 255, 255, 0.3);
    width: 25%;
    margin-left: 46%;
}

h4:hover {
    background: #0394ce;
    color: rgba(255, 255, 255, 0.925);
    box-shadow: 2px -1px 4px 0px rgb(41, 52, 53);
}

h5 {
    text-align: center;
    margin-left: 17%;
    font-size: 16px;
    margin-top: 12px;
    color: rgb(0, 0, 0);
    font-weight: lighter;

}
.bubbles img{
    width:50px;
    animation: bubble 7s linear infinite;
}
.bubbles{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    bottom: -60px;
    position: fixed;
}
@keyframes bubble{
    0%{
        transform: translateY(0);
        opacity: 0;
    }
    50%{
        opacity: 1;
    }
    70%{
        
        opacity: 1;
    }
    100%{
        transform: translateY(-100vh);
        opacity: 0;
    }
}

.bubbles img:nth-child(1){
    animation-delay: 2s;
    width: 25px;
}
.bubbles img:nth-child(2){
    animation-delay: 1s;
}
.bubbles img:nth-child(3){
    animation-delay: 3s;
    width: 25px;
}
.bubbles img:nth-child(4){
    animation-delay: 4.5s;
}
.bubbles img:nth-child(5){
    animation-delay: 3s;
}
.bubbles img:nth-child(6){
    animation-delay: 6s;
    width: 35px;
}
.bubbles img:nth-child(7){
    animation-delay: 7s;
    width: 55px;
}
.bubbles img:nth-child(8){
    animation-delay: 3.5s;
    width: 25px;
}
@media(max-width:580px) {
    .nav-list {
        width: 40%;
    }

    .details-container {
        width: 70%;
        padding: 16px;
        border-radius: 6px;
        margin: 12px;
        background-color: rgba(255, 255, 255, 0.2);
        box-shadow: 4px -3px 9px 0px rgb(187, 181, 241);
        margin-left: 15%;
        height: 75%;
    }

    }




@media(max-width:980px) {
    .nav-list {
        /* display: none; */
        position: fixed;
        top: 20vh;
        right: 0;
        flex-direction: column;
        height: 63vh;
        margin-top: 2.5%;
        width: 25%;
        transform: translateX(100%);
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 10px 0 10px 0;
        transition: transform 0.6s;

    }

    .showIcon {
        display: block;
    }
    .pic {
        height: 20vh;
        margin-top: 10px;
        margin-left: 10px;
    }

    .pic img {
        height: 80%;
    }

    img {
        clip-path: circle(47%);
        size: 20px;
    }

    h2 {
        background: rgba(255, 255, 255, 0.3);
        text-align: center;
        margin-top: -4%;
        width: 50%;
        margin-left: 9%;
        font-size: 25px;
        padding: 4px;
    }

    h3 {
        text-align: center;
        margin-top: 9%;
        background: rgba(255, 255, 255, 0.3);
        width: 30%;
        margin-left: 9.4%;
        color: #0d0513;
        padding: 2px;
        font-size: 22px;
    }

    h6 {
        text-align: center;
        margin-left: 1%;
        font-size: 23px;
        margin-top: 6%;
        width: 90%;
        color: #000;
        font-weight: 500;

    }

    h4 {
        text-align: center;
        margin-top: 4%;
        background: rgba(255, 255, 255, 0.3);
        width: 25%;
        font-size: 22px;
        margin-left: 9%;
    }

    h5 {
        text-align: center;
        margin-left: -10%;
        font-size: 22px;
        margin-top: 13px;
        color: rgb(0, 0, 0);
        font-weight: lighter;

    }

    h2:hover {
        background: #0394ce;
        color: rgba(255, 255, 255, 0.925);
        box-shadow: 2px -1px 4px 0px rgb(41, 52, 53);
    }

    h3:hover {
        background: #0394ce;
        color: rgba(255, 255, 255, 0.925);
        box-shadow: 2px -1px 4px 0px rgb(41, 52, 53);
    }

    h4:hover {
        background: #0394ce;
        color: rgba(255, 255, 255, 0.925);
        box-shadow: 2px -1px 4px 0px rgb(41, 52, 53);
    }

}

.display {
    transform: translateX(0%);

}

@media only screen and (max-width:530px) {
    .details-container {
        height: 70%;
    }

    .pic {
        height: 15vh;
        margin-top: 10px;
        margin-left: 10px;
    }

    .pic img {
        height: 90%;
    }

    img {
        clip-path: circle(40%);
        size: 20px;
    }

    h2 {
        background: rgba(255, 255, 255, 0.3);
        text-align: center;
        margin-top: -29%;
        width: 60%;
        margin-left: 38%;
        font-size: 10px;
        padding: 4px;
    }

    h3 {
        text-align: center;
        margin-top: 15%;
        background: rgba(255, 255, 255, 0.3);
        width: 60%;
        margin-left: 2%;
        color: #0d0513;
        padding: 2px;
        font-size: 10px;
    }

    h6 {
        text-align: center;
        margin-left: 2%;
        font-size: 10px;
        margin-top: 18px;
        color: #000;
        width: 35%;
        font-weight: 600;

    }

    h4 {
        text-align: center;
        margin-top: 15%;
        background: rgba(255, 255, 255, 0.3);
        width: 37%;
        margin-left: 3%;
        font-size: 10px;
    }

    h5 {
        text-align: center;
        margin-left: -6%;
        font-size: 10px;
        margin-top: 28px;
        color: rgb(0, 0, 0);
        font-weight: 600;
        width: 95%;

    }
    h2:hover {
        background: #0394ce;
        color: rgba(255, 255, 255, 0.925);
        box-shadow: 2px -1px 4px 0px rgb(41, 52, 53);
    }
    
    h3:hover {
        background: #0394ce;
        color: rgba(255, 255, 255, 0.925);
        box-shadow: 2px -1px 4px 0px rgb(41, 52, 53);
    }
    h4:hover {
        background: #0394ce;
        color: rgba(255, 255, 255, 0.925);
        box-shadow: 2px -1px 4px 0px rgb(41, 52, 53);
    }


    .logo {
        height: 15vh;
        justify-content: space-between;
        width: 100px;
        align-items: center;
        display: flex;
        font-size: 30px;
        font-weight: bold;
        padding-left: 5px;
    }


}
