﻿/*========================================================================================================================================================*/
/*ALL SCREEN RESOLUTIONS (DEFAULT LAYOUT)*/
/*========================================================================================================================================================*/
.faqsection1container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.faqsection1leftcontainer {
    position: relative;
    margin-left: 80px;
    animation: faqsection1leftcontainer;
    animation-duration: 2s;
}

@keyframes faqsection1leftcontainer {
    from {
        left: -570px
    }

    to {
        left: 0;
    }
}

.faqsection1left, .faqsection1right {
    width: 100%;
    margin: 40px 20px 40px 20px;
    padding: 0 0 0 50px;
    overflow: hidden;
}

    .faqsection1left h1 {
        font-size: 18px;
        font-weight: bold;
        color: #fc4a4a;
    }

    .faqsection1card h1 {
        font-size: 14px;
    }

    .faqsection1card p {
        font-size: 12px;
        font-weight: unset;
    }

.faqsection1img1container {
    overflow: hidden;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    animation: faqsection1img1container;
    animation-duration: 2s;
}

@keyframes faqsection1img1container {
    0% {
        transform: rotateX(90deg);
    }

    40% {
        transform: rotateX(20deg);
    }

    60% {
        transform: rotateX(45deg);
    }

    70% {
        transform: rotateX(0deg);
    }

    80% {
        transform: rotateX(20deg);
    }

    100% {
        transform: rotateX(0deg);
    }
}

.faqsection1img1 {
    width: 500px;
}


.faqsection1img2container {
    display: flex;
    overflow: hidden;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: solid;
    border-color: #db545a;
    border-width: 15px;
    position: relative;
    top: 50px;
    left: 300px;
    animation: faqsection1img2container;
    animation-duration: 2s;
}

@keyframes faqsection1img2container {
    from {
        left: 600px;
    }

    to {
        left: 300px;
    }
}

.faqsection1img2 {
    top: 0;
    width: 300px;
}

/*========================================================================================================================================================*/
/*TABLET AND PORTRAIT*/
/*========================================================================================================================================================*/


@media only screen and (max-width: 800px) {
    .faqsection1leftcontainer {
        margin-left: 0px;
    }

    @keyframes faqsection1leftcontainer {
        from {
            left: -570px
        }

        to {
            left: 0px;
        }
    }

    .faqsection1left, .faqsection1right {
        margin: 20px 10px 20px 10px;
    }

    .faqsection1img1container {
        display: flex;
        width: 320px;
        height:320px;
        justify-content: center;
        align-items: center;
    }

    .faqsection1img1 {
        width: 340px;
    }


    .faqsection1img2container {
        width: 140px;
        height: 140px;
        top: 50px;
        left: 40px;
    }

    @keyframes faqsection1img2container {
        from {
            left: 400px;
        }

        to {
            left: 40px;
        }
    }

    .faqsection1img2container {
        width: 140px;
        height: 140px;
        border-width: 10px;
        justify-content: center;
        align-items: center;
    }

    .faqsection1img2 {
        top: 0;
        width: 150px;
    }
}

/*========================================================================================================================================================*/
/*PHONE AND PORTRAIT*/
/*========================================================================================================================================================*/

@media only screen and (max-width: 480px) {
    .faqsection1left, .faqsection1right {
        width: 100%;
        margin: 0 5px 0 5px;
        padding: 0;
    }

    .faqsection1leftcontainer {
        margin-left: 0px;
        animation: faqsection1leftcontainer;
        animation-duration: 2s;
    }

    @keyframes faqsection1leftcontainer {
        from {
            left: -570px
        }

        to {
            left: 0;
        }
    }

    .faqsection1img1container {
        width: 170px;
        height: 170px;
    }

    .faqsection1img1 {
        width: 180px;
    }

    .faqsection1img2container {
        width: 120px;
        height: 120px;
        left: 50px;
    }

    @keyframes faqsection1img2container {
        from {
            left: 600px;
        }

        to {
            left: 50px;
        }
    }

    .faqsection1img2 {
        top: 0;
        width: 200px;
    }

}
