* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background: #fefefe;
    font-family: sans-serif;
}

.container {
    width: 90%;
    margin: 50px auto;
}

/* Header/logo Title */

.header {
    padding: 90px;
    text-align: center;
    color: white;
    /* animation: myanimation 10s infinite; */
    background:
    linear-gradient(27deg, #151515 5px, transparent 5px) 0 5px,
    linear-gradient(207deg, #151515 5px, transparent 5px) 10px 0px,
    linear-gradient(27deg, #222 5px, transparent 5px) 0px 10px,
    linear-gradient(207deg, #222 5px, transparent 5px) 10px 5px,
    linear-gradient(90deg, #1b1b1b 10px, transparent 10px),
    linear-gradient(#1d1d1d 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424);
    background-color: #131313;
    background-size: 20px 20px;
}

/* background color change animation */

/* @keyframes myanimation {
    0% {
        background-color: rgb(49, 242, 184);
    }
    25% {
        background-color: rgb(136, 128, 247);
    }
    50% {
        background-color: rgb(245, 111, 111);
    }
    75% {
        background-color: rgb(136, 128, 247);
    }
    100% {
        background-color: rgb(100, 88, 88);
    }
} */

.header:hover {
    color: rgb(255, 120, 52);
    transition-duration: 1.4s;
}

/* for heading text */

.heading {
    text-align: center;
    font-size: 15px;
    margin-bottom: 30px;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-flow: wrap;
}

.card {
    width: 30%;
    background: #fff;
    border: 3px solid #ccc;
    margin-bottom: 50px;
    transition: 0.2s;
    box-shadow: -3px 05px 20px rgb(184, 184, 184), 10px -5px 25px rgb(177, 170, 170), 8px 8px 5px rgb(211, 177, 177);
}

.card-header {
    text-align: center;
    padding: 50px 10px;
    /* background-image: url("bcpic.png"); */
    background: linear-gradient(to right, #e6a340, #f84f32);
    color: #fff;
}

.card-body {
    padding: 30px 20px;
    text-align: center;
    font-size: 18px;
}

.card-body .btn {
    display: block;
    color: #fff;
    text-align: center;
    background: linear-gradient(to right, #ff416c, #ff4b2b);
    margin-top: 30px;
    text-decoration: none;
    padding: 10px 5px;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px -10px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 1000px) {
    .card {
        width: 40%;
    }
}

@media screen and (max-width: 620px) {
    .container {
        width: 100%;
    }
    .heading {
        padding: 20px;
        font-size: 20px;
    }
    .card {
        width: 80%;
    }
}

/* navigation bar css */

/* Add a black background color to the top navigation */

.topnav {
    background-color: #333;
    overflow: hidden;
}

/* Style the links inside the navigation bar */

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Add an active class to highlight the current page */

.active {
    background-color: #4CAF50;
    color: white;
}

/* Hide the link that should open and close the topnav on small screens */

.topnav .icon {
    display: none;
}

/* Dropdown container - needed to position the dropdown content */

.dropdown {
    float: left;
    overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */

.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

/* Style the dropdown content (hidden by default) */

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Style the links inside the dropdown */

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */

.topnav a:hover, .dropdown:hover .dropbtn {
    background-color: #555;
    color: white;
}

/* Add a grey background to dropdown links on hover */

.dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */

.dropdown:hover .dropdown-content {
    display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */

@media screen and (max-width: 600px) {
    .topnav a:not(:first-child), .dropdown .dropbtn {
        display: none;
    }
    .topnav a.icon {
        float: right;
        display: block;
    }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */

@media screen and (max-width: 600px) {
    .topnav.responsive {
        position: relative;
    }
    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .topnav.responsive .dropdown {
        float: none;
    }
    .topnav.responsive .dropdown-content {
        position: relative;
    }
    .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }
}

.footer {
    padding: 30px;
    text-align: center;
    color: rgb(238, 66, 66);
    background-color: rgb(36, 32, 31);
}

.footericon {
    height: 30px;
    width: auto;
    border-radius: 10px;
}

.socialicon {
    height: 30px;
    width: auto;
}

.footericon:hover {
    background-color: rgb(255, 255, 255);
}

/* flex box responsive section */

.row2 {
    display: -ms-flexbox;
    /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap;
    /* IE10 */
    flex-wrap: wrap;
}

/* Create two unequal columns that sits next to each other */

/* Sidebar/left column */

.main {
    -ms-flex: 50%;
    /* IE10 */
    flex: 50%;
    background-color: #f1f1f1;
    padding: 20px;
}

/* Main column */

.side {
    -ms-flex: 50%;
    /* IE10 */
    flex: 50%;
    background-color: white;
    padding: 20px;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 700px) {
    .row2 {
        flex-direction: column;
    }
}

/* scrollbar style update */

/* width */

::-webkit-scrollbar {
    width: 18px;
}

/* Track */

/* ::-webkit-scrollbar-track {
    box-shadow: inset 2px 2px 5px rgb(225, 98, 98);
    border-radius: 20px;
} */

/* Handle */

::-webkit-scrollbar-thumb {
    background: rgb(255, 110, 110);
    border-radius: 20px;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: #e85f5f;
}