/*Connecting the font*/

@font-face {
    font-family: 'Roboto Slab';
    src: url('fonts/RobotoSlab-Bold.ttf') format('truetype');
    /*font-weight: 400;*/
    /* Regular weight */
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('fonts/RobotoSlab-Regular.ttf') format('truetype');
    /*font-weight: 700;*/
    /* Bold weight */
    font-style: normal;
}

body {
    background-color: white;
    font-family: 'Roboto Slab', serif;
    overflow-x: hidden;
}

body::selection {
    color: white;
    background-color: #004232;
}

/* Disabling outline for all elements */
a,
input,
button,
textarea,
select {
    outline: none;
    font-family: 'Roboto Slab', sans-serif;
}

/* Enabling pointer for all buttons */
button {
    cursor: pointer;
}

img {
    height: 100px;
    width: 100px;
    border-radius: 50%;
}

.top-div {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    justify-content: space-between;
    background-color: #eaf5f1;
}

.top-btn {
    width: 90px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eaf5f1;
    border-radius: 10px;
    border: 1px solid #004232;
    text-decoration: none;
    color: #004232;
}

.top-h-one {
    font-size: 35px;
}

.top-left-btn {
    width: 120px;
    height: 40px;
    font-size: 20px;
    background-color: #004232;
    color: #eaf5f1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.dot {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #004232;
}

.notification-div {
    background-color: white;
    padding: 20px 50px;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 20px;
}

.notification {
    display: grid;
    grid-template-columns: 0.1fr 1fr;
    gap: 10px;
    background-color: #d4d4d485;
    padding: 15px 30px;
    border-radius: 15px;
    transition: 0.5s;
}
.notification:hover{
    background-color: #d4d4d4d3;
}

.not-text {
    display: grid;
    grid-template-rows: 1fr 1fr;
}

.not-text-top {
    display: flex;
    justify-content: space-between;
}

.not-text-bottom {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 450px) and (min-width: 0px) {
    img{
        height: 70px;
        width: 70px;
    }
    .top-div{
        padding: 10px 10px;
    }
    .top-btn{
        width: 60px;
        height: 35px;
        font-size: 12px;
    }
    .top-h-one{
        font-size: 25px;
    }
    .top-left-btn{
        font-size: 13px;
        width: 80px;
        height: 35px;
    }
    .notification-div{
        padding: 20px 20px;
    }
    .notification{
        height: fit-content;
        padding: 10px 15px;
    }
    .not-text{
        font-size: 12px;
    }
    .dot{
        height: 20px;
    }
}

@media screen and (max-width: 420px) and (min-width: 0px) {
    img{
        height: 65px;
        width: 65px;
    }
    .top-div{
        padding: 10px 10px;
    }
    .top-btn{
        width: 55px;
        height: 32px;
        font-size: 11.5px;
    }
    .top-h-one{
        font-size: 23px;
    }
    .top-left-btn{
        font-size: 13px;
        width: 75px;
        height: 35px;
    }
    .notification-div{
        padding: 20px 17px;
    }
    .notification{
        height: fit-content;
        padding: 10px 12px;
    }
    .not-text{
        font-size: 12px;
    }
    .dot{
        height: 20px;
    }
}

@media screen and (max-width: 400px) and (min-width: 0px) {
    img{
        height: 60px;
        width: 60px;
    }
    .top-div{
        padding: 10px 10px;
    }
    .top-btn{
        width: 55px;
        height: 30px;
        font-size: 11px;
    }
    .top-h-one{
        font-size: 22px;
    }
    .top-left-btn{
        font-size: 12px;
        width: 70px;
        height: 32px;
    }
    .notification-div{
        padding: 15px 13px;
    }
    .notification{
        height: fit-content;
        padding: 10px 10px;
    }
    .not-text{
        font-size: 11px;
    }
    .dot{
        height: 20px;
        width: 20px;
    }
}

@media screen and (max-width: 380px) and (min-width: 0px) {
    img{
        height: 55px;
        width: 55px;
    }
    .top-div{
        padding: 10px 10px;
    }
    .top-btn{
        width: 52px;
        height: 28px;
        font-size: 10.5px;
    }
    .top-h-one{
        font-size: 21px;
    }
    .top-left-btn{
        font-size: 11.5px;
        width: 65px;
        height: 30px;
    }
    .notification-div{
        padding: 15px 10px;
    }
    .notification{
        height: fit-content;
        padding: 10px 10px;
    }
    .not-text{
        font-size: 10.7px;
    }
    .dot{
        height: 20px;
        width: 20px;
    }
}

@media screen and (max-width: 340px) and (min-width: 0px) {
    img{
        height: 50px;
        width: 50px;
    }
    .top-div{
        padding: 10px 7px;
    }
    .top-btn{
        width: 47px;
        height: 23px;
        font-size: 10px;
    }
    .top-h-one{
        font-size: 17px;
    }
    .top-left-btn{
        font-size: 11px;
        width: 60px;
        height: 28px;
    }
    .notification-div{
        padding: 14px 8px;
    }
    .notification{
        height: fit-content;
        padding: 10px 10px;
    }
    .not-text{
        font-size: 10px;
    }
    .dot{
        height: 20px;
        width: 20px;
    }
}