
:root {
    --col1: black;
    --text: white;
    /* --texthover: #ff7300; */
    --texthover: #ff0101;
    --background: #151515;
}

/* Traning landing */

.first {
    max-width: 100%;
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url("./imgs/bg2.jpeg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.first h1 {
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text);
    padding: 17.8%;
}
/* --------------- */

/* Training */

.training {
    max-width: 100%;
    min-height: 100vh;
    background-color: var(--background);
    overflow: hidden;
}

.training p {
    font-size: 37px;
    color: var(--texthover);
    text-align: center;
    padding-top: 20px;
}

.training h1 {
    font-size: 35px;
    text-align: center;
    color: var(--text);
    margin-bottom: 30px;
}
.training .textcontent h1 {
    font-size: 25px;
    text-align: center;
    color: var(--text);
    margin-bottom: 30px;
}

.textcontent p{
    font-size: 20px;
}

.content {
    width: 100%;
    min-height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.content1 {
    margin-top: -7px;
    height: fit-content;
    display: flex;
    margin: 20px 0;
}

.resve{
    flex-direction: row-reverse;
}

.content1 .image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.content1 .textcontent {
    width: 300px;
}

.content1 .textcontent h1 {
    text-transform: uppercase;
    color: var(--texthover);
    font-size: 27px;
    text-align: left;
    padding: 20px;

}

.content1 .textcontent p {
    color: var(--text);
    font-size: 17px;
    text-align: left;
    line-height: 1.5;
    margin-top: -55px;
    padding: 20px;
}

.content1 .textcontent:hover {
    background: rgb(34, 34, 34);
}

/* ---------------- */

/* Video */

.video {
    max-width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.playvideo{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("./imgs/sivakumar/bg3.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.vdo:nth-child(1){
    display: block;
}
.vdo:nth-child(2){
    display: none;
}
.vdo{
    width: 100%;
    height: 100%;
}

.video .videocontent {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

.video .videocontent h1 {
    font-size: 45px;
    color: var(--text);
    margin-bottom: 20px;

}

.video .videocontent p {
    font-size: 26px;
    color: var(--texthover);
    margin-bottom: 20px;
} 

.videobtn {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.videobtn svg {
    width: 35px;
    height: 35px;
    fill: var(--texthover);
    margin-left: 10px;
}

/* ---------- */

/* Mobile view */

@media screen and (max-width:460px) {
    .first {
        width: 100%;
        height: 70vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url("./imgs/bg2.1.jpeg");
        background-position:center;
        background-size: cover;
        background-repeat: no-repeat;
    }
    .training {
        width: 100%;
        height: fit-content;
    }
    .content {
        flex-direction: column;
    }
    .content1{
        flex-direction: column;
        margin: 10px 0;
    }
    .video{
        width: 100%;
        height: 100vh;
        position: relative;
    }
    .video .videocontent{
        padding-bottom: 150px;
        justify-content: end;
    }
    .video .videocontent h1{
        text-align: center;
        font-size: 28px;
    }
    .video .videocontent p {
        font-size: 20px;
    }
    .vdo:nth-child(1){
        display: none;
    }
    .vdo:nth-child(2){
        display: flex;
    }
    .playvideo{
        background: url("./imgs/sivakumar/bg2.jpg");
        background-position: center;
        background-size: cover;
    }
    .resve{
        flex-direction: column-reverse;
    }
   
}