@keyframes bounce {
    0%, 20%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #EDF3F7;
    margin: 0;
    height: 100vh;
}

h1, h3 {
    font-family: 'Poppins', sans-serif;
    color: #153452;
}

#nav {
    background: #EDF3F7;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
}

.item {
    font-family: 'Poppins', sans-serif;
    margin: 10px;
    padding: 10px;
    text-decoration: none;
    color: #153452;
}

.one {
    justify-self: flex-start;
}

#main {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10%;
    margin-top: 10%;
}

#slogon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.heading {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
}

.par {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: #153452
}

.btn {
    font-family: 'Poppins', sans-serif;
    padding: 10px;
    font-size: 20px;
    background-color: #84B3C0;
    border: none;
    color: #ffff;
    text-decoration: none;
}

.btn:hover {
    animation: bounce 1s;
}

#info {
    display: flex;
    justify-content: space-around;
    background-color: #84B3C0;
}

.about {
    font-family: 'Poppins', sans-serif;
    color: #ffff;
    font-size: 20px;
}

#services {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.procedure {
    font-family: 'Poppins', sans-serif;
    width: 30%;
    aspect-ratio: 4/3;
    object-fit: contain;
}

#team-heading {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#team {
    display: flex;
    justify-content: center;
    align-items: center;
}

.specialst {
    padding: 10px;
    position: relative;
}

.specialst .photo:hover + .content,
.specialst .content:hover {
    opacity: 1;
}

.content {
    font-size: 12px;
    padding: 10px;
}

.specialst .photo {
    display: block;
    width: 100%;
    margin: auto;
}

.specialst .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: 0.6s;
    z-index: 1;
}

.specialst .content p {
    color: #EDF3F7;
    font-family: 'Poppins', sans-serif;
}

.specialst .name {
    color: #153452;
    background-color: #fff;
    padding: 15px;
    margin-top: 0%;
    font-family: 'Poppins', sans-serif;
}

.work {
    font-family: 'Poppins', sans-serif;
    font-weight: bolder;
}

.photo:hover {
    background-color: rgb(132, 179, 192, 0.5);
}

#questions-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.accordion {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 4px 16px;
    margin-bottom: 16px;
    width: 600px;
    box-shadow: 1px 1px 5px #c8d7e1;
}

.question {
    font-family: 'Poppins', sans-serif;
    display: flex;
    padding: 10px;
    margin: 10px;
    justify-content: space-around;
    color: #153452;
}

.question > h4 {
    margin-right: auto;
}

.answer {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: space-around;
    color: #3a5168;
    max-height: 0;
    overflow: hidden;
    transition: transform 0.2s;
    padding: 10px;
}

.answer .active {
    max-height: fit-content;
}

.icon {
    font-size: 22px;
    color: #153452;
    transition: transform 0.2s;
    padding: 10px;
}

.description {
    padding: 10px;
}

#footer {
    background-color: #153452;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 400px;
}

#footer > .heading {
    font-family: 'Poppins', sans-serif;
    color: #ffff;
    justify-self: center;
}

#myForm {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

label {
    font-family: 'Poppins', sans-serif;
    color: #ffff;
}
.input {
    font-family: 'Poppins', sans-serif;
    padding: 10px;
    background-color: #EDF3F7;
    border: none;
}
#submitBtn {
    font-family: 'Poppins', sans-serif;
    padding: 10px;
    margin-top: 20px;
    background-color: #EDF3F7;
    border: none;
    color: #153452;
}

#submitBtn:hover, #submitBtn:focus {
    transition: 1s;
    background-color: #84B3C0;
    color: #EDF3F7;
    animation: bounce 1s;
}

.ourBlock {
    background-color: #84B3C0;
    color: #fff;
    padding: 20px;

}

.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
    transition: all 1s;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}


@media all and (max-width: 800px) {
    #nav {
        font-size: 15px;
    }
    #main {
        background-image: none;
    }
    .heading {
        font-size: 35px;
    }
    .par, .btn {
        font-size: 20px;
    }
    #info {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .procedure {
        display: none;
    }

    .description {
        font-size: 15px;
    }

    .accordion {
        width: 250px;
    }

    #team {
        flex-direction: column;
        
    }
}