html,
body {
    margin: 0px;
    overflow-x: hidden;
    font-family: Barlow;
    color: #494949;
    padding: 0;
    font-size: 1.75vh;
    text-align: center;
}

input,
select {
    font-size: 1rem;
}

span#alert {
    width: 100%;
    display: block;
    margin-top: 1rem;
    text-align: center;
}

main {
    width: 100vw;
    z-index: 5;
    text-align: center;
}

section {
    min-height: 150vh;
    margin: 0;
    padding: 0;
    position: relative;
    display: block;
    align-items: center;
    justify-content: center;
    border: thin dashed lightgrey;
}

.formBut {
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: bold;
    z-index: 1000;
    position: relative;
    pointer-events: auto;
}

.formBut:hover {
    transform: scale(1.1);
}

p {
    line-height: 1.75rem;
    padding: 0;
    margin: 0;
    margin-bottom: 1.25rem;
}

.col {
    display: inline-block !important;
    /* width: 50%;*/
    vertical-align: text-top;
}

#contact .icon {
    height: 2.5rem;
    width: auto;
    display: inline-block;
    margin-bottom: -1rem;
    margin-left: 0.5rem;
}

#contact .item .formBut {
    text-align: center;
    width: fit-content;
    float: right;
    margin: 0 auto;
    background: none;
    border: none;
}


input {
    background: none;
    border: none;
    /* width: 100%; */
    color: #6e6e6e;
}
input[type=text], input[type=email], input[type=textarea]{width: 100%;}
input[type=checkbox]{margin-bottom: 10px;}
input[type=checkbox] + label{padding-left: 5px;}

#contact table h1 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 2.5rem;
}

#contact td.td-left {
    /* padding: 0.5rem 1rem; */
    width: 33%;
}


#contact td.td-right {
    padding: 0.75rem 1rem;
    border-bottom: thin solid lightgrey;
    width: 66%;
}

#contact .dm-2 td.td-left {
    width: 25%;
}


#contact .dm-2 td.td-right {
    width: 40%;
}

table.dm-2 {
    color: #7c7c7c;
    border-spacing: 3rem 0rem;
}

.w-100 {
    width: 100%;
}

*:focus {
    outline: none;
}

select {
    border: none;
    background: white;
    width: 100%;
    color: #7d7d7d;
}


.row {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    overflow: hidden;
}


td.tr-left,
td.tr-right {
    vertical-align: top;
}

section#singlePage{background: #bfd7c8 url(../img/bg-popup-info.png) no-repeat center;}
#singlePage .row{justify-content: space-between; flex-wrap: nowrap; align-items: center;}
#singlePage .row._head{justify-content: flex-start;}
#singlePage ._head{position: relative; width: 75%; margin: auto; align-items: center; padding-top: 2.5rem;}
#singlePage .paragraph{width: 75%; margin: auto; text-align: left; flex-wrap: wrap; margin-top: 1rem;}
#singlePage .paragraph .w-33{width: 32%;}
#singlePage .paragraph .w-50{width: 45%;}
#singlePage .paragraph .w-66{width: 64%;}
#singlePage .logo{width: 100%; text-align: left; margin-bottom: 1rem; flex-direction: row;}
#singlePage .title{min-width: 17%; text-align: left; font-size: 25px; font-weight: bold; color: #2b2b2b;}
#singlePage .close{width: 5%;}

@media (max-aspect-ratio: 4 / 3) {
    html,
    body {
        font-size: 1.5vh;
    }

    p {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .container::-webkit-scrollbar {
        display: none;
        /* Safari and Chrome */
    }

    td.tr-left,
    td.tr-right {
        display: block;
        width: 100%;
    }

    #contact .owl-item .item {
        padding: 3rem 0rem;
    }

    #contact .dm-2 td.td-left, #contact .dm-2 td.td-right {display: block; width: auto;}
    #contact .dm-2 td.td-right{margin-bottom: .5rem;}
    #contact .item .formBut{float: none; margin: auto; margin-top: 2rem;}

    .tr-left table,
    .tr-right table {
        border-spacing: 0;
        width: 100%;
    }
    .row {
        flex-direction: column;
    }
    #singlePage ._head{width: 90%; padding-top: 0; margin-top: 3rem;}
    #singlePage .logo{width: 100%; justify-content: flex-start; align-items: center; flex-direction: row; gap: 10px;}
    #singlePage .logo img{width: 140px;}
    #singlePage .title{width: 100%; padding-bottom: 1rem;}
    #singlePage .close{position: absolute; width: auto; top: 0; right: 0;}
    #singlePage .paragraph{width: 90%;}
    #singlePage .paragraph .w-33{width: 100%;}
    #singlePage .paragraph .w-50{width: 100%;}
    #singlePage .paragraph .w-66{width: 100%;}
}

@media (max-aspect-ratio: 3 / 4) {

    html,
    body {
        font-size: 1.75vh;
        overflow: auto;
    }
    #contact .w-100{width: 90%;}
    table.dm-2{border-spacing: 0;}
}
