/*** Spinner Start ***/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

body::-webkit-scrollbar {
    display: none;
}

::-webkit-scrollbar{
    width: 12px;               /* width of the entire scrollbar */
}

::-webkit-scrollbar-thumb {
    background-color: #00539b;    /* color of the scroll thumb */
    border-radius: 20px;       /* roundness of the scroll thumb */
    border: 3px solid #fdfdfd;  /* creates padding around scroll thumb */
}
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}




.layout-main-wrapper clearfix{
    background: linear-gradient( -45deg, #FFFF2D, #FFFF2D 49%, #bbb 51% );
}
/*  */
.text-primare {
    color: #2f2fa2;
}
body{
    background: url("../../assets/img/pattern1.jpg");

}
.my-code{
    color: #000000;
    margin-bottom: 50px;
}
.text-blog{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
    color: #000000;
}
.popup-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.close {
    position: absolute;
    top: -15px;
    right: 1px;
    font-size: 40px;
    cursor: pointer;
}

.home_book-one, .home_book-two{
    width: 400px;
    padding: 20px;
    position: relative;
    transition: 0.5s ease all;

    overflow: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*  */



@media(max-width:1240px) {
    .popup {
        width: 80vw;
    }
}
@media(max-width:768px){
    #magazine{
        display: none;
    }
    .popup{
        width: 10px;
        height: 10px;
    }
    .popup-content{
        box-shadow: none;
    }
}

.popup2 {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 60vw;
    overflow: hidden;
    overflow-y: scroll;
    height: 50vh;
}

.popup2 p {
    margin: 0;
}

.home_book-two:hover, .home_book-one:hover{
    box-shadow: 0 0 7px rgba(0, 0, 3, 0.8);
    border-radius: 15px;
    transition: .3s ease all;
    cursor:pointer;
    transition: 0.5s ease all;

}
.align-items-center {
    display: flex;
    justify-content: center;
}
#main-wrapper{
    padding: 100px;
}
.close-popup {
    margin-top: 10px;
    padding: 5px 10px;
    cursor: pointer;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
}

@media(max-width:1240px) {

    .home_book-one,
    .home_book-two {
        width: 250px;
    }

    .globe-container,
    .globe {
        width: 130px;
        height: 130px;
    }

    .globe-sphere,
    .globe-outer-shadow,
    .globe-inner-shadow {
        left: 0;
        top: 0;
        width: 130px;
        height: 130px;
        background-position: 0 0;
        background-repeat: no-repeat;
    }

    .globe-container {
        position: relative;
        display: inline-block;
        margin: 30px;
        transform: scale(0.5);
    }
}
@media(max-width:990px){
    #box{
        display: none;
    }
    #main-wrapper{
        padding: 10px;
    }
}
@media(max-width:725px) {

    .home_book-one,
    .home_book-two {
        width: 180px;
        padding: 10px;
    }
    #main-wrapper{
        padding: 30px;
    }
}


@media(max-width:555px) {

    .home_book-one,
    .home_book-two {
        width: 150px;
        padding: 3px;
    }
}

.popup_sharq p, .popup_garb p{
    text-align: center;
    font-size: 40px;
    margin-bottom: 10px;
    font-weight: 800;
}

.popup_sharq-box, .popup_garb-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}


.popup_sharq-box ,.popup_garb-box{
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 15px;
    top: 100%;
    left: 0;
    width: 100%;
}


.popup_sharq-btn button, .popup_garb-btn button {
    background-color: #2ecc71;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
}

.popup_sharq-btn button:hover, .popup_garb-btn button:hover {
    background-color: #27ae60;
}
.viewsreference--view-title{
    margin-bottom: 10px;
    font-weight: 800;
}
.name_book {
    position: absolute;
    z-index: 111;
    bottom: 140px;
    right: 145px;
    font-size: 20px;
    width: 100px;
    font-weight: 800;
}
.name_book2 {
    position: absolute;
    z-index: 111;
    bottom: 140px;
    font-size: 20px;
    font-weight: 800;
    left: 85px;
    width: 100px;
}
@media(max-width: 1250px){
    .name_book{
        bottom: 80px;
        left: 70px;
        font-size: 14px;
    }
    .name_book2{
        right: 80px;
        bottom: 80px;
        font-size: 14px;

    }
}
@media(max-width: 700px){
    .name_book{
        bottom: 60px;
        left: 50px;
        font-size: 10px;
    }
    .name_book2{
        bottom: 60px;
        left: 50px;
        font-size: 10px;
    }
}
@media(max-width: 540px){
    .name_book{
        bottom: 45px;
        left: 65px;
    }
    .name_book2{
        bottom: 45px;
        left: 35px;
    }
}

#earth {
    /* background: black;
    background: url(http://fc01.deviantart.net/fs71/f/2012/160/b/9/stars_by_paulinemoss-d52un4e.jpg);
    animation: stars 205s linear alternate; */
    align-items: center;
    display: flex;
}

#box {
    background: url("../../assets_front/img/globus.jpg");
    background-size: cover;
    border: 2px solid #000;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    animation: movimiento 5s linear 0s infinite;
    box-shadow: 0 0 5px RGBA(5, 5, 4, -0.9), 8px 1px 5px #000 inset, 2px 2px 5px #000 inset, -4px -5px 2px RGBA(0, 0, 0, 0.5) inset, 5px 2px 5px RGBA(0, 0, 0, 0.45) inset;
    transform: rotateX(6deg) rotateY(6deg) rotateZ(6deg);
}

@keyframes movimiento {
    0% {
        background-position: 0 0
    }

    100% {
        background-position: 355px 0
    }
}

@keyframes stars {
    0% {
        background-position: 0 0
    }

    100% {
        background-position: 0 100%
    }
}



.carousel-caption h5{
    color: white;
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 2.2em;
    line-height: 1.1;
    text-shadow: 3px 3px 9px #000;
    margin: 0 0 20px 0;
}
.carousel-caption button{
    background-color: #00539b;
    border-radius: 5px;
    padding: 5px;
    color: #fff;
    border: none;
    width: 400px;
    cursor:pointer;
    transition: .5s ease-in;
}
.carousel-caption button:hover{
    background-color: #0032d3;

}

.videos{
    display: flex;
    justify-content: center;
    height: 100%;
    align-items: center;
}
.paragraph_us {
    font-size: 30px;
    color: #fff;
    text-align: center;
    padding: 20px
}
.quicklinks-wrapper {
    padding-bottom: 50px;
}

@media(max-width:968px){
    .paragraph__column {
        display: flex;
        flex-direction: column;
    }

}
@media (max-width: 968px){
    .video_rol{
        width: 100%;

    }
    .width_row{
        width: 100%;
    }
}
.congrames_pupil{
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 30px 0;
}

.artics_about-img{
    width: 110px;
    height: 110px;
}
.artics_about-img img{
    width: 100%;
    height: 100%;
    border-radius: 100%;
}
#articles{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    width: 100%;
}
#artics{
    width: 45%;
    border: 1px solid #eaeaed;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    margin-bottom: 25px;
    background: #fff;
}
.artics_about{
    display: flex;
    justify-content: space-between;
    align-content: center;
}

.artics_about-name-back{
    background: #012169;
    padding: 20px;
    margin-bottom: 20px;
}
.artics_about-name-back a{
    text-decoration: none;
}
.artics_about-name-back span{
    font-size: 20px;
    color: #fff;
}
.artics_p{
    padding-left: 10px;
}

.artics_about-name{
    width: 100%;
    height: 100%;
}
.artics_about-img{
    position: absolute;
    z-index: 111;
    right: 10px;
    top: 10px;
}
.artics_text span{
    font-weight: bold;
    margin-left: 10px;
    margin-bottom: 5px;

}
.artics_text p{
    margin-left: 20px;
}
.navbar-text-name{
    font-size: 24px;
    color: #fff;
}
.navbar-text-name p{
    font-size: 20px;
}

@media(max-width:550px){
    .navbar-text-name span{
        font-size: 16px;
    }
}
.coll_text{
    font-size: 13px;
}
@media (max-width:900px) {
    #articles{
        flex-direction: column;
    }
    .navbar-text-name p{
        font-size: 16px;
    }
    #artics{
        width: 100%;
    }

}
@media (max-width:768px) {
    .navbar-text-name p{
        margin-left: 80px;
    }

}
.book_center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-nav .nav-link{
    text-transform: uppercase;
}

.container-fluid{
    margin-top: 100px;
    margin-bottom: 100px;

}


.project_objectives-box-start {
    position: relative;
    z-index: 1;
}


.project_objectives-img {
    width: 90px;
    height: 130px;
}
.prject_objectives-text{
}

.project_objectives-img img {
    width: 100%;
    height: 100%;
}

.prject_objectives-text h3 {
    color: #080260;
    font-size: 23px;
}

.project_objectives-box-start {
    background-color: #dee9ed;
    padding: 40px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease;
    align-items: center;
}

.project_objectives-box-start:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;

}

.project_objectives-pdf {
    background-color: #00539b;
    color: #fff;
    width: 95px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.project_objectives-pdf a{
    color: #fff;
    text-decoration: none;
}
.project_objectives-pdf:hover {
    background-color: #080260;
    transition: all 0.3s ease;
}

.project_objectives-box {
    margin-bottom: 30px;
}

@media(max-width:1300px){
    .prject_objectives-text h3{
        font-size: 18px;
    }
}
@media(max-width:990px){
    .project_objectives-img{
        width: 70px;
        height: 100px;
    }
    .prject_objectives-text h3{
        font-size: 12px;
    }
    .prject_objectives-text p{
        font-size:8px;
    }
}
@media(max-width:768px){
    .project_objectives-box-start{
        flex-direction: column;
        gap: 10px;
    }
    .prject_objectives-text{
        text-align: center;
    }
}

.blog {
    position: relative;
    width: 100%;
    height: 100%;
}

.blog_start {
    gap: 30px;
    position: relative;
    z-index: 1;
    border-radius: 10px;
}
.blog_web,.blog_magazine{
    background-color: #fff;
    margin: 100px 0;
}
.blog_web-about {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    width: 100%;
}

.blog_web-about-box {
    box-shadow: 0 4px 20px rgba(193, 188, 217, 0.28);
    border-radius: 10px;

}

.blog_web-about-img {
    height: 250px;
    overflow: hidden;
}

.blog_web-about-text {
    padding: 10px;
    text-align: center;
    color: #080260;
    display: flex;
    height: 165px;
    align-items: center;
    justify-content: center;
}

.blog_web-about-img img {
    border-radius: 10px;
    transition: 0.5s;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog_web-about-img:hover img{
    transform: scale(1.3);
    background-color: #000;
}
.blog_web-start h3{
    color: #080260;
    text-align: center;
    padding: 30px 0;
    font-size: 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 20px;

}
.container{
    max-width: 1320px;
    padding: 0 40px;
    margin: 0 auto;
    width: 100%;
}

.blog_web-start h3:after{
    height: 1px;
    content: "";
    background: #080260;
    display: block;
}
.blog_web-start h3::before{
    height: 1px;
    content: "";
    background: #080260;
    display: block;
}
.blog_web-about a{
    width: 32%;
    height: 100%;
}
@media(max-width:1024px){

    .blog_web-about-img{
        height: 100%;
    }
}
@media(max-width:600px){
    .blog_web-about-box{
        width: 100%;
    }
    .blog_web-about-img{
        height: 100%;
    }
}
@media(max-width: 800px){
    .header .container{
        padding: 0;
    }
}



.event .event-img .event-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #2f2fa2c3;
    border-radius: 8px;
    transition: 0.5s;
    opacity: 0;
    z-index: 1;
}

.event .event-img:hover .event-overlay {
    opacity: 1;
}


.Korgazma{
    display: flex;
    width: 20%;
    align-items: center;
    overflow-y: scroll;
    list-style: none;
    flex-wrap: wrap;
    height: 50vh;
}
/*.Korgazma::-webkit-scrollbar{*/
/*    display: none;*/
/*}*/
.tab-class{
    display: flex;
}
.tab-content{
    width: 80%;
    height: 50vh;
    padding: 0 20px;
    overflow-y: scroll;
}
.width_photos{
    width: 33%;
}
.event-img{
    height: 200px;
}
.event-img img{
    height: 100%;
}
.border{
    text-decoration: none;

}
.my-button{
    color: #000;

}


.contact_left{
    width: 40%;
}
.contact{
    margin: 100px 0;
}
.contact_input, textarea{
    width: 100%;
    border: 3px solid #0a53be;
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 20px;
}
.contact_left form{
    display: flex;
    flex-direction: column;

}
.contact_left button{
    padding: 10px;
    background: #0a53be;
    border: none;
    border-radius: 5px;
    color: #fff;
}
.contact_left button:hover{
    background: #0a53be;
}

.contact_start{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact_right{
    display: flex;
    gap: 15px;
    flex-direction: column;
    line-height: 150%;
    color: #aeaeae;
    font-size: 16px;
    -webkit-transition: .3s;
    transition: .3s;
    text-decoration: none
}

.project {
    position: relative;
    width: 100%;
}

.blurry-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    opacity: 0.15;
}
.goals_start h1{
    font-size: 40px;
    color: #000;
}
.goals_start li a{
    text-decoration: none;
    list-style: none;
    color: #0a53be;

}
.project_start {
    padding-top: 100px;
    padding-bottom: 100px;
    gap: 30px;
    position: relative;
    z-index: 1;
}
.goals_start{
    padding-top: 100px;
}
.project_one,
.project_two {
    background: #fff;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
}

.project_one h3,
.project_two h3 {
    color: #000000;
}
.project_one p, .project_two p{
    color: #0a53be;
}




.project_objectives-box-start {
    position: relative;
    z-index: 1;
}


.project_objectives-img {
    width: 90px;
    height: 130px;
}

.project_objectives-img img {
    width: 100%;
    height: 100%;
}

.prject_objectives-text h3 {
    color: #080260;
}
.articles{
    background: #fff;
    margin: 50px 0;
}
.project_objectives-box-start {
    background-color: #dee9ed;
    padding: 40px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease;
    align-items: center;
}

.project_objectives-box-start:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;

}

.project_objectives-pdf {
    background-color: #240090;
    color: #fff;
    width: 95px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project_objectives-pdf:hover {
    background-color: #080260;
    transition: all 0.3s ease;
}

.project_objectives-box {
    margin-bottom: 30px;
}

@media(max-width:1300px){
    .prject_objectives-text h3{
        font-size: 18px;
    }
}
@media(max-width:990px){
    .project_objectives-img{
        width: 70px;
        height: 100px;
    }
    .prject_objectives-text h3{
        font-size: 18px;
    }
    .prject_objectives-text p{
        font-size:12px;
    }
}
@media(max-width:768px){
    .project_objectives-box-start{
        flex-direction: column;
        gap: 10px;
    }
    .prject_objectives-text{
        text-align: center;
    }
}
/* LOYIHA BOYICHA MAQOLALAR  END*/
.breadcrumb-item a{
    list-style: none;
    text-decoration: none;
    color: #0a53be;
}
.animated h1{
    font-size: 40px;
}
.videos {
    display: flex;
    flex-direction: column;
}
.margin{
    margin-bottom: 50px;
    margin-top: 50px;
}
.video_box{
    width: 45%;
    margin-bottom: 100px;
}
.video iframe{
    width: 100%;
}
.video_text{
    width: 100%;
    height: 100px;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.1);
}
.videos_start{
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}
@media(max-width:768px){
    .video_box{
        width: 100%;
    }
}
.textbooks{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: 50px 0;
}
.video{
    height: 300px;
}
.textbook_img{
    width: 90px;
    height: 130px;

}
.textbook_img img{
    width: 100%;
    height: 100%;
}
.textbook_left{
    display: flex;
    align-items: center;
    gap: 15px;
}
.textbook_name p{
    color: #333;
    font-size: 30px;
    font-weight: 500;
}
.textbook_right{
    display: flex;
    align-items: center;
    gap: 20px;
}
.project_objectives-box-start{
    margin-bottom: 20px;

}
.textbook_file a, .project_objectives-pdf a{
    text-decoration: none;
    color: #fff;
}
.textbook_file button, .project_objectives-pdf button{
    background-color: #240090;
    color: #fff;
    padding: 5px;
    display: flex;
    width: 170px;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.project_objectives-pdf button{
    margin-right: 10px !important;
}
.textbook_file button:hover, .project_objectives-pdf button:hover{
    background-color: #080260;
    transition: all 0.3s ease;

}
.textbook_category select{
    padding: 10px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #000;
    border: 1px solid #0a58ca;
}

.textbook_two-start{
    display: flex;
    justify-content: space-between;
    height: 80vh;
}
.dissertation_input{
    border: none;
    border-bottom: 1px solid #0a53be;
    width: 100%;
    color: #000000;
    padding-left: 10px;
    height: 50px;
    cursor:pointer;
}
.dissertation_input::placeholder{
    font-size: 18px;
}
.dissertation_input:focus{
    outline: none;
    border-bottom: 1px solid #0a53be;
}
.input_search{
    width: 100%;

}
.textbook_two h1{
    text-align: center;
}
.textbooks_boxs-start, .project_objectives-start{
    display: flex;
    flex-direction: column;
    width: 100%;
    /*Yon tarafdagi tillear durgan div hidden qilish uchun*/
    /*width: 80%;*/
    overflow-y: scroll;
}
.textbook_btns{
    display: none;
    /*Yon tarafdagi tillear durgan div hidden qilish uchun*/
    /*display: flex;*/
    /*flex-direction: column;*/
    /*gap: 40px;*/
}
@media(max-width: 900px){
    .textbook_btns{
        display: none;
    }
    .textbooks_boxs-start{
        width: 100%;
    }
    .textbook_left{
        gap: 0;

    }
    .prject_objectives-text{
        width: 100%;
    }
}
@media(max-width: 768px){
    .textbook_left{
        flex-direction: column;
    }
}
.textbook_two{
    margin-bottom: 100px;
    width: 100%;
}
.textbook_btns{
    overflow-y: scroll;
}
.textbook_btns button{
    padding: 10px;
    width: 144px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #240090;
}
.textbook_btns button:focus{
    background: #240090;
    color: #fff;
    transition: .4s ease;
}

.congrames_pupil h2{
    color: #988675;
    margin: 20px 0;
}
.page_books-start h2{
    color: #988675;
    margin: 20px 0;
}
.page_book-img{
    width: 280px;
    height: 300px;
    overflow: hidden;
}
.page_book-img img{
    width: 100%;
    height: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transition: 0.5s ease all;
    object-fit: cover;
}
.page_book-img:hover img{
    transform: scale(1.2);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;


}

.home_book-one:hover img, .home_book-two:hover img{
    transform: scale(1.1);
    transition: 0.5s ease all;
}
.page_book{
    width: 48%;
    border-radius: 20px;
}
.page_book-about{
    background-color: #f6f6f6;
    padding: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    color: #000;
    height: 180px;
    width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media(max-width: 1024px){
    .page_book-img{
        width: 100%;
        height: 200px;
        overflow: hidden;
    }

}
@media(max-width: 768px){
    .page_book{
        width: 100%;
        border-radius: 20px;

    }
    .page_book-about{
        font-size: 15px;
    }
    .page_book-about p{
        font-size: 12px;
    }
}
.page_book a{
    text-decoration: none;
    width: 100%;
}
.page_books{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.index_page-books{
    margin-bottom: 50px;
}

@media(max-width: 425px){
    .field-content .container{
        padding: 0;
    }
    .artics_about-name-back span{
        font-size: 15px;
    }
    .artics_text p{
        font-size: 13px;
    }
    .artics_about-img {
        width: 90px;
        height: 90px;
    }
    #artics{
        height: 270px;
    }
}
.books_slide{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 10px;
}
.slide{
    height: 40px;
    width: 40px;
    border-radius: 5px;
    background: #240090;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slide:hover{
    background: #0b5ed7;
}

.platforma_text p{
    color: #000;
    margin: 10px 0;
}
.platforma_text span{
    font-size: 20px;
    font-weight: 700;
}
.platforma_text img{
    width: 100%;
}

@media(max-width:500px){
    .goals_start h1{
        font-size: 25px;
    }
}


.platforma_programmers main {
    display: flex;
    padding: 50px;
    font-family: 'Roboto', sans-serif;
}

.card {
    width: 33%;
    height: 25rem;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    color: #fff;
    box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);

    img {
        position: absolute;
        object-fit: cover;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 0.9;
        transition: opacity .2s ease-out;
    }

    h2 {
        position: absolute;
        inset: auto auto 30px 30px;
        margin: 0;
        font-size: 20px;
        transition: inset .3s .3s ease-out;
        font-family: 'Roboto Condensed', sans-serif;
        font-weight: normal;
        text-transform: uppercase;
    }

    p, a {
        position: absolute;
        opacity: 0;
        transition: opacity .3s ease-out;
    }

    p {
        inset: auto auto 80px 30px;
    }

    a {
        inset: auto auto 40px 30px;
        color: inherit;
        text-decoration: none;
    }

    &:hover h2 {
        inset: auto auto 220px 30px;
        transition: inset .3s ease-out;
    }

    &:hover p, &:hover a {
        opacity: 1;
        transition: opacity .5s .1s ease-in;
    }

    &:hover img {
        transition: opacity .3s ease-in;
        opacity: 1;
    }

}

.material-symbols-outlined {
    vertical-align: middle;
}
.platforma_programmers main{
    display: flex;
    gap: 20px;
}
.platform_span{
    text-align: center;
}

#content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;

}

@media(max-width:900px){
    .platforma_programmers main{
        flex-direction: column;
    }
    .card{
        width: 100%;

    }
}
@media(max-width:500px){
    .container{
        padding: 0 20px;
    }
}

#project_scroll{
    height: 80vh;
    overflow-y: scroll;
}
.journal-container {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.journal-container h1 {
    text-align: center;
    font-size: 24px;
    color: #333;
}

.journal-details {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 20px;
    height: 90%;
    align-items: center;
}

.journal-cover img {
    max-width: 230px;
    border: 1px solid #ddd;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.journal-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sidebar_journal {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar_journal a {
    display: block;
    width: 100%;
    background-color: #080260;
    color: #fff;
    text-decoration: none;
    border: none;
    padding: 10px;
    margin-bottom: 10px;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
}

.sidebar_journal a:hover {
    background-color: #0b5ed7;
}

.sidebar_journal p {
    margin: 10px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
.journal_category{
    display: flex;
    justify-content: space-evenly;
    gap: 100px;
}
@media(max-width: 1024px){
    .journal_category{
        flex-direction: column;
    }
    .sidebar_journal{
        max-width: 100%;
    }
    .textbook_two{margin-top: 100px}
}
@media(max-width:500px){
    .journal-details{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}


.archive {
    width: 100%;
}

.archive h2{
    color: #637088;
    font-size: 1.5rem !important;
    text-align: center;
    margin-top: 50px;
    text-transform: none;
    font-variant: normal;
    margin-bottom: 100px;
    font-weight: 700;
}
.year-blocks {
    display: flex;
    flex-wrap: wrap;
}

.year-block {
    background-color: #f0f0f5;
    border: 1px solid #ccc;
    margin: 5px;
    text-align: left;
    width: 24%;
}

.year {
    font-weight: bold;
    border-bottom: 1px solid silver;
    padding: 10px;
    background-color: #e7ecf8;
    color: black;
    font-size: 18px;
    text-align: center;
}

.issues {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.issues a {
    color: #0066cc;
    font-weight: bold;
    padding: 10px;
    font-size: 18px;
    text-align: center;
    text-decoration: navajowhite;
}

.issues a:hover {
    text-decoration: underline;
}
.archive{
    margin: 100px 0;
}

.btn-conv{
    margin-bottom: 40px;
    background: #080240;
    border:none;
}
.form-method{
    max-width:100%;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
.video img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.journal-btn-conv{
    background-color: #240090;
    color: #fff;
    padding: 10px;
    display: flex;
    width: 170px;
    border: none;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.search-bar input[type="text"] {
    flex: 1;
    padding: 12px;
    margin-right: 10px;
    border: 2px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.search-bar input[type="text"]:focus {
    border-color: #007bff;
}
#resetBtn{
    background: red;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}
.search-bar button {
    padding: 12px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: #0056b3;
}

.advanced-search {
    margin-bottom: 20px;
}

.advanced-search label {
    margin-right: 10px;
    font-size: 16px;
}

.advanced-search select,
.advanced-search input[type="date"] {
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.advanced-search select:focus,
.advanced-search input[type="date"]:focus {
    border-color: #007bff;
}

ul {
    padding: 0;
}


li:last-child {
    border-bottom: none;
}

.highlight {
    background-color: #ffcc00;
}

@media(max-width:600px){
    .animated h1{
        font-size: 26px;
    }
}
#primary-navigation .block-superfish ul.menu li a, #primary-navigation .block-superfish ul.menu li span {
    font-size: 16px !important;
    padding: 8px 5px !important;
}


@media(max-width: 1000px){
    .navbar-text-name{
        font-size: 18px;
    }
}
header.banner-header {
    color: #2c3e50;
    margin-top: 30px;
    padding: 3rem 1rem;
    text-align: center;
}

header .main-title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

header .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.8;
}

/* Контентная область */
.content-area {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    gap: 2rem;
}

/* Секции */
.content-area section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2c3e50;
    border-left: 4px solid #2980b9;
    padding-left: 0.5rem;
}

.text-body {
    font-size: 1rem;
    color: #555;
    margin-top: 1rem;
}

/* Списки */
ul.fancy-list {
    list-style: none;
    margin-top: 1rem;
    padding-left: 1rem;
}

ul.fancy-list li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    font-size: 1rem;
    color: #333;
}

ul.fancy-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2980b9;
    font-size: 1.2rem;
}

/* Ссылки */
.fancy-link {
    color: white;
    background-color: #2980b9;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.fancy-link:hover {
    background-color: #1f5f8b;
}

/* Нижний колонтитул */
footer.footer-box {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

@media(max-width: 1000px){
    #header #main-header .block-system-branding-block {
        padding-top: 15px !important;
    }

}
@media(max-width: 600px){
    .search-bar{
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    #searchButton, #resetBtn, #searchInput{
        width: 100%;
    }
    .search-bar input[type="text"]{
        margin-right: 0;

    }
    #resetBtn{
        margin-left: 0;
        text-align: center;
        text-decoration: none;
    }
}
#primary-navigation .block-superfish ul.menu{
    max-width: 1320px;
    display: flex;
    justify-content: center;
    align-content: center;
}
.services-name{
    background: white;
    padding: 25px;
    margin: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
.services-name p{
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
}

@media(max-width: 950px){
    .blog_web-about a{
        width: 48%;
    }
    .blog_web-about-text{
        height: 200px;
    }
}
@media(max-width: 600px){
    .blog_web-about a{
        width: 100%;
    }
}


.card_dgu {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 20px;
    max-width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card_dgu:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card_dgu__image {
    width: 100%;
    height: 400px;
    display: block;
}

.card_dgu__content {
    padding: 20px;
}

.card_dgu__title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.card_dgu__description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.card_dgu__button {
    display: inline-block;
    padding: 10px 20px;
    background: #1abc9c;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.card_dgu__button:hover {
    background: #16a085;
}
@media(max-width:768px){
    .card_dgu{
        width: 100%;
        max-width: 100%;
    }
    .card_dgu img{
        object-fit: cover;
    }
}
