@import url('https://fonts.cdnfonts.com/css/avenir');

:root{
  --bodyBackground : #252424;
  --greenColor : #33B175;
  --redColor : #A00E0E;
  --whiteColor : #F9F8F8;
  --divBg : #312D2D;
  --btnHover : #4F4F4F;
}

*,*::before,*::after {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-flow: wrap column;
    align-items: center;
    justify-content: center;
    background: var(--bodyBackground) !important;
    color: var(--whiteColor);
    max-width: 100vw !important;      
    font-family: 'Avenir Heavy', sans-serif !important;                                 
}

.jumbotron-header {
    font-size: 64px;
    color: var(--whiteColor);
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    line-height: 5rem;
    letter-spacing: 0.2rem;
    word-spacing: 0.6rem;
    margin-bottom: 48px;
    font-family: 'Avenir Black', sans-serif !important;  
}

.jumbotron-header .text-highlight{
    color: var(--greenColor);
}

#retest {
    border: 3px solid var(--greenColor);
    background: transparent;
    font-size: 1.75rem;
    color: var(--whiteColor);
    font-weight: 700;
    height: 64px;
    border-radius: 30px;
    display: flex;
    padding: 11px 22px;
    align-items: center !important;
}

#retest img {
    margin-bottom: 0.3rem;
}

#retest:hover {
    background: var(--btnHover);
}

.center{
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
}

#percentage{
 font-size: 10rem;
 font-weight: bold;
 text-align: center;
 color: var(--whiteColor);
 margin-bottom: 48px;
 font-family: 'Avenir Roman', sans-serif !important;  
}

.num {
    width: 3.5rem;
    font-size: 1rem;
    border-radius: 30px;
    border: 3px solid var(--whiteColor);
    background: transparent;
    color: var(--whiteColor);
    padding: 0.2rem 0.5rem;
    text-align: center;
    margin-left: auto;
    display: none;
}

.test {
    background: var(--divBg);
    border-radius: 30px;
    align-items: center;
    transition: all 1s;
    font-size: 2rem;
    color: var(--whiteColor);
    border-radius: 1.2rem;
    cursor: default;
    padding: 2rem;
    overflow: hidden !important;
    height: fit-content;
    width: 100%;
    margin-bottom: 31px !important;
}

.adblockHostDiv {
    font-size: 1rem;
    font-weight: bold;
    box-shadow: none;
    color: grey;
    justify-self: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px !important;
    font-family: 'Avenir Heavy', sans-serif !important;  
}

.container-flex {
    width: 90vw;
}

#loader {
    margin-top: 5rem;
    margin-bottom: 1rem;
}

.grid {
    justify-content: center;
    align-items: center;
    margin-top: 108px !important;
    border: 3px solid var(--greenColor);
    border-radius: 30px;
    width: 90vw;
    padding: 42px;
}

.grid:first-child{
    margin-top: 135px;
}

.test.show>div {
    display: flex;
}

.greenText {
 color: var(--greenColor);
}

.adblockHostDiv div {
  display: none;
}

.indStat{
    margin: 1.25rem 1.875rem;
    margin-bottom: 0;
}

.adblockHostDiv div:nth-child(-n+5) {
  display: block;
}

#adblockTestLog svg {
    margin-right: 11px;
}

.fa-rotate-right{
 padding: 1rem 0.5rem;
 border: 3px solid var(--greenColor);
 border-radius: 100%;
 cursor: pointer;
}

.svgDiv{
    display: flex;
    flex-direction: row;
    width: 100%;
}

.adblockStat {
    margin-top: 48px;
    border: 3px solid var(--greenColor);
    border-radius: 30px;
    padding: 31px;
    font-family: 'Avenir Heavy', sans-serif !important;
    color: var(--whiteColor);
    align-items: center;
}

.adblockStat h4 {
    color: var(--whiteColor);
    text-transform: capitalize;
    letter-spacing: 0.1rem;
    font-size: 32px;
}

.adblockStat h4:first-child {
    margin-right: 11px;
}

.adblockStat h3 {
    text-align: center !important;
    color: var(--whiteColor);
    text-transform: capitalize;
    letter-spacing: 0.1rem;
    font-size: 32px;
    font-weight: bold;
}

.adCategory {
    color: var(--whiteColor);
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 42px;
    font-family: 'Avenir Heavy', sans-serif !important;  
}

.domain{
    font-size: 30px !important;
    margin-bottom: 15px;
}

.modal-header{
    border-bottom: none !important;
    justify-content: center !important;
    color: var(--whiteColor);
    background: var(--greenColor);
    border-radius: 30px !important;
}

.modal-title{
    letter-spacing: 0.05rem;
}

.fade-in-alert {
    display: none;
    opacity: 0;
    transition: opacity 1s;
}

.fade-in-alert.show {
    display: block;
    opacity: 1;
}

.toggle-button{
    color: var(--whiteColor);
    background: transparent;
    border: 2px solid var(--whiteColor);
    border-radius: 30px;
    height: 50px;
    width: 180px;
    margin-bottom: auto;
    display: flex;
    padding: 11px 21px;
}

.svg{
    margin-left: auto;
}

.toggle-button:hover{
    background: var(--btnHover);
}

.test.show>div {
    display: flex;
}

.test>div {
    position: relative;
    user-select: none;
    display: none;
    flex-direction: column;
    overflow-x: auto;
    gap: .5rem;
    width: 100%;
    white-space: nowrap;
}

.test > div:first-child {
    flex-direction: row;
}

.test>div>div {
    height: 45px;
    width: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.test>div>div>span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis !important;
    width: 100%;
    text-align: center;
}

.lessMoreBtn {
    background: transparent;
    color: var(--whiteColor);
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    border: 2px solid var(--greenColor);
    padding: 0.2rem 0.5rem;
    margin-top: 2rem;
    text-align: center;
}

.lessMoreBtn:hover{
    background: var(--btnHover);
}

.rowDiv{
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-gap: 36px;
}

.categoryDiv {
    display: flex;
    align-items: center !important;
    justify-content: space-between;
    flex-wrap: wrap;
}

.categoryDiv .adCategory{
    margin: 0;
}

.status{
    font-size: 18px;
    text-transform: uppercase;
}

#percentage svg{
    margin-left: 10px;
}

.fa-percent{
    font-size: 80px;
    font-family: 'Avenir Light', sans-serif !important;
    font-weight: 400 !important;
}

.retrySVG{
    height: 1.5rem;
}

footer{
    background: var(--divBg);
    color: var(--whiteColor);
    font-family: 'Avenir', sans-serif;
    font-style: normal;
    width: 100vw;
    padding: 3% 0;
    margin-top: 108px;
}

/* Responsive styles */
@media (min-width: 319px) and (max-width: 740px){
    .jumbotron-header {
        font-size: 2rem;
        line-height: 2.8rem;
    }
    
    .categoryDiv {
        flex-direction: column;
    }
    
    .toggle-button{
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
    }
    
    #percentage {
        font-size: 8rem;
    }

    .fa-percent {
        font-size: 50px;
    }

    #retest{
        font-size: 1.5rem;
    }
    
    .retrySVG{
        height: 1.5rem;
    }

    .adblockStat{
        padding: 1rem 0;
    }

    .adblockStat h3, .adblockStat h4{
        font-size: 1.5rem;
    }

    .adblockStat svg {
        height: 1.5rem;
    }

    .adCategory {
        margin: 0 0 20px 0;
        font-size: 2rem;
        text-align: center;
    }

    .grid{
        padding: 20px;
    }

    .rowDiv{
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        grid-gap: 20px;
    }
    
    .domain{
        text-overflow: ellipsis !important;
        overflow: hidden;
    }
}

@media (min-width: 741px) and (max-width: 1024px) {
    .rowDiv {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        grid-gap: 25px;
    }
    
    .categoryDiv {
        justify-content: space-between;
    }
    
    .adCategory {
        margin: 0;
        font-size: 40px;
    }
}

@media (min-width: 1025px) {
    .rowDiv {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        grid-gap: 36px;
    }
    
    .categoryDiv {
        justify-content: space-between;
    }
    
    .adCategory {
        margin: 0;
        font-size: 48px;
    }
}