
@font-face {
    font-family: 'AGNBold';
    src: url('../fonts/AGNBold.otf');
}

@font-face {
    font-family: 'AGNMedium';
    src: url('../fonts/AGNMedium.otf');
}

@font-face {
    font-family: 'AGNRegular';
    src: url('./fonts/AGNRegular.otf');
    src: url('../fonts/agnregular-webfont.woff2') format('woff2'),
        url('../fonts/agnregular-webfont.woff') format('woff');
}

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

@font-face {
    font-family: AGN;
    src: url(../fonts/AGNRegular.otf);
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    padding-top: 7%;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    text-align: center;
    align-items: center;
    margin: 0 auto;
}

/* Modal Content */
.modal-content {
    background-color: black;
    margin: 0 auto;
    padding: 5px 20px;
    width: 550px;
    height: 550px;
    text-align: center;
    align-items: center;
    color: white;
}

#text {
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 250px 150px 150px;
    font-family: AGN;
    padding-left: 2%;
}

#supportModR1 {
    grid-row: 1/1;
    grid-column: span 2;
    align-self: center;
}

#supportModR1 h1 {
    font-family: Canela;
}

#supportModR2 {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-column: 1/1;
    grid-row: 2/4;
    text-align: left;
}

#supportBank {
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-column-gap: 10px;
}

#supModLinks {
    display: grid;
    grid-template-rows: repeat(6, 40px);
    grid-column: 2/2;
    grid-row: 2/4;
    text-align: left;
    justify-self: center;
}

#supModLinks a {
    text-decoration: none;
    color: white;
}

.close1 {
    color: #7C7C7C;
    margin: 0;
    padding: 0;
    height: auto;
    float: right;
    font-size: 28px;
}

.close1:hover,
.close1:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.cModal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    padding-top: 7%;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    text-align: center;
    align-items: center;
    margin: 0 auto;
}

/* Modal Content */
#contactModal-content {
    background-color: black;
    margin: 0 auto;
    padding: 5px 20px;
    width: 560px;
    height: 420px;
    text-align: center;
    align-items: center;
    color: white;
}

#contactText {
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 120px 150px 150px;
    font-family: AGN;
    padding-left: 2%;
    grid-column-gap: 5px;
}

#contactModR1 {
    grid-row: 1/1;
    grid-column: span 2;
    align-self: center;
}

#contactModR1 h1 {
    font-family: Canela;
}

#contactModR2 {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-column: 1/1;
    grid-row: 2/4;
    text-align: left;
}

#conModLinks {
    display: grid;
    grid-template-rows: repeat(6, 40px);
    grid-column: 2/2;
    grid-row: 2/4;
    text-align: left;
    justify-self: center;
}

#conModLinks a {
    text-decoration: none;
    color: white;
}

.conClose {
    color: #7C7C7C;
    margin: 0;
    padding: 0;
    height: auto;
    float: right;
    font-size: 28px;
}

.conClose:hover,
.conClose1:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@media screen and (max-width:768px) {
    #contactModal-content {
        padding: 20px;
        width: 400px;
        height: 500px;
    }

    #conModLinks a {
        font-size: 10px;
        line-height: 10px;
    }
}

@media screen and (max-width:425px) {
    #text {
        grid-column-gap: 10px;
        font-size: 14px;
        grid-template-rows: 380px 150px 150px;
    }
    #contactText {
        grid-column-gap: 10px;
        font-size: 14px;
    }
    #supModLinks a {
        font-size: 10px;
        line-height: 10px;
    }
    #conModLinks a {
        font-size: 10px;
        line-height: 10px;
    }
    .modal-content {
        background-color: black;
        margin: 0 auto;
        padding: 10px;
        width: 300px;
        height: 700px;
        text-align: center;
        align-items: center;
        color: white;
    }
    #contactModal-content {
        padding: 10px;
        width: 300px;
        height: 500px;
    }
    /* #supportModR1, #supportModR2, #supModLinks {
        margin: 100px 0 0;
    }

    #supModLinks {
        grid-template-rows: repeat(6, 30px);
    } */
}

@media screen and (max-width:414px) {
    #text {
        grid-column-gap: 10px;
        font-size: 14px;
    }
    #contactText {
        grid-column-gap: 10px;
        font-size: 14px;
    }
    #supModLinks a{
        font-size: 10px;
        line-height: 10px;
    }
    #conModLinks a{
        font-size: 10px;
        line-height: 10px;
    }
    .modal-content {
        background-color: black;
        margin: 0 auto;
        padding: 10px;
        width: 300px;
        height: 700px;
        text-align: center;
        align-items: center;
        color: white;
    }
    #contactModal-content {
        padding: 10px;
        width: 300px;
        height: 500px;
    }
}