* {
    box-sizing: border-box;
    border: none;
}

body {
    margin: 0;
    padding: 0;
    background-color: #027180;
    font-family: 'source sans pro', sans-serif;
}

html {
    margin: 0;
    padding: 0;
}

.ad-container, .footer {
    background-color: white;
    padding: 0;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
}

.register {
    padding: 2.5em 2em;
    background-color: white;
    width: 82%;
    margin-left: auto;
    margin-right: auto;
}

.register p {
    font-size: 1.3em;
}

.register p.title {
    font-size: 2em;
}

.footer {
    padding: 2em;
    background-color: #f59e42;
}

.footer .register {
    padding: 0;
    background-color: transparent;
    color: white;
}

.footer .register h5 {
    color: white;
}

.footer .register p.title {
    font-size: 1.5em;
}

.register h5 {
    letter-spacing: 1px;
    font-weight: bold;
    color: #f59e42;
    font-size: 1.8em;
}

img {
    margin: auto auto;
    width: 100%;
    position: relative;
}

.text-container {
    position: relative;
    border: 2px solid #f59e42;
    padding: 0;
    width: 90%;
    display: flex;
    align-items: center;
}

.text-container * {
    margin-left: 10px;
    display: inline-block;
}

.text-container .btn {
    position: absolute;
    display: inline-block;
    right: 0;
    top: 0;
    margin-right: 0;
    margin-left: 0;
}

.text-container .btn:hover {
    color: white;
}

.btn {
    border: none;
    background-color: #f59e42;
    color: White;
    padding: 10px 15px;
    border-radius: 0;
    font-size: 1.1em;
    outline: none;
}

label {
    font-size: 1.1em;
    vertical-align: middle;
}

input[type="text"], input[type=email] {
    padding: 10px;
    border: 1px solid #ccc;
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    color: #333;
    font-size: 1em;
    outline: none;
    width: 28%;
}

.text-container input[type="text"], input[type=email] {
    border: none;
}

.text-container input[type="text"]:focus, input[type=email]:focus {
    border: none;
}

@media screen and ( max-width: 600px) {
    html, body {
        height: 100%;
        width: 100%;
    }
    .ad-container {
        width: 100%;
    }
    .text-container {
        display: block;
        width: 100%;
        border: none;
    }

    .text-container * {
        display: block;
        width: 100%;
        margin: 5px auto;
    }
    .register {
        display: block;
        width: 100%;
        padding-top: 3em;
        padding-bottom: 3em;
    }
    .register h5 {
        font-size: 1.2em;
    }
    .footer {
        width: 100%;
        font-size: .7em;
        padding: 4em;
    }
    .footer .register p.title {
        font-size: 1.3em;
    }
    input[type="text"], input[type=email] {
        padding: .8em 0;
        margin: 0;
        width: 100%;
    }
    .text-container .btn {
        position: relative;
    }

   #pop-up .modal-content{
	width: 80% !important
   }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
    html, body {
        height: 100%;
        width: 100%;
    }
    .ad-container {
        width: 100%;
    }
    .register{
        padding: 5em;
        width: 95%;
    }

    .text-container{
        width: 100%;
    }

    .text-container label:last-of-type{
        margin-left:0;
        margin-right: 0;
    }

    .footer{
        width: 100%;
        font-size: 1em;
    }

    .footer .register{
        width: 82%;
        font-size: 1em;
    }

}

@media screen and (max-width: 1200px) and (min-height: 600){
    html, body {
        height: 100%;
        width: 100%;
    }

    .ad-container {
        width: 100%;
    }

    
    .text-container{
        width: 100%;
    }

    .footer {
        width: 100%;
        font-size: .5em;
        padding: 8em;
    }
}

@media screen and (min-height: 900px) and (min-width:800px) {
    .ad-container{
        width: 100%;
    }

    .register{
        padding-top:4em;
        padding-bottom: 4em;
    }

    .footer{
        width: 100%;
        padding-top: 4em;
        padding-bottom: 4em;
        font-size: 1.4em;
    }

    input[type="text"], input[type=email]{
        width: 35%;
    }
}

#pop-up{
display:none;
background-color: rgba(0,0,0,.3);
position:fixed;
top: 0;
left: 0;
height: 100%;
width:100%;
}

#pop-up .modal-content{
width: 40%;
margin-left:auto;
margin-right:auto;
top:50%;
transform: translateY(-50%);
}

#pop-up .modal-content{
padding: 3%;
color:#333;
}

#mod-close{
text-align:center;
width: 20px;
height:20px;
line-height: 20px;
color: red;
position:absolute;
top: 10px;
right: 10px;
font-weight:bold;
cursor:pointer;
font-size: 22px;
}

.modal-content h6{
font-weight:bold;
font-size:2.2em;
margin: 10px 0;
color: teal;
}

.modal-content label{
font-weight: 300;
font-size: 1.5em;
color: rgb(122, 118, 118);
font-family: 'Source Sans Pro';
}


@media screen and (min-width: 400px){
#pop-up > div{
        width: 80%;
    }
}