@import url('/css/accordion.css');
@import url('/css/confirmation-box.css');

.nav-highlight {
    background: none;
    padding: 0 0px;
    border-radius: 0px;
    margin: 0 !important;
}

.dark-mode .scrolled .nav-highlight {
    background: none;
}

.nav-container {
    padding-right: 20px;
}



#hero {
    position: relative;
    overflow: clip;
}

#hero .content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    width: 100%;
}

#hero .content h1 {
    font-size: 120px;
    line-height: .85;
    white-space: nowrap;
}

.dark-mode #hero .content h1 {
    color: rgb(var(--white2));
}

#hero .content p {
    font-family: var(--font-secondary);
    font-size: 30px;
    padding-top: 10px;
}

.dark-mode #hero .content p {
    color: rgb(var(--white2));
}

#hero .content .buttons {
    display: flex;
    gap: 20px;
    padding-top: 25px;
}

#hero .content .buttons a {
    font-family: var(--font-secondary);
    color: white;
    background-color: rgb(var(--dark2));
    padding: 20px 40px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 8px;
    display: inline-block;
    transition: .4s;
    line-height: 1;
}

.dark-mode #hero .content .buttons a {
    background-color: black;
}

#hero .content .buttons a:hover {
    background-color: rgb(var(--base1));
}

#hero .images {
    display: flex;
    justify-content: end;
    padding-right: 40px;
}

#hero .images .desktop-banner-img {
    max-width: 833px;
    flex-shrink: 0;
}

#hero .images .mobile-banner-img {
    display: none;
    width: 1026px;
    flex-shrink: 0;
}



#outage-map {
    position: relative;
    margin-top: 70px;
    mask: url(#dip-mask);
}

#outage-map .small {
    display: none;
}

#outage-map .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 400;
}

#outage-map .container {
    height: 100%;
}

#outage-map .wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-direction: column;
    gap: 25px;
}

#outage-map h2 {
    text-align: center;
    font-size: 120px;
    line-height: .9;
    color: white;
}

#outage-map p {
    font-family: var(--font-secondary);
    font-size: 30px;
    line-height: 1.5;
    color: white;
    text-align: center;
}

#outage-map .container a {
    background: rgb(var(--base1));
    color: white;
    font-family: var(--font-secondary);
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 22px;
}

#outage-map a:hover {
    background: white;
    color: rgb(var(--base1));
}






#speedometer .meter-container {
    display: flex;
    justify-content: center;
}

#speedometer .meter {
    position: relative;
    width: 600px;
}

#speedometer .meter-data {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    padding-top: 80px;

}

#speedometer .meter-data .title {
    font-weight: 700;
    font-size: 30px;
    text-align: center;
    line-height: .9;
}

#speedometer .meter-data .value {
    text-align: center;
    font-size: 100px;
    color: rgb(var(--base1));
    line-height: .9;
}

#speedometer .meter-data .type {
    font-family: var(--font-secondary);
    font-size: 30px;
    font-weight: 700;
    color: rgb(var(--base1));
    text-align: center;
    line-height: 1.5;
}

#speedometer .meter-status {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-secondary);
    font-size: 25px;
    line-height: .9;
    font-weight: 700;
    text-align: center;
}

#speedometer .meter-meta {
    text-align: center;
    padding-top: 40px;
}

#speedometer .meter-meta .ip {
    font-weight: 700;
    font-size: 35px;
}

#speedometer .meter-meta .location {
    font-family: var(--font-secondary);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.5;
}

.dark-mode #speedometer .testName {
    color: rgb(var(--white2));
}

.dark-mode #speedometer .unit {
    color: rgb(var(--white2));
}

.dark-mode #speedometer #ipArea {
    color: rgb(var(--white2));
}



#troubleshooting {
    padding: 150px 0 130px 0;
    position: relative;
}

#troubleshooting h2 {
    font-size: 120px;
    line-height: 1;
}

#troubleshooting .wrapper {
    max-width: 1000px;
    margin: 0 auto;
}



#contactForm {
    padding: 0 0 150px 0;
    position: relative;
}

#contactForm .wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

#contactForm h2 {
    font-size: 120px;
}

#contactForm label {
    font-size: 25px;
}

.dark-mode #contactForm label {
    color: rgb(var(--white2));
}

#contactForm label.custom-radio {
    font-size: 16px;
}

#contactForm .connection-type-select {
    display: flex;
    gap: 200px;
    margin-bottom: 20px;
}

#contactForm .custom-radio input  {
    display: none;
}

#contactForm .custom-radio {
    width: 25px;
    height: 25px;
    border: 2px solid rgba(var(--dark2), 0.5);
    cursor: pointer;
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.dark-mode #contactForm .custom-radio {
    border-color: rgba(var(--white2));
}

#contactForm .custom-radio input:checked ~ span {
    background-color: rgb(var(--base1));
    display: inline-block;
    width: 100%;
    height: 100%;
    color: white;
    border: 2px solid white;
    border-radius: 7px;
}

#contactForm .form-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

#contactForm .form-group .checkbox-label {
    font-size: 20px;
    font-family: var(--font-secondary);
    line-height: 0.8;
    margin-top: 5px;
}

.dark-mode #contactForm .form-group .checkbox-label {
    color: rgb(var(--white2));
}

#contactForm .form-input {
    margin-bottom: 15px;
}

#contactForm .input,
#contactForm .select,
#contactForm .textarea,
#submitSpeedtest input {
    width: 100%;
    padding: 7px 10px;
    border-radius: 8px;
    border: 2px solid rgb(var(--dark3));
    font-size: 20px;
    font-family: var(--font-secondary);
    line-height: .9;
    background: transparent;
    color: black;
}

.dark-mode #contactForm .input,
.dark-mode #contactForm .select,
.dark-mode #contactForm .textarea,
.dark-mode #submitSpeedtest input {
    color: rgb(var(--white2));
    
}

#contactForm .input::placeholder {
    color: rgb(var(--dark2));
}

.dark-mode #contactForm .input::placeholder {
    color: rgb(var(--white2));
}

#contactForm .file-input {
    background: none;
    font-family: var(--font-secondary);
    font-size: 20px;
    width: 100%;
    cursor: pointer;
    margin-top: 10px;
}

#contactForm .submit button,
#submitSpeedtest button {
    background: rgb(var(--base1));
    color: white;
    font-family: var(--font-secondary);
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 22px;
    border: none;
    width: 100%;
    margin-top: 10px;
}

#contactForm .submit button:hover,
#submitSpeedtest button:hover {
    color: white;
    background: rgb(var(--dark2));
}

.dark-mode #contactForm .submit button:hover,
.dark-mode #submitSpeedtest button:hover {
    background: black;
}

#submitSuccess,
#submitSpeedtest p {
    font-family: var(--font-secondary);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
}

#submitSuccess {
    margin-top: 20px;
    font-weight: normal;
}


@media (max-width: 639px) {


    #hero {
        display: flex;
        flex-direction: column-reverse;
        padding-top: 30px;
    }

    #hero .content {
        position: relative;
    }

    #hero .images .mobile-banner-img {
        display: block;
        width: 480px;
    }

    #hero .images .desktop-banner-img {
        display: none;
    }

    #hero .images {
        justify-content: start;
        padding-right: 0;
        padding-left: 20px;
        overflow: hidden;
    }

    #hero .content {
        padding-top: 25px;
    }

    #hero .content h1 {
        font-size: 55px;
        text-align: center;
    }

    #hero .content p {
        font-size: 16px;
        text-align: center;
    }

    #hero .content .buttons {
        justify-content: center;
        gap: 10px;
        /* margin-top: 5px; */
    }

    #hero .content .buttons a {
        font-size: 13px;
        line-height: 1;
        border-radius: 8px;
        padding: 15px 15px;
    }


    #outage-map {
        margin-top: 80px;
    }

    #outage-map .background svg {
        width: 100%;
    }

    #outage-map .small {
        display: block;
    }

    #outage-map .large {
        display: none;
    }

    #outage-map .wrapper {
        gap: 10px;
    }

    #outage-map h2 {
        font-size: 50px;
    }

    #outage-map p {
        font-size: 20px;
    }

    #outage-map p br {
        display: none;
    }

    #outage-map a {
        font-size: 18px;
    }


    #speedometer {
        margin-top: 80px;
    }

    #speedometer .meter {
        width: 95%;
    }

    #speedometer .meter-data .title {
        font-size: 25px;
    }

    #speedometer .meter-data .value {
        font-size: 80px;
    }

    #speedometer .meter-data .type {
        font-size: 20px;
    }

    #speedometer .meter-status {
        font-size: 16px;
    }

    #speedometer .meter-meta .ip {
        font-size: 30px;
    }

    #speedometer .meter-meta .location {
        font-size: 20px;
    }



    #troubleshooting {
        padding: 100px 0 0 0;
    }

    #troubleshooting .container {
        padding: 0;
    }

    #troubleshooting h2 {
        font-size: 50px;
        text-align: center;
    }


    #contactForm {
        padding-bottom: 100px;
        margin-top: 80px;

    }

    #contactForm h2 {
        font-size: 50px;
        text-align: center;
        padding-bottom: 15px;
    }

    #contactForm .connection-type-select {
        gap: 50px;
    }

    #contactForm .form-group .checkbox-label {
        font-size: 18px;
    }

    #contactForm .input, #contactForm .select, #contactForm .textarea {
        font-size: 18px;
    }

    #contactForm .form-input {
        margin-bottom: 10px;
    }

    #submitSuccess {
        padding: 0 8px;
    }


}

@media (min-width: 640px) and (max-width: 767px)  {


    #hero {
        display: flex;
        flex-direction: column-reverse;
        padding-top: 30px;
    }

    #hero .content {
        position: relative;
    }

    #hero .images .mobile-banner-img {
        display: block;
        width: 600px;
    }

    #hero .images .desktop-banner-img {
        display: none;
    }

    #hero .images {
        justify-content: center;
        padding-right: 0;
        padding-left: 20px;
        overflow: hidden;
    }

    #hero .content {
        padding-top: 25px;
    }

    #hero .content h1 {
        font-size: 80px;
        text-align: center;
    }

    #hero .content p {
        font-size: 20px;
        text-align: center;
    }

    #hero .content .buttons {
        justify-content: center;
        gap: 15px;
    }

    #hero .content .buttons a {
        padding: 15px 30px;
        font-size: 20px;
        border-radius: 7px;
    }


    #outage-map {
        padding-top: 50px;
    }

    #outage-map .small {
        display: block;
    }

    #outage-map .large {
        display: none;
    }

    #outage-map h2 {
        font-size: 70px;
    }

    #outage-map p br {
        display: none;
    }


    #speedometer {
        padding-top: 50px;
    }

    #speedometer .meter {
        width: 500px;
    }

    #troubleshooting h2 {
        font-size: 70px;
        text-align: center;
    }


    #contactForm h2 {
        font-size: 70px;
        text-align: center;
        padding-bottom: 20px;
    }
}

@media (min-width: 768px) and (max-width: 1023px)  {


    #hero {
        display: flex;
        flex-direction: column-reverse;
        padding-top: 30px;
    }

    #hero .content {
        position: relative;
    }

    #hero .images .mobile-banner-img {
        display: block;
        width: 600px;
    }

    #hero .images .desktop-banner-img {
        display: none;
    }

    #hero .images {
        justify-content: center;
        padding-right: 0;
        padding-left: 20px;
        overflow: hidden;
    }

    #hero .content {
        padding-top: 25px;
    }

    #hero .content h1 {
        font-size: 100px;
        text-align: center;
    }

    #hero .content p {
        font-size: 22px;
        text-align: center;
    }

    #hero .content .buttons {
        justify-content: center;
    }


    #outage-map {
        padding-top: 80px;
    }



    #outage-map h2 {
        font-size: 80px;
    }

    #outage-map .small {
        display: block;
    }

    #outage-map .large {
        display: none;
    }

    #outage-map p {
        font-size: 25px;
    }


    #speedometer {
        padding-top: 70px;
    }


    #troubleshooting h2 {
        font-size: 90px;
    }

    #contactForm h2 {
        font-size: 90px;
    }

}

@media (min-width: 1024px) and (max-width: 1300px) {


    #hero .content h1 {
        font-size: 80px;
    }

    #hero .content p {
        font-size: 22px;
    }

    #hero .images .desktop-banner-img {
        display: block;
        width: 600px;
    }


    #outage-map h2 {
        font-size: 80px;
    }

    #outage-map p {
        font-size: 25px;
        line-height: 1.2;
    }


    #speedometer {
        padding-top: 70px;
    }


    #troubleshooting h2 {
        font-size: 100px;
    }
}

@media (min-width: 1024px) and (max-width: 1535px)  {
    #hero .images {
        padding-right: 0;
        margin-right: -100px;
    }

}

@media (min-width: 2200px) {

}
