@font-face {
    font-family: SharpSansBold;
    src: url(./fonts/SharpSansDisp-Bold.ttf);
}

@font-face {
    font-family: SharpSansMedium;
    src: url(./fonts/SharpSansDisp-Medium.ttf);
}

@font-face {
    font-family: HacenTunisia;
    src: url(./fonts/HacenTunisia.ttf);
}

body {
    margin: 0;
    padding: 0;
    font-family: HacenTunisia;
    direction: rtl;
}

.wrapper {
    display: grid;
    grid-template-columns: 100%;
}
.col-left {
    background: url(images/welcome.jpg) no-repeat;
    background-size: cover;
    height: auto;
    min-height: 250px;
    background-position: center center;
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.col-right {
    height: calc(100% - 40px);
    padding: 40px 20px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 100px;
    margin: 0 auto 20px;

    img {
        width: 100%;
    }
}

.lang .langSwitch {
    background: #CD5F28;
    border-radius: 12px;
    padding: 4px 10px;
    font-family: 'Alexandria-SemiBold';
    text-decoration: none;
    color: #fff;
    display: block;
}

.lang {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.thanks p {
    text-align: center;
    font-size: 18px;
    line-height: 22px;
}

.thanks .thanks-heading {
    color: #CD5F28;
    font-size: 24px;
    margin: 0;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: fit-content;
    color: #fff;
    text-align: center;
}
.line {
    height: 30vh;
    width: 2px;
    background: #fff;
    margin-bottom: 30px;
    display: none;
}
.title {
    font-family: HacenTunisia;
    text-transform: uppercase;
    font-size: 26px;
    margin: 0;
}
.tagLine {
    font-size: 14px;
    margin: 0;
    margin-top: 20px;
}

.form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: fit-content;
    max-width: 580px;
}
form {margin-bottom: 50px;}
.form-heading {
    font-family: HacenTunisia;
    font-size: 28px;
    text-align: center;
    margin: 0;
    margin-bottom: 30px;
}

.txt {
    width: 100%;
    border: 1px solid #d1d3d4;
    border-radius: 10px;
    font-size: 14px;
    padding: 12px 20px;
    margin-bottom: 14px;
    text-align: right;
    font-family: HacenTunisia;
    transition: border-color 0.3s ease-in-out;
}
.txt::placeholder {
    color: #d1d3d4;
}
.txt:focus {
    outline: 0;
    border-color: #CD5F28;
}
.txt:invalid:focus {
    border-color: red;
}

span.selected-value {
    direction: ltr;
}

.search-input {
    direction: ltr;
    text-align: right;
}

.option-item {
    direction: ltr;
    text-align: right;
}

.checkbox {margin: 20px 0px 30px;}
.checkbox label {font-size: 14px;}

.submit {
    background: #CD5F28;
    border: 0;
    font-size: 16px;
    border-radius: 10px;
    padding: 14px 23px;
    color: #ffffff;
    width: 100%;
    cursor: pointer;
    font-family: HacenTunisia;
}

.logo {
    max-width: 170px;
    margin: auto;
}
.logo img {width: 100%;}

@media only screen and (min-width: 440px) {
    .col-right {padding: 40px 60px 20px;}
    .title {font-size: 36px;}
    .tagLine {font-size: 17px;}
    .txt {font-size: 16px; padding: 14px 23px;}
    .custom-select {font-size: 16px; max-width: 120px;}
    .select-header {padding: 16px 23px;}
    .submit {font-size: 18px;}
    .form-heading {margin-bottom: 40px;}
}

@media only screen and (min-width: 920px) {
    .wrapper {grid-template-columns: 50% 50%; height: 100%;}
    .line {display: block;}
    .content-wrapper {text-align: right;}
    .col-left {
        height: auto;
        border-radius: 0;
        padding: 20px 40px;
        height: calc(100% - 40px);
        padding: 20px 40px;
        background-position: auto auto;
    }
    .col-right {padding: 20px 60px;}
    form {margin-bottom: 70px;}

    .thanks p {
        text-align: center;
        font-size: 24px;
        line-height: 34px;
    }
    
    .thanks .thanks-heading {
        font-size: 32px;
        margin: 0;
    }
    .logo {
        max-width: 150px;
        margin: 0 auto 20px;
    }
}

@media only screen and (min-width: 1120px) {
    .title {font-size: 46px;}
    .col-right {padding: 20px 120px;}
}