* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Diphylleia', serif;
    color: #ffffff;
}

body {
    width: 100%;
    height: 100%;
    background-color: #dadcbb;
}

.bg-img {
    width: 100vw;
    height: 100vh;
    background: url(bg.webp);
    position: fixed;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
}

.goToTopbtnBox {
    width: 97%;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: fixed;
    bottom: 3%;
    left: 0;
    z-index: 15;
}

.goToTopbtnBox .bi{
    font-size: 300%;
    color: #ffd201;
    filter: drop-shadow(0 0 30px -10px #ffe050);
}

nav {
    width: 100%;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0,0.5);
    z-index: 10;
}

.allNavContent {
    width: 98%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.5%;
}

.allNavContent img {
    height: 70%;
    border-radius: 50%;
    border: 1px solid #000;
}

.allNavContent h3 {
    color: #4e4e4e;
}

.header {
    gap: 1%;
    width: 100%;
    height: 100vh;
    padding-top: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    background-image: url(phy-bg.png);
    background-size:cover;
    color:  #f6f6ee;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.header h1 {
    font-size: 10vmin;
}
.header #adpc {
    font-size: 5vmin;
}

.header h1,.header h2 {
    font-family: 'Inconsolata', monospace;
}

.nevigationButtonBox {
    margin-top: 3%;
    width: 35%;
    height: 10%;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2%;
}

.nevigationButtonBox button {
    cursor: pointer;
    width: 100%;
    height: 100%;
    background: transparent;
    font-family: 'Inconsolata', monospace;
    background: #ffd201;
    border: none;
    border-radius: 10px;
    color: rgb(216, 216, 216);
    box-shadow: 0 0 30px -10px #ffe050;
}

.main {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.bgImageUseBox {
    margin-top: 1%;
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bgImageUseBox1 {
    width: 80%;
    height: 100%;
    box-shadow: 0 0 50px 5px black;
    border-radius: 20px;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(59, 59, 59, 0.6), rgba(119, 119, 119, 0.2), rgba(185, 185, 185, 0.1), rgba(255, 255, 255, 0));
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: flex-end;
}

.bgImageUseBox1 h1,.bgImageUseBox1 h2 {
    font-family: 'Inconsolata', monospace;
    margin: 2%;
}
.bgImageUseBox1 h2 {
    margin-top: 0;
}

.paraAbtClg {
    margin: auto;
    margin-top: 2%;
    width: 80%;
    background: rgba(29, 29, 29, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2%;
    padding-top: 5%;
    text-align: justify;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#headingsBox {
    margin: auto;
    width: 90%;
    display: flex;
    white-space: nowrap;
    gap: 1%;
    text-align: center;
}

#headingsBox h2 {
    font-family: 'Inconsolata', monospace;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.allFaculities {
    margin: auto;
    width: 80%;
    height: fit-content;
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr 1fr; 
    gap: 10px 10px; 
}

.faculitie {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
}

.facultieImgBox {
    width: 95%;
    overflow: hidden;
}


.faculitie img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 2%;
    transition: 1s;
    border: 1px solid #ffffff;
}

.faculitie img:hover {
    transform: scale(1.1);
}

.lineForPc {
    margin: auto;
    width: 90%;
    height: 1px;
    background: #ffffff;
}

.lineForMobile {
    display: none;
    margin: auto;
    width: 90%;
    height: 1px;
    background: #ffffff;
    margin-top: 5%;
}

.last-heading {
    margin-top: 3%;
    margin-bottom: 1%;
    text-shadow: 0 0 15px #260047;
}

.last-heading p {
    white-space: nowrap;
}

.last-heading a ,.last-heading b{
    color: #ffd201;
}

@media screen and (max-width: 1000px) {

    body {
        width: 100%;
        height: 100%;
        background-color:#f9fbe4;
    }  
    
    .goToTopbtnBox {
        height:0;
        bottom: 10%;
        width: 96%;
    }
    
    .goToTopbtnBox .bi{
        font-size: 270%;
    }

    .allNavContent {
        gap: 2%;
    }

    .allNavContent h3 {
        color: rgb(239, 239, 239);
    }
    
    .header h1 {
        font-size: 8.5vmin;
    }
    .header #adpc {
        font-size: 4.5vmin;
    }

    .header h2 {
        font-size: 4vmin;
    }

    .header {
        gap: 2.5%;
        width: 100%;
        height: 90vh;
    }

    .nevigationButtonBox {
        width: 60%;
        height: 27vh;
        grid-template-columns: none;
        grid-template-rows: repeat(3,1fr);
        gap: 5%;
    }

    .bgImageUseBox {
        margin-top: 10%;
        height: 60vh;
    }
    
    .bgImageUseBox1 {
        width: 92%;
    }

    .bgImageUseBox1 h1 {
        font-size: 1.6em;
    }

    .bgImageUseBox1 h1,.bgImageUseBox1 h2 {
        font-family: 'Inconsolata', monospace;
        margin: 2%;
    }
    .bgImageUseBox1 h2 {
        margin-top: 0;
        margin-bottom: 5%;
        font-size: 1.2em;
    }
    
    .paraAbtClg {
        margin-top: 5%;
        width: 95%;
        border-radius: 10px;
        padding: 3%;
        padding-top: 10%;
    }

    #headingsBox {
        width: 100%;
        flex-direction: column;
    }

    #headingsBox h2 {
        font-size: 1.2em;
    }

    .lineForPc {
        display: none;
    }
    
    
    .lineForMobile {
        display: block;
    }

    .allFaculities {
        grid-template-columns: repeat(1,1fr);
        width: 100%;
    }

    .faculitie img:hover {
        transform: scale(1);
    }
       
    .last-heading {
        margin-top: 5vh;
        margin-bottom: 3%;
    }
}

