body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.main {
    color: #000033 !important;
}

#offline_tr {
    padding: 5% 2% 6%;
    position: relative;
    color: black;
    object-fit: cover;
    height: 90vh;
}

.offline_training_img {
    border-radius: 10%;
    height: 280px;
    width: 380px;
    margin-top: 50px;
    margin-left: 60px;
    transition: width 2s, height 2s, transform 2s;
    float: none;
}

.topnav {
    overflow: hidden;
    background-color: #0d3447;
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.topnav a:hover {
    background-color: #ddd;
    color: grey;
}

.topnav .icon {
    display: none;
}

.title {
    box-shadow: inset 0 0 0 0 #000033;
    color: #000066;
    margin: 0 -.25rem;
    padding: 0 .25rem;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
}

.title:hover {
    box-shadow: inset 600px 0 0 0 #000033;
    color: white;
}

.hover-div {
    background-color: none;
    border-radius: 5px;
}

.hover-div:hover {
    background-color: #f2f2f2;
    box-shadow: #000066;
}



@media screen and (max-width: 480px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }

    .offline_training_img {
        border-radius: 10%;
        height: 200px;
        width: 300px;
        margin: 0;
        margin-left: 0px;
        transition: width 2s, height 2s, transform 2s;

    }
    #offline_tr {
        margin-top: 10%;
        height: auto;
    }
}

@media screen and (max-width: 600px) {
    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    .offline_training_img {
        border-radius: 10%;
        height: 200px;
        width: 300px;
        transition: width 2s, height 2s, transform 2s;
        float: none;
        margin: 0;
    }

}
