html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    cursor: default;
    color: rgba(0, 0, 0, .7);
}

.containers-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    height: calc(100vw*0.397);
}

main {
    overflow: hidden;
}

h1,
.h1 {

    font-size: calc(20px + 40*(100vw/1920));
    font-weight: bold;
}

h1 {
    color: white;
}

h2,
.h2 {
    font-size: calc(13px + 27*(100vw/1920));
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
}

h3,
.h3 {
    font-size: calc(8px + 19*(100vw/1920));
}

li {
    margin-top: 15px;
}

p,
.p,
ul {
    font-size: calc(6px + 12*(100vw/1920));
}

.features-list ul {
    max-width: 48%;
}

button,
.blank-button {
    border: none;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
}

.red-button {
    border-radius: 4px;
    margin-top: calc(100vw*0.03);
    background: #D3252A;
    padding: calc(100vw*0.007) calc(100vw*0.02);
    color: white;
}

.red-button:hover {
    background: #a31015;
}

.blank-button {
    text-align: center;
    padding: 12px 0;
    width: 100%;
    background: none;
    border: 2px solid #1D3F63;
    color: #1D3F63;
}

.blank-button:hover {
    background: #1D3F63;
    color: white;
    text-decoration: none;
}

.free-button {
    background: #1D3F63;
    color: white;
}

.free-button:hover {
    background: none;
    border: 2px solid #1D3F63;
    color: #1D3F63;
}

a,
a:hover {
    color: inherit;
    text-decoration: none;
}

main section {
    margin-top: calc(100vw*0.078);
}

.top-bracket,
.bottom-bracket {
    width: 105%;
    height: calc(100vw*0.03);
    border: 3px solid black;
    border-radius: 10px 10px 0 0;
    border-bottom: none;
}

.bottom-bracket {
    transform: rotate(180deg);
}

.profile-photo {
    border-radius: 150px;
    height: calc(100vw*0.11);
    width: calc(100vw*0.11);
}

.expert-paragraph {
    width: 80%;
}

.grey-text {
    color: #5B5B5B;
}

svg:hover {
    fill: #7f9bce;
    transition: 0.3s;
}

.features-list ul li::before,
.card ul li::before {
    content: url(/resources/check-svgrepo-com.svg);
    vertical-align: middle;
    margin-right: 10px;
}

#contact-container {
    background: url('../resources/Images/Backgrounds/22R2_bg.webp') no-repeat;
    background-size: cover;
    width: 100%;
    color: white;
}

.landing-contacts {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    border-radius: 10px;
}

.contacts .contact-item {
    border-bottom: 1px solid white;
}

.contacts .contact-item:nth-last-child(1) {
    border-bottom: none;
}

.contacts p {
    margin-bottom: 0;
}

form .red-button {
    padding: 5px
}

.form-control {
    background: rgba(255, 255, 255, 0.35);
    border: none;
    border-radius: 4px;
}

button,
button:active,
button:focus {
    outline: none;
}

._error {
    box-shadow: 0 0 10px red;
}

.BGLanding {
    background: url('../resources/Images/Backgrounds/22R2_bg.webp') no-repeat;
    background-size: cover;
}

.BGMain {
    background: url('/resources/Images/Backgrounds/main_bg.webp') no-repeat;
    background-size: cover;
}

.BGFooter {
    background: url('/resources/Images/Backgrounds/footer_bg.webp') no-repeat;
    background-size: cover;
}

.BGAbout {
    background: url('/resources/Images/Backgrounds/AboutUs_bg.webp') no-repeat;
    background-size: cover;
}

.BGSupport {
    background: url('/resources/Images/Backgrounds/Support_bg.webp') no-repeat;
    background-size: cover;
}

.BGJobs {
    background: url('/resources/Images/Backgrounds/jobs_bg.webp') no-repeat;
    background-size: cover;
}

.BGIndustries {
    background: url('/resources/Images/Backgrounds/industries_bg.webp') no-repeat;
    background-size: cover;
}

.BG26262 {
    background: url('/resources/Images/Backgrounds/iso26262-bg.webp') no-repeat;
    background-size: cover;
}

.BGtrainings {
    background: url('/resources/Images/Backgrounds/trainings-bg.webp') no-repeat;
    background-size: cover;
}

.BGstories {
    background: url('/resources/Images/Backgrounds/stories-bg.webp') no-repeat;
    background-size: cover;
}

.BGPractices {
    background: url('/resources/Images/Backgrounds/bestPractices-bg.webp') no-repeat;
    background-size: cover;
}

.BGEvents {
    background: url('/resources/Images/Backgrounds/events-bg.webp') no-repeat;
    background-size: cover;
}

.BGRail {
    background: url('/resources/Images/Backgrounds/railway_bg.webp') no-repeat;
    background-size: cover;
}


header .h3 {
    color: white;
    font-weight: normal;
}

#industries p {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0;
    background: rgba(0, 45, 103, 0.8);
    color: white;
    font-weight: bold;
}

#contacts {
    background: rgba(199, 199, 199, 0.6);
}

#footer-top {
    background: rgba(11, 37, 72, .68);
    color: white;
}

#footer-btn {
    background: rgba(255, 255, 255, .68);
}

.frame-to-PSupport {
    position: absolute;
    top: 0;
    border-width: 5px;
    border-style: solid;
    width: 400%;
    height: calc(13px + 27*(100vw/1920)*4 + 20px);
}

.left {
    right: 25px;
    border-color: #5489C7;
}

.right {
    left: 25px;
    border-color: #61C152;
}

.job-position {
    border-radius: 4px;
    border: 3px #A3A3A3 solid;
    margin: 2.5rem 0;
}

.job-keywords {
    border: 1px #A3A3A3 solid;
    padding: 0.25rem 3rem;
    width: fit-content;
    margin: 1.5rem 0;
}

.job-options {
    background: #526988;
    border-radius: 4px;
    color: white;
    text-align: center;
    padding: 0.5rem 0;
}

.frame-to-PIndustry {
    position: absolute;
    top: 0;
    border-width: 3px;
    border-style: solid;
    width: 400%;
    height: calc(13px + 27*(100vw/1920)*2 + 20px);
    border-color: #2AB7C0;
}

.left-I {
    right: 20%;
}

.right-I {
    left: 20%;
}

.aerospace-industry-img {
    background-image: url('/resources/Images/aerospace-industry.webp');
}

.automotive-industry-img {
    background-image: url('/resources/Images/automotive-industry.webp');
}

.medical-industry-img {
    background-image: url('/resources/Images/medical-industry.webp');
}

.enterprice-industry-img {
    background-image: url('/resources/Images/enterprice-industry.webp');
}

.embeded-industry-img {
    background-image: url('/resources/Images/embeded-industry.webp');
}

.railway-industry-img{
    background-image: url('/resources/Images/railway-industry.webp');
}

.img-bgs {
    background-size: cover;
    background-position: center;
    height: 100%;
}

.features-about-polarion {
    border-top: 2px solid grey;
    border-bottom: 2px solid grey;
    padding: 2rem;
}

.about-polarion-img {
    background-image: url(/resources/Images/about-Polarion.webp);
}

.youtube-video {
    width: 100%;
    height: calc(100vw*0.72*9/16);
}

.youtube-btn {
    background: #253F63;
    padding: 1rem 2rem;
    color: white;
    border-radius: 4px;
}

.youtube-btn:hover {
    color: #5489C7;
}

.service-head {
    align-items: center;
    border-bottom: 1px solid #002D67;
}

.ISO26262plan {
    padding: 2rem;
    margin-top: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .075);
    ;
}

.ISO26262plan-price {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid black;
}

.ISO26262plan-btn {
    display: block;
    background: #253F63;
    padding: 1rem 2rem;
    margin-top: 2.5rem;
    text-align: center;
    color: white;
    font-weight: bold;
    border-radius: 4px;
}

.ISO26262plan h3 {
    font-weight: bold;
    margin-bottom: 2.5rem;
}

.ISO26262plan-btn:hover {
    color: #5489C7;
}

.box .label {
    position: relative;
}

.box .content {
    position: relative;
    overflow: hidden;
    max-height: 0;
    transition: 0.3s;
}


.box svg {
    height: 2em;
    width: 2em;
    transition: 0.5s;
}

.box.active svg {
    transform: rotate(90deg);
}

.questions-container>div {
    margin-bottom: 2rem;
    border-bottom: 1px solid black;
}

.questions-container>div:nth-last-child(1) {
    border-bottom: none;
    margin-bottom: 0;
}

.training {
    padding: 1.5em;
    margin-bottom: 2.5em;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}

.training-container>div:nth-child(1) {
    background-color: #ECFFF7;
}

.training-container>div:nth-child(2) {
    background-color: #FFF8ED;
}

.training-container>div:nth-child(3) {
    background-color: #F3E9FE;
}

.training-container>div:nth-child(4) {
    background-color: #FFECF5;
}

.training-container>div:nth-child(5) {
    background-color: #F0F2FF;
}

.training-keyword {
    background: rgba(203, 203, 203, 0.5);
    border-radius: 4px;
}

.training-details {
    color: white;
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
}

.training-more-btn {
    background: none;
    border: 4px solid;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
}

.training-more-btn:hover {
    background: rgba(200, 200, 200, 0.35);
}

.training-container>div:nth-child(1) .training-details {
    background-color: #56CB9A;
}

.training-container>div:nth-child(2) .training-details {
    background-color: #D2AF34;
}

.training-container>div:nth-child(3) .training-details {
    background-color: #905CD3;
}

.training-container>div:nth-child(4) .training-details {
    background-color: #D35C88;
}

.training-container>div:nth-child(5) .training-details {
    background-color: #5C79D1;
}


.training-container>div:nth-child(1) .training-more-btn {
    border-color: #56CB9A;
    color: #56CB9A;
}

.training-container>div:nth-child(2) .training-more-btn {
    border-color: #D2AF34;
    color: #D2AF34;
}

.training-container>div:nth-child(3) .training-more-btn {
    border-color: #905CD3;
    color: #905CD3;
}

.training-container>div:nth-child(4) .training-more-btn {
    border-color: #D35C88;
    color: #D35C88;
}

.training-container>div:nth-child(5) .training-more-btn {
    border-color: #5C79D1;
    color: #5C79D1;
}

.stories-keywords {
    background-color: #56CB9A;
    border-radius: 4px;
    color: white;
    font-weight: bold;
}

.story-nav-container {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    border-left: 1px solid grey;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0px 3px 25px 2px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}

.product-card>.text-secondary {
    border-bottom: 1px solid black;
}

.product-card>a {
    display: block;
    text-align: center;
    background: #1D3F63;
    color: white;
}

.product-card>.img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 18em;
    width: auto;
}

.future-event {
    border-top: 1px solid grey;
}

.company-info-left {
    border-right: 1px solid black;
}

.services-container,
.railway-container {
    background: linear-gradient(67.09deg, #2EABC7 -26.09%, #0A446D 88.04%);
    /*background-color: #074e77;*/
    width: 100%;
    color: white;
}

.services-card {
    background: rgba(255, 255, 255, .4);
    /* border: 3px solid white; */
    border-radius: 4px;
    padding: 1rem;

}

.c_item {
    height: calc(100vw*0.397);
}

.c_img {
    height: 100%;
    object-fit: cover;
}

.site-navbar {
    position: absolute;
    top: 0;
    z-index: 1
}

.carousel-control-next,
.carousel-control-prev {
    position: initial;
    width: auto;
    margin-bottom: 1em;
}

.carousel-control-prev {
    margin-right: 1.5em;
}

.controls {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.controls_container {
    display: flex;
}

.carousel-caption {
    width: 100%;
    height: 100%;
    top: 0;
    right: initial;
    left: initial;
    bottom: initial;
}

.red-button-thin {
    border-radius: 4px;
    margin-top: calc(100vw*0.03);
    border: 2px solid #D3252A;
    padding: calc(100vw*0.007) calc(100vw*0.02);
    color: #D3252A;
}

.red-button-thin:hover {
    background: #a31015;
}

.quote-railway{
    color: rgba(255, 255, 255, .7);
}

@media (max-width:767px) {
    h1 {
        font-size: calc(15px + (40 + 40 * 0.7) * ((100vw - 320px) / 1920));
    }

    h2,
    .h2 {
        font-size: calc(13px + (19+19*0.7)*(100vw/1920));
    }

    h3,
    .h3 {
        font-size: calc(8px + (19 + 19 * 0.7) * ((100vw - 100px) / 1920));
    }

    p,
    .p,
    ul {
        font-size: calc(8px + (15 + 15 * 0.7)*(100vw/1920));
    }

    .profile-photo {
        height: calc(100vw*0.21);
        width: calc(100vw*0.21);
        margin-right: 10px;
    }

    .contacts {
        border-radius: 0;
    }

    .frame-to-PSupport {
        border-width: 2px;
        height: calc(13px + (19+19*0.7)*(100vw/1920)*4 + 10px);
    }

    #industries p {
        position: initial;
        bottom: 0;
        width: 100%;
        margin: 0;
        background: rgba(0, 45, 103, 0.8);
        color: white;
        font-weight: bold;
    }

    .img-bgs,
    .product-card>.img {
        height: 15rem;
    }

    .c_item,
    header {
        height: calc(100vw*0.5);
    }
}

@media (max-width:500px) {
    main nav {
        display: none;
    }

    .product-card>.img {
        height: 13rem;
    }
}

@media (min-width:1921px) {
    h1 {
        font-size: 60px;
    }

    h2,
    .h2 {
        font-size: 40px;
    }

    h3,
    .h3 {
        font-size: 27px;
    }

    p,
    .p,
    ul {
        font-size: 18px;
    }


    .c_item,
    header {
        height: 762px;
    }


    .red-button, .red-button-thin {
        margin-top: 57px;
        padding: 13.5px 38.5px;
    }

    main section {
        margin-top: 150px;
    }

    .top-bracket,
    .bottom-bracket {
        height: 58px;
    }

    .profile-photo {
        height: 211px;
        width: 211px;
    }

    .frame-to-PSupport {
        height: 140px;
        width: 100%;
    }

    .frame-to-PIndustry {
        height: 87px;
        width: 100%;
    }

    .youtube-video {
        width: 100%;
        height: calc(1400px*9/16);
    }


}