html {
    height: 100%;
    overflow: hidden; 
}

body {
    margin: 0;
    padding: 0;
    perspective: 1px;
    transform-style: preserve-3d;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    font-family: 'Metropolis-ExtraBold', sans-serif;
}

/* =============== START country details banner ========================================================================= */
.country-bg {
    box-sizing: border-box;
    max-height: 1200px;
    min-height: 600px;
    padding: 2vw;
    position: relative;
    transform-style: inherit;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.country-bg h1 {
    margin-top: 1.5em;
    font-size: 150px;
    font-weight: bolder;   
}
@media (min-width: 1020px) and (max-width:1910px){
    .country-bg h1 {
        font-size: 105px;
    }
}

@media screen and (max-width: 550px) {
    .country-bg h1 {
        font-size: 60px;
        margin-top: 0em;
    }
    .country-bg h5 {
        font-size: small;
    }
}

.country-bg, .country-bg:before {
    background: 50% 50% / cover;
}

.country-bg::before {
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: -388px;
    display: block;
    background-image: url(/imgs/country_details/germany_bg.jpg);
    background-size: cover;
    transform-origin: center center 0;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
    height: 710px;
}

.country-bg * {
    font-weight: normal;
    letter-spacing: 0.2em;
    text-align: center;
    margin: 0;
    color: white;
}
/* =============== END country details banner ========================================================================= */
/* =============== START italy banner ========================================================================= */
.italy-bg {
    box-sizing: border-box;
    max-height: 1200px;
    min-height: 600px;
    padding: 2vw;
    position: relative;
    transform-style: inherit;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.italy-bg h1 {
    margin-top: 1.5em;
    font-size: 150px;
    font-weight: bolder;
    
}
@media (min-width: 1020px) and (max-width:1910px){
    .italy-bg h1 {
        font-size: 105px;
    }
}

@media screen and (max-width: 550px) {
    .italy-bg h1 {
        font-size: 80px;
        margin-top: 0em;
    }
    .italy-bg h5 {
        font-size: small;
    }
}

.italy-bg, .italy-bg:before {
    background: 50% 50% / cover;
}

.italy-bg::before {
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: -388px;
    display: block;
    background-image: url(/imgs/country_details/italy.jpeg);
    background-size: cover;
    transform-origin: center center 0;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
    height: 710px;
}

.italy-bg * {
    font-weight: normal;
    letter-spacing: 0.2em;
    text-align: center;
    margin: 0;
    color: white;
}
/* =============== END italy banner ========================================================================= */
/* =============== START finland banner ========================================================================= */
.finland-bg {
    box-sizing: border-box;
    max-height: 1200px;
    min-height: 600px;
    padding: 2vw;
    position: relative;
    transform-style: inherit;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.finland-bg h1 {
    margin-top: 1.5em;
    font-size: 150px;
    font-weight: bolder;
}
@media (min-width: 1020px) and (max-width: 1910px){
    .finland-bg h1 {
        font-size: 105px;
    }
}

@media screen and (max-width: 550px) {
    .finland-bg h1 {
        font-size: 60px;
        margin-top: 0em;
    }
    .finland-bg h5 {
        font-size: small;
    }
}

.finland-bg, .finland-bg:before {
    background: 50% 50% / cover;
}

.finland-bg::before {
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: -388px;
    display: block;
    background-image: url(/imgs/country_details/finland.jpeg);
    background-size: cover;
    transform-origin: center center 0;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
    height: 710px;
}

.finland-bg * {
    font-weight: normal;
    letter-spacing: 0.2em;
    text-align: center;
    margin: 0;
    color: white;
}
/* =============== END finland banner ========================================================================= */
/* =============== START hungary banner ========================================================================= */
.hungary-bg {
    box-sizing: border-box;
    max-height: 1200px;
    min-height: 600px;
    padding: 2vw;
    position: relative;
    transform-style: inherit;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.hungary-bg h1 {
    margin-top: 1.5em;
    font-size: 150px;
    font-weight: bolder;
}
@media (min-width: 1020px) and (max-width: 1910px){
    .hungary-bg h1 {
        font-size: 105px;
    }
}

@media screen and (max-width: 550px) {
    .hungary-bg h1 {
        font-size: 55px;
        margin-top: 0em;
    }
    .hungary-bg h5 {
        font-size: small;
    }
}

.hungary-bg, .hungary-bg:before {
    background: 50% 50% / cover;
}

.hungary-bg::before {
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: -388px;
    display: block;
    background-image: url(/imgs/country_details/hungary.jpeg);
    background-size: cover;
    transform-origin: center center 0;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
    height: 710px;
}

.hungary-bg * {
    font-weight: normal;
    letter-spacing: 0.2em;
    text-align: center;
    margin: 0;
    color: white;
}
/* =============== END hungary banner ========================================================================= */
/* =============== START japan banner ========================================================================= */
.japan-bg {
    box-sizing: border-box;
    max-height: 1200px;
    min-height: 600px;
    padding: 2vw;
    position: relative;
    transform-style: inherit;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.japan-bg h1 {
    margin-top: 1.5em;
    font-size: 150px;
    font-weight: bolder;
}
@media (min-width: 1020px) and (max-width: 1910px){
    .japan-bg h1 {
        font-size: 105px;
    }
}

.japan-bg, .japan-bg:before {
    background: 50% 50% / cover;
}

.japan-bg::before {
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: -388px;
    display: block;
    background-image: url(/imgs/country_details/japan.jpeg);
    background-size: cover;
    transform-origin: center center 0;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
    height: 710px;
}

.japan-bg * {
    font-weight: normal;
    letter-spacing: 0.2em;
    text-align: center;
    margin: 0;
    color: white;
}
/* =============== END japan banner ========================================================================= */
/* =============== START spain banner ========================================================================= */
.spain-bg {
    box-sizing: border-box;
    max-height: 1200px;
    min-height: 600px;
    padding: 2vw;
    position: relative;
    transform-style: inherit;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.spain-bg h1 {
    margin-top: 1.5em;
    font-size: 150px;
    font-weight: bolder;
}
@media (min-width: 1020px) and (max-width: 1910px){
    .spain-bg h1 {
        font-size: 105px;
    }
}

@media screen and (max-width: 550px) {
    .spain-bg h1 {
        font-size: 90px;
        margin-top: 0em;
    }
    .spain-bg h5 {
        font-size: small;
    }
}

.spain-bg, .spain-bg:before {
    background: 50% 50% / cover;
}

.spain-bg::before {
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: -388px;
    display: block;
    background-image: url(/imgs/country_details/spain.jpeg);
    background-size: cover;
    transform-origin: center center 0;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
    height: 710px;
}

.spain-bg * {
    font-weight: normal;
    letter-spacing: 0.2em;
    text-align: center;
    margin: 0;
    color: white;
}
/* =============== END spain banner ========================================================================= */
/* =============== START china banner ========================================================================= */
.china-bg {
    box-sizing: border-box;
    max-height: 1200px;
    min-height: 600px;
    padding: 2vw;
    position: relative;
    transform-style: inherit;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.china-bg h1 {
    margin-top: 1.5em;
    font-size: 150px;
    font-weight: bolder;  
}
@media (min-width: 1020px) and (max-width: 1910px){
    .china-bg h1 {
        font-size: 105px;
    }
}

@media screen and (max-width: 550px) {
    .china-bg h1 {
        font-size: 85px;
        margin-top: 0em;
    }
    .china-bg h5 {
        font-size: small;
    }
}

.china-bg, .china-bg:before {
    background: 50% 50% / cover;
}

.china-bg::before {
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: -388px;
    display: block;
    background-image: url(/imgs/country_details/china.jpeg);
    background-size: cover;
    transform-origin: center center 0;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
    height: 710px;
}

.china-bg * {
    font-weight: normal;
    letter-spacing: 0.2em;
    text-align: center;
    margin: 0;
    color: white;
}
/* =============== END china banner ========================================================================= */
/* =============== START sweden banner ========================================================================= */
.sweden-bg {
    box-sizing: border-box;
    max-height: 1200px;
    min-height: 600px;
    padding: 2vw;
    position: relative;
    transform-style: inherit;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.sweden-bg h1 {
    margin-top: 1.5em;
    font-size: 150px;
    font-weight: bolder;
}
@media (min-width: 1020px) and (max-width: 1910px){
    .sweden-bg h1 {
        font-size: 105px;
    }
}

@media screen and (max-width: 550px) {
    .sweden-bg h1 {
        font-size: 60px;
        margin-top: 0em;
    }
    .sweden-bg h5 {
        font-size: small;
    }
}

.sweden-bg, .sweden-bg:before {
    background: 50% 50% / cover;
}

.sweden-bg::before {
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: -388px;
    display: block;
    background-image: url(/imgs/country_details/sweden.jpeg);
    background-size: cover;
    transform-origin: center center 0;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
    height: 710px;
}

.sweden-bg * {
    font-weight: normal;
    letter-spacing: 0.2em;
    text-align: center;
    margin: 0;
    color: white;
}
/* =============== END sweden banner ========================================================================= */

/* =============== START why german area ========================================================================= */
.more-btn {
    width: fit-content;
    border-radius: 20px;
    margin-left: 5px;
    background-color: white;
    border: 1px solid;
    font-size: medium;
}

p i{
    font-size: 2.5rem;
    color: grey;
}
/* =============== END why german area ========================================================================= */

/* =============== START course area ========================================================================= */
/* section {
    display: grid;
    place-items: center;
    align-content: center;
    height: 100vh;
} */

.hidden {
    display: grid;
    place-items: center;
    align-content: center;
    height: fit-content;
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
    transition: all 3s;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

.hiddenRigtTolft {
    display: grid;
    place-items: center;
    align-content: center;
    height: fit-content;
    opacity: 0;
    filter: blur(5px);
    transform: translateX(100%);
    transition: all 3s;
}

.show1 {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}
/* =============== END course area ========================================================================= */

.cardd {
    position: relative;
    /* width: 312px; */
    height: 265px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (min-width: 1000px) and (max-width:1200px) {
    .cardd {
        /* width: 284px; */
        height: 290px;
    }
}
@media (min-width: 1201px) and (max-width:1400px) {
    .cardd {
        /* width: 337px; */
        height: 290px;
    }
    
}

/* @media (min-width: 1920px){
    .cardd {
        width: 400px;
    }
}
@media screen and (max-width: 390px) {
    .cardd {
        margin-left: 30px;
    }
}

@media (min-width: 391px) and (max-width:550px) {
    .cardd {
        margin-left: 50px;
    }
} */

.cardd .box {
    position: relative;
    width: 100%;
    height: 225px;
    background-color: white;
    border-radius: 15px;
    border: 1px solid rgb(22, 26, 71);
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .cardd .box {
        height: 240px;
    }
}


.cardd .box:nth-child(2)::before {
    content: '';
    position: absolute;
    bottom: 106px;
    left: -1px;
    background: transparent;
    width: 20px;
    height: 20px;
    border-top-left-radius: 20px;
    z-index: 10;
    box-shadow: -6px -6px white;
}

.cardd .box:nth-child(2)::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 109px;
    background: transparent;
    width: 20px;
    height: 20px;
    border-top-left-radius: 20px;
    z-index: 10;
    box-shadow: -6px -6px white;
}

.cardd .box:nth-child(2){
    background: grey;
    height: 220px;
    width: 100%;
}

.cardd .circle {
    position: absolute;
    /* top: 50%; */
    left: -45px;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    /* border: 6px solid rgb(255, 255, 255); */
}

.cardd .circle .imgBx {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 50px;
}

.cardd .circle .imgBx i {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-size: 2.3rem;
    padding-left: 24px;
    padding-top: 38px;
    color: black;
}


.cardd .circle .imgBx img {
    position: absolute;
    /* width: 100%;
    height: 100%; */
    object-fit: cover;
    width: 72px;
    padding-left: 30px;
    padding-top: 35px;
}

@media (min-width: 1000px) and (max-width: 1199px) {
    .cardd .circle .imgBx img {
        width: 60px;
        padding-top: 25px;
    }

    .cardd .circle {
        width: 66px;
        height: 66px;
        left: -38px;
    }

    .cardd .circle .imgBx i {
        padding-top: 25px;
        padding-left: 15px;
    }
}

.cardd .box .content {
    position: absolute;
    inset: 0;
    padding: 30px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* color: white; */
}

.cardd .box .content h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-transform: uppercase;
    font-size: 1.15em;
    letter-spacing: 0.1em;
    font-weight: 600;
    line-height: 1.1em;
    color: rgb(22, 26, 71);
}

.cardd .box .content p {
    padding-top: 11px;
}

/* ============ start information area ================================ */
/* .container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 100px 50px;
    padding: 100px 50px;
} */

.cardds {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 300px;
    height: 60px;
    background: white;
    border-radius: 20px;
    border: 1px solid rgb(22, 26, 71);
    transition: 0.5s;
    margin-top: 6px;
}
@media (min-width:1000px) and (max-width:1200px) {
    .cardds {
        width: 260px;
    }
}

.cardds:hover{
    height: 265px;
}

.cardds .content {
    position: absolute;
    
    width: 100%;
    padding: 27px 15px 10px 15px;
    text-align: center;
    height: 55px;
    overflow: hidden;
    transition: 0.5s;
}

.cardds .content h4 {
    margin-top: -10px;
    font-weight: 500;
}

.cardds .content p {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.cardds:hover .content {
    height: 250px;
}

/* ============ end information area ================================ */
/* ================== START programs and cources =================== */
.programs {
    box-shadow: -1px -2px 10px grey;
    width: 325px;
    margin-top: -124px;
    margin-left: 13px;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    line-height: 50px;
    padding-top: 24px;
}
@media (min-width: 1000px) and (max-width: 1910px){
    .programs {
        margin-top: -366px;
        margin-left: 27px;
    }
}

.detailss {
    width: 100%;
}
.detailss img {
    background-size: cover;
}

@media (min-width: 1020px) and (max-width: 1199px){
    .detailss img {
        width: 33em;
    }
}
@media (min-width: 1200px) and (max-width: 1910px){
    .detailss img {
        width: 39em;
    }
}

@media screen and (max-width: 550px) {
    .detailss img {
        width: -webkit-fill-available;
    }
}

.eligibilities span {
    font-size: large;
}

@media screen and (max-width: 1199px) {
    .eligibilities span {
        font-size: small;
    }
}

.scholar p {
    font-size: large;
}

@media screen and (max-width: 1199px) {
    .scholar p {
        font-size: small;
    }
}

.cntry-univerty {
    padding: 15px;
    border-bottom: 1px solid;
    border-right: 14px solid white;
}

.cntry-univerty a {
    display: flex;
    align-items: center;
}

.cntry-univerty h6 {
    padding-left: 10px;
}

.add-img {
    background: url(/imgs/country_details/info-img\ \(1\).png) no-repeat center;
    height: 22rem;
    margin-top: -5em;
}

@media screen and (max-width: 768px) {
    .add-img {
        background: url(/imgs/country_details/info-img-mobile_view.png) no-repeat center;
    }
}

.add-coll {
    display: flex;
    justify-content: flex-start;
}

@media screen and (max-width: 768px) {
    .add-coll {
        display: flex;
        justify-content: center;
    }
}

/* ================== END programs and cources =================== */