/* Google Fonts API */
@import url('https://fonts.googleapis.com/css?family=Montserrat|Roboto&display=swap');

/* Form */
body {
    background-color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
}

.img-container {
    text-align: center;
}

img {
    position: relative;
    top: 40px;
    width: 225px;
}

#legend {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 13px;
    color: #000000;
}

#legend ul {
    list-style-type: none;
}

#form-container {
    position: relative;
    margin-top: 5vh;
    font-size: 30px;
}

#form-container .h3 {
    position: relative;
    top: -10px;
}

.h1 {
    color: #000000;
    padding-bottom: 20px;
    font-weight: 800;
}

.h4 {
    color: #6b6a6a;
}

.text-input {
    width: 90%;
    border-radius: 5px;
    border: 1px solid #B5B5B5;
    box-shadow: 0px 1px 3px rgba(16, 24, 40, 0.1), 0px 1px 2px rgba(16, 24, 40, 0.06);
}

form #submit {
    position: relative;
    top: 60px;
    height: 50px;
    width: 150px;
    color: black !important;
}

form #invalid {
    display: none;
    position: relative;
    left: 20px;
}

form #phone {
    width: 23vw;
}

/* Portability Data */
.row span {
    margin: 0 15px;
}

.row .status {
    float: right;
}

.fa-exclamation-triangle {
    color: rgb(236, 193, 0);
}

.fa-check-circle {
    color: rgb(9, 163, 9);
    border-radius: 100px;
    background: cornsilk;
}

.fa-times-circle {
    color: rgb(177, 8, 8);
    border-radius: 360px;
    background: cornsilk;
}

.fa-check-double {
    font-size: 20px;
}

.portabilityInfo {
    position: relative;
    top:15vh;
    color:white;
}

#lastPortabilityInfo {
    margin-bottom: 20vh;
}

#data span {
    font-size: 15px !important;
}

/* MOBILE */
@media only screen and (max-width: 600px) {
    img {
        width: 120px;
    }

    form #phone {
        width: 63vw;
    }

    #portabilityInfo {
        top: 15vh;
    }

    #legend {
        font-size: 10px;
    }

    #data span {
        font-size: 10px !important;
    }
}

/* Toast Pop up */
#toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 30px;
    font-size: 17px;
  }

#toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 30px;
        opacity: 1;
    }
}
  
@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}
