*{
    font-family: 'DDINCondensedRegular';
}

body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#header_bg{
    transform: scaleY(1.6);
}

nav-bar{
    display: flex;
    flex-direction: row;
    width: 90%;
    z-index: 2;
    position: relative;
    justify-content: space-between;
    align-items: center;
    height: 13vh;
}

logo{
   width: 33.3vw;
   justify-content: flex-start;
}

logo img{
    width: 80%;
}

nav-bar h1{
    font-family: 'DDINCondensedRegular';
    font-style: normal;
    font-weight: bold;
    font-size: 300%;
    text-shadow: 0px 4px 23px rgb(0 0 0 / 9%);
    background: -webkit-linear-gradient(270deg, #FFFFFF 0%, rgb(255 255 255 / 82%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

title-text{
    width: 33.3vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

btn-ctn{
    width: 33.3vw;
    justify-content: flex-end;
}

button{
    background: linear-gradient( 
        180deg
         , rgba(255, 255, 255, 0.77) 0%, rgba(255, 255, 255, 0) 153.37%, rgba(255, 255, 255, 0.6237) 153.37%);
    filter: drop-shadow(0px 4px 14px rgba(0, 0, 0, 0.25));
    border-radius: 10px;
    padding: 9px 33px;
    border: none;
    color: #5B5B5B;
    font-size: 19px;
}

.header-itm{
    width: 33.3vw;
    display: flex;
    align-items: center;
}

header{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    /*background-image: url('../images/headerShort.svg');*/
    /*background-position: center;*/
    /*background-size: cover;*/
    /*overflow: visible;*/
}

info-ctn{
    z-index: 2;
    display: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
}

info-ctn p{
    font-weight: bold;
    font-size: 30px;
    line-height: 86px;
    color: #FFFFFF;
    text-shadow: 0px 4px 9px rgba(0, 0, 0, 0.3);
}

info-ctn img{
    width: 14%;
}

info-ctn h5{
    font-style: normal;
    font-weight: bold;
    font-size: 38px;
    line-height: 88px;
    color: #FFFFFF;
    /*text-shadow: 0px 0px 9px rgb(0 0 0 / 0%), 1px 1px 15px #ffffff, 0px 0px 11px rgb(0 0 0 / 29%);*/
    text-shadow: 0px -1px 9px rgb(0 0 0 / -8%), 1px 1px 10px #ffffff, 0px 4px 9px rgb(0 0 0 / 29%);
}

app-container{
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-gap: 30px 50px;
    height: 100%;
    width: 80%;
    margin: 10px;
    padding: 0;
    justify-content: space-evenly;
    align-items: center;
    z-index: 5;
    margin-top: 50px;
}

app{
    background: rgba(255, 255, 255, 0.89);
    box-shadow: 10px 10px 20px rgb(128 128 128 / 50%);
    border-radius: 30px;
    align-items: center;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*justify-content: center;*/
    /* height: 210px; */
    padding: 20px;
}

app img{
    width: 120px;
    box-shadow: 0px -6px 51px 1px rgb(0 0 0 / 23%);
    border-radius: 15px;
    /*padding-right: 40px;*/
}

app-info{
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

app-info p{
    line-height: 20px;
}

app-info p:first-of-type{
    color: #B90000;
    font-weight: 900;
    font-size: 19px;
}

app-info p.certify{
    background: linear-gradient(180deg, #DAB700 0%, #FF7A00 100%), #d09b06;
    padding-left: 5px;
    padding-top: 3.5px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

app-info p.uncfm{
    background: linear-gradient(180deg, #358AE6 0%, #0E51B6 100%), #f5f4f2;
    padding-left: 5px;
    padding-top: 3.5px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 19px;
    font-weight: 900;
}

app-info p.error{
    background: linear-gradient( 180deg, #FD6161 0%, #EB0A0A 100%), #f5f4f2;
    padding-left: 5px;
    padding-top: 3.5px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 19px;
    font-weight: 900;
}

certification-info{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

app-info h3{
    line-height: 40px;
    font-size: 32px;
}

app-info img{
    margin-bottom: 3px;
}

app-info img[alt^="certified"] {
    box-shadow: none;
    width: 26px;
    height: 26px;
}

app-info img[alt^="uncfm"] {
    width: 23px;
    height: 23px;
    margin-left: 15px;
}

app-info img[alt^="error"] {
    width: 27px;
    height: 27px;
    margin-left: 15px;
}

app button{
    background-image: linear-gradient(157deg, #fbc2ebc7 0%, #a6c1ee 51%, #8372bd9c 100%);
    filter: drop-shadow(0px 4px 3px rgba(0, 0, 0, 0.25));
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    border-radius: 10px;
    right: 30px;
    bottom: 80px;
    position: absolute;
}
app button:hover {
  background-position: right center; /* change the direction of the change here */
}

description-info {
    margin: 15px 10px;
}

description-info p{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 150px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgb(0 0 0 / 66%); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  margin-bottom: 200px;
  padding: 0;
  border: 1px solid #888;
  border-radius: 20px;
  width: 60%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

.modal-header h2{
    font-size: 36px;
    margin-left: 170px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
    font-weight: bold;
    color: #030303;
    position: absolute;
    right: 16px;
    top: 3px;
    font-size: 40px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.close-btn{
    height: 48px;
    width: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(to top, #f6f7ffe0, #f6f6f7e0);
    color: #030303;
    position: absolute;
    right: 3px;
    top: 2px;
    align-self: flex-end;
    transform: translate(50%, -50%);
    box-shadow: 0 10px 20px 0 #4364f767;
}

.modal-header {
    padding: 15px 16px;
    border-radius: 20px 20px 0px 0px;
    color: white;
    position: relative;
    background-color: #5de6de;
    /*background-image: linear-gradient(347deg, #5de6de 0%, #b58ecc 74%);*/
    background: -webkit-linear-gradient(#5de6de 0%, #cc89f2 56%, white 100%);
}

.modal-header img{
    float: left;
    margin-left: 20px;
}

.modal-body {padding: 20px 16px;}

.modal-body app-info{
    margin-left: 170px;
    flex-direction: row;
    flex-wrap: wrap;
}

.modal-body version{
    justify-content: flex-end;
    display: flex;
    flex-direction: column;
    margin-left: 30px;
}

.modal-body p.description{
    margin: 30px 30px;
    line-height: 140%;
    font-size: 22px;
    overflow: auto;
}

@media only screen and (max-width: 1444px) {
    object{
        /* top: -150px !important; */
    }
}

@media only screen and (max-width: 1280px) {
    info-ctn p {
        font-size: 26px;
        line-height: 70px;
    }
    info-ctn img {
        width: 12%;
    }
    info-ctn h5 {
        /*font-size: 34px;*/
        font-size: 30px;
    }
    app button {
        width: 100%;
        position: static;
    }
} 

@media only screen and (max-width: 1145px) {
    app-info {
        margin-left: 13px;
    }
    app img {
        width: 105px;
    }
    app-info h3 {
        font-size: 28px;
    }
    info-ctn p {
        font-size: 22px;
    }
    info-ctn h5 {
        font-size: 24px;
    }
} 
/*@media only screen and (max-width: 1114px) {*/
/*    app-info {*/
/*        margin-left: 13px;*/
/*    }*/
/*    app img {*/
/*        width: 115px;*/
/*    }*/
/*} */
/*@media only screen and (max-width: 1012px) and (min-width: ) {*/
/*    object{*/
/*         top: 0px !important; */
/*    }*/
/*} */
@media only screen and (max-width: 990px) and (min-width: 840px) {
    info-ctn p {
        font-size: 20px;
        line-height: 50px;
    }
    info-ctn h5 {
        font-size: 24px;
        /*color: black;*/
        line-height: 68px;
    }
    app-container {
        width: 90%;
        position: absolute;
        top: 270px;
    }
    app-info {
        margin-left: 10px;
    }
    /*app img {*/
    /*    margin-left: 13px;*/
    /*}*/
} 
@media only screen and (max-width: 768px){
    .modal-body version {
        margin-left: 0px;
    }
}
@media only screen and (max-width: 425px) {
    body {
        background: url('../images/mobile_bg.jpeg') no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
    #header_bg{
        display: none;
    }
    nav-bar h1 {
        font-size: 190%;
    }
    #sup_btn{
        font-size: 13px;
        padding: 4px 14px !important;
    }
    nav-bar{
        height: 10vh;
    }
    app img{
        width: 100px;
    }
    app-info{
        display: initial;
    }
    info-ctn {
        height: auto;
    }
    info-ctn p {
        font-size: 12px;
        text-align: center;
        line-height: normal;
        margin-bottom: 15px;
    }
    info-ctn h5 {
        font-size: 27px;
    }
    app-container {
        width: auto;
        grid-template-columns: repeat(1, 100%);
        margin-top: 0;
    }
    #bg_c3{
        left: -118px !important; 
        top: 2900px;
    }
    #bg_c2{
        right: 0 !important;
    }
    .close-btn {
        right: 24px;
    }
    .modal-content {
        width: 100%;
    }
} 
@media only screen and (max-width: 375px) {
    #bg_c1, #bg_c2, #bg_c3{
        display: none;
    }
    app{
        display: initial;
    }
}

