/* DeafHub Team | File: welcome_main.css */

/* Desktop */
header {
    z-index: 2;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    /*box-shadow: 0 0 150px 0 black;*/
}

main {
    display: flex;
    align-items: center;
    min-height: calc(100vh);
    background-color: #000;
}
main .text {
    /*position: absolute;*/
    z-index: 1;
    margin-left: 70px;
}
main .text a:hover {
    color: #fff;
}
main .title {
    font-size: 25px;
    padding-bottom: 20px;
}
main .button-container {
    display: flex;
}
main .button-container button {
    font-family: inherit;
    font-size: 19px;
    width: 70%;
    margin-right: 20px;
    height: 55px;
    color: #fff;
    border: 1px solid #D60812;
    border-radius: 5px;
}
main .button-container a {
    font-size: 19px;
    line-height: 55px;
    width: 40%;
    background-color: #D60812;
    border-radius: 5px;
    text-align: center;
}


/* Tabs */
.tabs {
    display: grid;
    border-top: 8px solid #222;
    min-height: calc(88vh);
}
.tabs .tab {
    text-align: center;
}
.tabs input {
    display: none;
}
.tabs label {
    display: inline-block;
    font-size: 20px;
    width: 120px;
    margin: 20px;
    padding-bottom: 15px;
    position: relative;
    text-align: center;
    color: #999999;
    cursor: pointer;
}
.tabs label:after {
    content: '';
    display: block;
    width: inherit;
    height: 4px;
    position: absolute;
    bottom: 0;
    background-color: #EA2822;
    border-radius: 2px;
}
#tab1:checked ~ .tab-content #one,
#tab2:checked ~ .tab-content #two {
    display: block;
}
.tabs .content {
    display: none;
}
/* END */



.ask-title {
    font-weight: 300;
    font-size: 40px;
    line-height: 50px;
    color: #FFFFFF;
    margin: 0;
}
.faq-card {
    text-align: center;
}
.faq-card .faq-list {
    margin: 1.25em auto;
    max-width: 515px;
}
.faq-card .faq-list-item {
    margin: 0 0 8px 0;
}
.faq-card .text-component p {
    display: block;
    margin: 0px;
    padding: 15px;
}
.faq-card .text-component {
    text-align: left;
    background-color: #303030;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}


.accordion {
    font-family: inherit;
    font-size: 18px;
    line-height: 18px;
    background-color: #303030;
    color: #fff;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.3s;
    border-radius: 3px;
    margin-bottom: 1px;
}
.accordion:after {
    font-family: 'Font Awesome 5 Pro';
    content: '\f067';
    font-size: 25px;
    float: left;
    margin-left: 10px;
    margin-right: 20px;
}
.accordion:hover, .active > .accordion {
    background-color: #ccc;
    color: #000;
}
.active > .accordion:after {
    content: '\f068';
}


#trailer {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.3;
}
#trailer > video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@supports (object-fit: cover) {
    #trailer > video {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Welcome_main */
@media only screen and (max-width: 576px) {
    /* Center */
    main .text {
        margin: 0 auto;
    }
    main .title {
        font-size: 20px;
        padding-bottom: 15px;
    }
    main .button-container {
        flex-direction: column;
        align-items: center;
    }
    main .button-container button {
        font-size: 17px;
        margin-right: 0px;
        margin-bottom: 15px;
        height: 50px;
    }
    main .button-container a {
        font-size: 17px;
        line-height: 50px;
    }

    .faq-card .faq-list {
        margin: 1.25em auto;
        max-width: 320px;
    }
    .accordion {
        font-size: 13px;
        line-height: 13px;
    }
    .faq-card .text-component {
        font-size: 12px;
    }
}

/* Доп. стиль */
.line {
    border-top: 1px solid #A6A6A6;
}