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

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

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

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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0;
    margin: 0;
    font-family: Nunito;
    position: relative;
    padding-bottom: 60px;
}

::-webkit-scrollbar {
    display: none;
}

.background-image {
    position: absolute;
    bottom: 0;
    z-index: -1;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.page {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 1200px;
    width: 100%;
}

.stop-scrolling {
    height: 100%;
    overflow: hidden;
}

.logo-field {
    width: 90%;
}

.logo {
    width: 50%;
    margin-top: 20px;
}

.top {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    width: 100%;
    margin-top: 30px;
}

.phone-container {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.phone-container img {
    width: 250px;
}

.phone-container img:nth-child(2) {
    margin-top: 40px;
}

.info-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
    width: 90%;
}

.title {
    font-family: Nunito ExtraBold;
    color: #161950;
    font-size: 25px;
    margin-bottom: 20px;
}

.sub-title {
    font-family: Nunito SemiBold;
    color: #161950;
    font-size: 16px;
    margin-bottom: 14px;
}

.petway-text {
    font-family: Nunito Bold;
}

.button-field {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 40px;
}

.button {
    background-color: #81CE96;
    font-family: Nunito Bold;
    padding: 10px 20px 10px 20px;
    border-radius: 5px;
    color: white;
    margin-right: 20px;
    box-shadow: 4px 4px  #FFBFA4;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-code {
    display: none;
}

.download-text {
    margin-top: 50px;
    font-size: 15px;
    color: #6C7589;
}

.download-field {
    margin-top: 5px;
}

.download-field img:nth-child(2) {
    margin-left: 5px;
}

.paw {
    width: 20px;
    margin-right: 6px;
}

.button:hover {
    transform: scale(1.02);
}

.free {
    color: #161950;
    font-size: 14px;
    font-family: Nunito SemiBold;
}

.form-container {
    max-width: 90%;
    box-sizing: border-box;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: white;
    border: 1px solid #FFBFA4;
    border-radius: 10px;
    padding: 25px;
    margin-top: 60px;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #6C7589;
    cursor: pointer;
    font-size: 20px;
}

.form-title {
    font-size: 25px;
    font-family: Nunito ExtraBold;
    color: #161950;
}

.form-subtitle {
    color: #6C7589;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 40px;
}

.input-container {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
}

.label {
    font-size: 12px;
    color: #b8b8b8;
    position: absolute;
    top: -8px;
    left: 36px;
    background-color: white;
    padding: 0 5px;
}

.outer {
    border: 1px solid #FFBFA4;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

input {
    border: none;
    width: 90%;
    outline: none;
    color: #6C7589;
    font-family: Nunito SemiBold;
}

.warning {
    color: red;
    margin-bottom: 10px;
    font-size: 12px;
    text-align: center;
    width: 90%;
}

.successful-icon {
    width: 18px;
    margin-left: 5px;
    display: none;
    position: absolute;
    bottom: 38px;
    right: 105px;
}

.form-button {
    width: 85%;
    background-color: #81CE96;
    font-family: Nunito Bold;
    padding: 10px 20px 10px 20px;
    border-radius: 3px;
    color: white;
    box-shadow: 4px 4px  #FFBFA4;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    visibility: hidden;
    opacity: 0;
    transition: all 0.35s ease-in;
}


.modal-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    flex-direction: column;
    background-color: white;
    padding: 30px 45px 10px 45px;
    border-radius: 10px;
    border: 1px solid #81CE96;
}

.modal-title {
    font-size: 25px;
    font-family: Nunito ExtraBold;
    color: #161950;
    margin-bottom: 10px;
}


.modal-message {
    color: #6C7589;
    margin-bottom: 5px;
    margin-top: 5px;
    font-size: 15px;
}

.modal-success {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 80px;
}

.modal-close {
    margin-top: 30px;
    color: #6C7589;
    cursor: pointer;
}

.modal-button {
    background-color: white;
    font-family: Nunito Bold;
    padding: 10px 20px 10px 20px;
    border-radius: 5px;
    color: #FFBFA4;
    box-shadow: 4px 4px  #FFBFA4;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.close {
    margin-top: 20px;
    color: white;
}

@media(min-width: 800px){

    .warning {
        font-size: 13px;
    }

    .logo-field {
        width: 100%;
        margin-top: 10px;
    }

    .logo {
        width: 200px;
    }

    .background-image {
        height: 100vh;
        top: 60%;
        width: 100%;
        object-fit: cover;
        display: none;
    }

    .top {
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
        height: 500px;
        margin-top: 50px;
    }

    .phone-container {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
        margin-top: 0;
        width: 530px;
    }

    .phone-container img{
        margin-top: 0;
    }

    .phone-container img:nth-child(2){
        margin-top: 0;
    }

    .info-field {
        margin-top: 0;
        width: 590px;
        height: 100%;
        justify-content: space-between;
    }

    .info-top {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .title {
        font-size: 27px;
    }

    .sub-title {
        font-size: 18px;
    }

    .petway-text {
    }

    .button {
        padding: 15px 25px;
        font-size: 18px;
    }

    .qr-field {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        width: 100%;
    }

    .qr-code {
        display: block;
    }

    .download-text {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .download-field img {
        width: 146px;
        margin-right: 10px;
        cursor: pointer;
    }

    .form-container {
        width: 370px;
        margin-top: 80px;
    }

    .successful-icon {
        right: 120px;
    }

    .modal-container {
        padding: 45px 50px 10px 50px;
    }

    .modal-message {
        font-size: 16px;
    }

    .modal-button {
        margin-top: 15px;
        padding: 15px 25px 10px 20px;
    }

    .close {
        font-size: 17px;
        margin-top: 20px;
        color: white;
        cursor: pointer;
    }
}
