body {
    margin: 0;
    padding: 0;
}
#hero img {
    width: 100vw;
    height: 30vw;
    display: block;
}

.container-fluid {
    gap: 2rem;
    background: #CBCED0;
    height: 2.5rem;
    margin-top: -1rem !important;
   /* Upward shadow */
    box-shadow: 0 0px 30px 1.5rem rgba(25, 27, 32, 0.596);
}



.navbar .navbar-nav .nav-link  {
    position: relative;
    padding: 0.5rem 3rem 0.5rem 3rem;
}

.nav-link {
    color: #1A293B;
    padding: 1rem 1.5rem;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.5s, color 0.5s;
    height: 100%;
}

.nav-link:hover {
    background: #b2b4b4;
    color: #F5C273;
}

a.active {
    background: #8D8F98;
    color: #fff;
}

.main-content{
   background-image: url('../images/bg-image-placeholder.webp');
   background-size: cover;
    background-position: center;
   margin-top:-4rem
}

#what-is-prevent {
    background-color: rgba(27, 33, 44, 0.8);
    border: 3px solid #d9e3eb;
    color: #B3D4E9;
    margin-top: 40px;
}

#what-is-prevent h1 {
    padding-top: 2rem;
    color: #F5C273;
}

#what-is-prevent h3 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

#what-is-prevent img {
    border-radius: 50%;
    height: 20rem;
    width:20rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

#what-is-prevent p {
    padding: 1rem 2.5rem 1rem 2.5rem;
    background-color: rgba(27, 33, 44, 0.884) !important;
    border-radius: 1rem;
    height:10rem;
    width:40rem;
    justify-content: center;
}

#what-is-prevent .row {
    justify-content: center !important;
    align-items: center !important;
}


.collapse-button {
    background-color:rgba(52, 57, 71, 0.75) !important;
    border: #d9e3eb !important;
    font-size: x-large;
}

#contact {
    background-color:#CBCED0;
    justify-content: center;
}

#contact h3 {
padding-top: 2rem;
}

.row {
    width:auto !important;
}
.location {
    justify-content: center;
}

.social-links a {
    font-size:4rem;
    color:#1A293B !important;
    padding-left: 2rem;
    justify-content: center;
}


/*Contacts*/

.info-table {
    background: rgba(27, 33, 44, 0.88);
    color: #B3D4E9;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.info-table td, .info-table th {
    background: transparent;
    color: #B3D4E9;
    border-width: 0;
    vertical-align: middle;
    text-align: center;
    min-width: 100px;
    height: 60px;
    font-size: 1.1rem;
}

/*Risk Assessment Form*/ 
.info-paragraph {
    background: rgba(27, 33, 44, 0.88);
    color: #B3D4E9;
    border-radius: 1rem;
    padding: 2rem;
    min-height: 200px;
    max-width: 600px;
    width: 100%;
    margin: 1rem auto;         
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    display: block;            
    text-align: center;
}

.info-paragraph form {
    width: 100%;
    margin: 0 auto;
}

#submit {
    background-color: #F5C273 !important;
    color: #1A293B;
}

@media screen and (max-width: 768px) {
    #what-is-prevent img {
        height: 10rem;
        width: 10rem;
        margin: 2rem 0rem 0rem 0rem;
    }

    .main-content{
        background-position: center;
    }

    #what-is-prevent p {
    border-radius: 1rem;

}
    
    .navbar .navbar-nav .nav-link  {
    position: relative;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
}

    .info-paragraph {
        padding: 1rem;
        max-width: 98vw;
        font-size: 1rem;
    }
    .info-paragraph form {
        width: 100%;
    }
    .form-control, .btn {
        font-size: 1rem;
    }
}