@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    transition: 0.3s;
    font-family: "Roboto", sans-serif;
    box-sizing: border-box;
}

body {
    background-color: hsla(224, 95%, 8%, 0.95);
}

a {
    text-decoration: none;
}

h1 {
    font-size: 48px;
}

.call {
    position: fixed;
    width: 64px;
    height: 64px;
    z-index: 5;
    right: 8px;
    bottom: 8px;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0% {
        transform: scale(85%);
    }

    50% {
        transform: scale(100%);
    }

    100% {
        transform: scale(85%);
    }
}

/* LANG */

.dropdown-content {
    display: none;
    position: absolute;
    background-color: hsla(224, 95%, 8%, 0.975);
    min-width: 100px;
    overflow: auto;
    box-shadow: #e81313 0 0 10px;
    right: 32px;
    top: 32px;
    z-index: 8;
    border-radius: 10px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.show {display: block;}

.languages {
    gap: 8px;
}

.languages img {
   height: 24px;
   width: auto; 
}

/* LANG */

ul {
    list-style-type: none;
    display: flex;
    gap: 16px;
    margin-inline: 16px;
}

ul a {
    color: #ffffff;
    position: relative;
}

ul a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background: #f79e1b;
    transition: .3s;
}

ul a:hover::before {
    width: 100%;
}

ul a:hover {
    color: #f79e1b;
    transition: .3s;
}

.active {
    font-weight: bold;
    color: #f79e1b;
}
    
.active::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #f79e1b;
    transition: .3s;
}

.nav-head, .nav-body {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.nav-head {
    height: 36px;
    background-color: #010101;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-inline: 16px;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-social, .nav-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-inline: 16px;
    gap: 16px;
}

.nav-social a, .nav-icons a{
    color: #f79e1b;
    font-size: 18px;
}

.nav-body {
    height: 64px;
    background-color: #010b27;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* FİRST SECTİON */

nation, about, services, instructions, news, footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1920px;
    margin: 0 auto;
    padding-top: 32px;
    padding-bottom: 32px;
    gap: 32px
}

nation, about, instructions, news, footer {
    background-color: #010b27;
}

services, imgslider {
    background-color: #f79e1b;
}

footer {
    padding-bottom: 0;
}

imgslider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1920px;
    margin: 0 auto;
    gap: 16px;
    padding-bottom: 2px;
    padding-top: 2px;
}


footer {
    border-top: 2px #f79e1b solid;
}


.atributes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-inline: 32px;
}

.atributes img {
    width: 175px;
    height: auto;
}

.atributes h1 {
    color: #ffffff;
    text-align: center;
}

.karabakh {
    margin-inline: 32px;
}

.karabakh img {
    width: 100%;
    height: auto;
    border-radius: 32px;
}

.officials {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-inline: 32px;
    gap: 10px;
}

.offical {
    background-color: #ffffff;
    height: 175px;
    display: flex;
    align-items: center;
    border-radius: 32px 32px 32px 0;
    max-width: 385px;
    width: calc(100% / 3);
}

.offical:hover {
    transform: scale(105%);
}

.offical img {
    width: 175px;
    border-radius: 32px 0 0 0;
}

.offical div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.offical p {
    font-size: 20px;
    color: #151d20;
}

.offical a {
    color: #2d607f;
}


.more-btn {
    display: flex;
    justify-content: flex-end;
    margin-inline: 32px;
}

button {
    font-size: 16px;
    font-weight: bold;
    width: 155px;
    background-color: #f79e1b;
    color: #010101;
    border: 0;
    padding: 10px;
    border-radius: 32px;
}

button:hover {
    box-shadow: 0px 0px 5px 5px #e81313b4;
    cursor: pointer;
    background-color: #d61234;
    color: #ffffff;
}

/* FİRST SECTİON */


/* ABOUT */

about h1, about p{
    color: #ffffff;
    margin-inline: 32px;
}

about p{
    color: #ffffff;
    font-size: 24px;
}

about img {
    width: 592px;
    height: auto;
    border-radius: 32px;
}

.about-div {
    display: flex;
    align-items: center;
    margin-inline: 32px;
}

.about-data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-inline: 20%;
    margin-top: 5%;
}

.circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px #f79e1b solid;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.circle.top {
    transform: translateY(-30%);
}

.circle p {
    font-size: 32px;
    font-weight: bold;
}

.circle-child {
    border: 4px #f79e1b solid;
    background-color: #010b27;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: #f79e1b;
    font-size: 20px;
    position: absolute;
    transform: translate(56px, -56px);
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ABOUT */

/* Services */

services h1 {
    margin-inline: 32px;
    color: #010101;
}

.service-div {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-inline: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.service-icon {
    width: 280px;
    height: auto;
}

.service {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service:hover {
    filter: drop-shadow(0px 0px 10px #e81313);
    transform: scale(110%);
}

.service-text {
    width: 280px;
    height: 280px;
    background-color: #02154e;
    padding-inline: 32px;
    margin-top: -5px;
    border-radius: 0 0 32px 32px;
}

.service-text h2{
    font-size: 32px;
    color: #ffffff;
    text-align: center;
    margin-top: -32px;
}

.service-text p{
    color: #ffffff;
    margin-top: 8px;
}

/* Services */

/* Instructions*/

instructions h1 {
    margin-inline: 32px;
    color: #ffffff;
}

.instructions-div {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-inline: calc((100% - 1184px)/3);
}

.instruction-icon {
    width: 592px;
}

.instruction-text {
    background-color: #02154e;
    width: 592px;
    margin-top: -100px;
    padding-bottom: 1px;
    border-radius: 32px;
}

.instruction {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.instruction-text h2{
    font-size: 32px;
    color: #ffffff;
    margin-inline: 32px;
}

.instruction-text p{
    font-size: 24px;
    color: #ffffff;
    margin-inline: 32px;
    font-weight: bold;
    margin-top: 16px;
}

.more-btn-instruction {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px;
}

.instruction:hover {
    filter: drop-shadow(0px 0px 10px #e81313);
    transform: scale(105%);
}

    /* PAGE */
        .instructions-div-page {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .instruction-icon-page {
            width: 130px;
            height: auto;
            z-index: 1;
        }
        
        .instruction-text-page {
            background-color: #02154e;
            width: 100%;
            padding-bottom: 8px;
            border-radius: 32px;
            padding-top: 66px;
            margin-top: -66px;
        }
        
        .instruction-page {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            width: 90%;
            margin-top: 20px;
        }
        
        .instruction-text-page h2{
            font-size: 32px;
            color: #ffffff;
            margin-inline: 32px;
        }
        
        .instruction-text-page p{
            font-size: 24px;
            color: #ffffff;
            margin-inline: 32px;
            font-weight: bold;
            margin-top: 16px;
        }

        #inst-page-p {
            font-size: 16px;
            color: #ffffff;
            margin-inline: 32px;
            font-weight: normal;
            margin: 8px 48px 8px 48px;
        }
        
        .instruction-page:hover {
            filter: drop-shadow(0px 0px 10px #e81313);
            transform: scale(101%);
        }
    /* PAGE */

/* Instructions*/

/* CAREER */

    .career{
        background-color: #f79e1b;
        background-image: unset;
    }
    
/* CAREER */




/*   REGİSTER   */

register, registerru, registeren {
    aspect-ratio: 1280 /867;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url(img/register-background.svg);
    display: block;
    font-family: "Roboto", sans-serif;
    max-width: 1920px;
    margin: 0 auto;
}

registerru {
    background-image: url(img/register-background-ru.svg);
}

registeren {
    background-image: url(img/register-background-en.svg);
}

register h1, registerru h1, registeren h1{
    margin-inline: 32px;
    color: #010101;
}

.reg-mar {
    padding-top: 32px;
}

.register-section {
    margin-right: 32px;
    display: flex;
    flex-direction: row-reverse;
}

.vacancy-section {
    margin-right: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form {
    width: 414px;
    height: auto;
    border-radius: 16px;
    background-color: #02154e;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-top: 16px;
    box-shadow: 0 0 5px #e81313;
    margin-bottom: 16px;
}

.form p, .form label{
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
    margin-top: 16px;
    margin-bottom: 8px;
    margin-inline: 16px;
}

.form div {
    margin-top: 16px;
    margin-bottom: 8px;
}

input, textarea, .inputclass {
    height: 40px;
    font-size: 16px;
    margin-inline: 16px;
    text-indent: 10px;
    border-radius: 4px;
    border: 1.5px #fbfbfb solid;
}

textarea {
    padding-top: 8px;
}

input:focus, textarea:focus { 
    outline: none !important;
    border-color: #f79e1b;
    border: 2px solid #f79e1b;
    box-shadow: 0px 0px 20px #f79e1b ;
}

::placeholder {
    margin-left: 10px;
}

#departureTime, #schoolDepartureTime, #homeDepartureTime {
   min-width: 150px;
   max-width: 250px;
}

#submit {
    margin-top: 16px;
    margin-bottom: 32px;
    align-self: center;
}

#note {
    height: 120px;
}

.reg-sec-sec {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px;
    align-items: center;
}

.reg-btn {
    font-size: 16px;
    font-weight: bold;
    width: 155px;
    background-color: #f79e1b;
    color: #010101;
    border: 2px #02154e solid;
    border-radius: 32px;
}

.reg-btn:focus {
    box-shadow: 0px 0px 5px 5px #e81313b4;
    cursor: pointer;
    background-color: #d61234;
    color: #ffffff;
    border: #f79e1b 2px solid;
}

/*   REGİSTER   */

/* NEWS */

news h1 {
    color: #ffffff;
    margin-left: 32px;
}

.news-item {
    width: 384px;
    height: auto;
    border-radius: 32px;
    background-color: #02154e;
    display: flex;
    align-items: left;
    flex-direction: column;
    gap: 8px;
}

.news-item:hover {
    cursor: pointer;
    transform: scale(105%);
    box-shadow: 0 0 10px #f79e1b;
}

.news-item img {
    width: 360px;
    height: auto;
    border-radius: 20px;
    background-color: #02154e;
    margin: 12px;
}

.news-item-phead, .news-item-pbody, .news-date {
    color: #ffffff;
    margin-inline: 24px;
    
}

.news-item-phead {
    font-size: 20px;
    font-weight: bold;
    margin-top: -4px;
}

.news-item-pbody {
    font-size: 16px;
    font-weight: normal;
}

.news-date {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 16px;
}

.news-div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-inline: 32px;
}

/* NEWS */


/* FOOTER */

.footer-row {
    display: flex;
    justify-content: space-between;
    margin-inline: 4vw;
}

.footer-logo img {
    width: 175px;
    height: auto;
}

.social-media-icons {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-media-icons a{
    font-size: 36px;
    color: #f79e1b;
}

.social-media-icons a:hover{
    transform: scale(120%);
    color: #e81313;
}

.contact-input {
    max-width: 270px;
    margin-top: 32px;
}

.contact-input input {
    margin: 0;
    background-color: #010b27;
    color: #ffffff;
    margin-top: 4px;
}

.contact-input button {
    width: 110px;
    margin-top: 8px;
}

.links, .contact {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
}

.links p, .contact p, .social-media p, .contact-input p{
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 16px;
    color: #ffffff;
}

.links a {
    color: #a0cfec;
    font-size: 16px;
}

.contact a, .signature a {
    color: #ffffff;
}

.links a:hover {
    color: #ffffff;
    transform: scale(105%);
}

.contact a:hover {
    color: #ffffff;
    transform: scale(105%);
}

.copyright p {
    color: #ffffff;
    text-align: center;
}

.signature {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #010101;
    font-weight: bold;
    height: 36px;
}

/* FOOTER */

/* SLIDER */

imgslider button{
    border: 2px #02154e solid;
}

.slider {
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
}

.slider img {
    width: 100%;
    display: none;
}

img.displaySlide {
    display: block;
    animation-name: fade;
    animation-duration: 1.5s;
}

.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    padding: 10px 15px;
    background-color: hsla(0, 0%, 0%, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: normal;
    width: auto;
}

.prev {
    left: 0;
    border-radius: 0 8px 8px 0;
}

.next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

@keyframes fade {
    from {opacity: .5}
    to {opacity: 1}
}

/* SLIDER */


.hamburger-icon {
    margin: auto 0;
    display: none;
    cursor: pointer;
}

.hamburger-icon div {
    width: 35px;
    height: 3px;
    background-color: #ffffff;
    margin: 6px 32px;
    transition: 0.4s;
}

.open .bar1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
}

.open .bar2 {
    opacity: 0;
}

.open .bar3 {
    -webkit-transform: rotate(45deg) translate(-6px, -8px);
    transform: rotate(45deg) translate(-6px, -8px);
}

.open .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 3;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100px;
    right: 8px;
    background-color: hsla(224, 95%, 8%, 0.975);
    padding: 25px;
    border-radius: 10px;
    box-shadow: #e81313 0 0 10px;
    font-size: 24px;
    width: calc(100% - 50px);
}

/* PAGES */
    /* NATION-PAGE */
    .nationpage h1 {
        font-size: 32px;
        color: #ffffff;
        text-align: center;
        margin-inline: 32px;
    }

    .nationpage p {
        font-size: 16px;
        color: #ffffff;
        text-align: left;
        margin-inline: 32px;
    }

    .nationpage div{
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 32px;
    }
    
    .np-falg {
        height: 240px;
        width: auto;
    }

    .np-gerb {
        width: 175px;
        height: auto; 
    }
        
    /* NATION-PAGE */

/* PAGES */




@media only screen and (max-width: 1190px) {
    .instructions-div {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        margin-inline: 32px;
    }
}

@media only screen and (max-width: 1020px) {
    register, registerru, registeren {
        background-color: #f79e1b;
        background-image: unset;
    }

    .register-section, .vacancy-section {
        margin-inline: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin: 0;
    }


    .form {
        width: calc(100vw - 16px);
        max-width: 414px;
        margin-bottom: 8px;
    }
}

@media only screen and (max-width: 980px) {
    .offical img {
        width: 150px;
        height: auto;
    }

    .offical {
        height: 150px;
    }

    .about-data {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-inline: 10%; /*DəYİŞDİ*/
    }

    .circle {
        width: 80px; /*DəYİŞDİ*/
        height: 80px; /*DəYİŞDİ*/
        border-radius: 50%;
        border: 2px #f79e1b solid;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .circle p {
        font-size: 16px; /*DəYİŞDİ*/
        font-weight: bold;
    }
    
    .circle-child {
        border: 2px #f79e1b solid; /*DəYİŞDİ*/
        background-color: #010b27;
        border-radius: 50%;
        width: 24px; /*DəYİŞDİ*/
        height: 24px; /*DəYİŞDİ*/
        color: #f79e1b;
        font-size: 10px; /*DəYİŞDİ*/
        position: absolute;
        transform: translate(28px, -28px); /*DəYİŞDİ*/
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (max-width: 920px) {
    .web-nav {
        display: none;
    }

    .hamburger-icon {
        display: block;
    }
        
    .officials {
        align-items: flex-start;
    }

    .offical {
        height: auto;
        flex-direction: column;
        min-height: 200px;
        border-radius: 16px;
    }
    
    .offical img {
        width: 75px;
        padding-top: 8px;
    }
    
    .offical div {
        align-items: center;
        text-align: center;
        padding: 8px;
    }

    about img {
        width: 100%;
        border-radius: 16px;
    }

    .about-div {
        flex-direction: column;
        margin-inline: 16px;
        gap: 16px;
    }

    about h1, services h1 {
        margin-inline: 16px;
        font-size: 32px;
    }
    about p, services p{
        font-size: 16px;
        margin-inline: 0px;
    }

    .contact p {
        align-self: center;
    }

    .footer-row {
        flex-direction: column;
        margin-inline: 0;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }

    .social-media, .contact-input {
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .contact-input button{
        margin-top: 16px;
    }

    .links {
        display: none;
    }
}

@media only screen and (max-width: 800px) {
    
    /* PAGES */
        /* NATION-PAGE */
        .nationpage h1 {
            font-size: 24px;
            margin-inline: 16px;
        }

        .nationpage p {
            margin-inline: 16px;
        }

        .nationpage div{
            margin: 16px;
        }
        
        .np-falg {
            width: 100%;
            height: auto;
        }
            
        /* NATION-PAGE */
    /* PAGES */
    
    
    .atributes h1 {
        font-size: 24px;
    }

    .atributes img {
        height: 75px;
        width: auto;
    }

    .atributes, .karabakh {
        margin-inline: 16px;
    }

    .karabakh img {
        border-radius: 16px;
    }

    nation {
        padding-top: 16px;
        gap: 16px;
        padding-bottom: 16px;
    }

    .officials {
        margin-inline: 16px;
        gap: 5px;
    }

    .offical img {
        border-radius: 75px;
    }

    .more-btn {
        justify-content: center;
    }

    .service-div {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-inline: 16px;
        flex-wrap: wrap;
        gap: 32px;
    }

    .instruction-icon {
        width: calc(100% - 32px);
        height: auto;
    }
    
    .instruction-text {
        width: calc(100% - 32px);
        margin-top: -50px;
    }

    .buttons {
        margin-top: 32px;
    }

    .slider button {
        font-size: 1.5rem;
        padding: 7.5px 10px;
    }
    
    .prev {
        border-radius: 0 4px 4px 0;
    }
    
    .next {
        border-radius: 4px 0 0 4px;
    }
}

@media only screen and (max-width: 450px) {
    .news-item {
        width: calc(100vw - 16px);
    }

    .news-item img {
        width: calc(100vw - 40px);
    }
}

@media only screen and (max-width: 400px) {
    .reg-btn {
        width: 120px;
    }
}