@font-face {
    /* This is the name you will use to reference the font later */
    font-family: 'DecoTitle';
  
    /* The path to the font file, relative to your CSS file */
    src: url("./fonts/Gatometrix.woff2") format('woff2');
    
    /* Define the weight and style for this font file */
    font-weight: normal; /* or 400 */
    font-style: normal;
}
@font-face {
    /* This is the name you will use to reference the font later */
    font-family: 'DecoSubTitle';
  
    /* The path to the font file, relative to your CSS file */
    src: url("./fonts/Aretha\ Bridge.woff2") format('woff2');
    
    /* Define the weight and style for this font file */
    font-weight: normal; /* or 400 */
    font-style: normal;
}


html{
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body{
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    overflow-x: hidden;
}

header{
    /* width: 83%; */
    width: 60%;
    display: flex;
    flex-direction: column;
    /* margin: auto 10% 7% 7%; */
    margin: auto 20% 15% 20%;
    /* gap: 13.5%; */
    gap: 3rem;
    align-items: center;
}

.headerImg{
    display: block;
    width: min(100vh, 115vw);
    height: auto;
    flex: 50%;
    justify-content: space-around;
    margin-top: -2rem;
    overflow: hidden;
}

.headerImg img{
    width: 100%;
    overflow: hidden;
}

header article{
    width: 100%;
    margin: auto;
    padding-bottom: 0%;
}

.headerTitleImg{
    margin-top: 5%;
    margin-left: 20px;
    width: 60%;
    /* margin-bottom: 2.5%; */
}

.textSection{
    text-align: justify;
    line-height: 1.5rem;
    width: 95%;
    margin-top: 9rem;
    padding: 0;
}

.mainTitle{
    margin-top: 4rem;
    margin-left: -13px;
    font-family: 'DecoTitle', Arial, sans-serif;
    font-size: 10rem;
}

.mainSubTitle{
    margin-top: -1rem;
    margin-left: -7px;
    font-family: 'DecoSubTitle', Arial, sans-serif;
    font-size: 2.15rem;
}

.headerDescription{
    display: block;
    font-size: 1.3rem;
    font-stretch: 85%;
}
.headerDescription .beText{
    font-weight: 500;
    font-size: 1.15rem;
}
.headerDescription .itaText{
    font-weight: 400;
    font-style: italic;
    font-size: 1.1rem;
}
.headerDescription .miditaText{
    font-weight: 390;
    font-size: 1.15rem;
    font-style: italic;
}
.headerDescription .subTitle{
    font-weight: 600;
    font-size: 1.7rem;
    line-height: 2.2rem;
}
.headerDescription .inlineLink{
    color:black;
    background-image: linear-gradient(to right, black 20%, rgba(255,255,255,0) 0%);
    background-position: bottom;
    background-size: 5px 1.15px;
    background-repeat: repeat-x;
    text-decoration: none;
    font-weight: 375;
}
.headerDescription .inlineLink:hover{
    font-weight: 585;
}
.headerDescription .inlineList{
    font-size: 1.18rem;
    list-style: none; /* Removes the default bullet point */
    padding-left: 0;  /* Removes the browser's default indentation */
}
.headerDescription .inlineListHead{
    font-weight: 450;
    font-size: 1.13rem;
}

.headerDescription .normalList{
    font-size: 1.3rem;
}

.headerDescription .inlineList li::before {
    content: '•'; /* The character for the dot. You can use &bull; in HTML */
    
    /* --- Style your custom dot here --- */
    color: #000;         /* Change the color of the dot */
    font-size: 1.15rem;      /* Make the dot slightly larger than the text */
    font-weight: bold;     /* Make it bold */
    
    /* --- Position the dot --- */
    display: inline-block; /* Needed to apply width and margin */
    margin-right: 12px;     /* Creates space between the dot and the text */
  }

.headerDescription .inlineList li + li {
    margin-top: 1.2rem; /* Adds space above every item except the first */
}

.navList{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    display: flex;
    padding-top: .63rem;
    padding-bottom: .46rem;
    flex-direction: row;
    justify-content: space-around;
    font-size: 1.5rem;
    font-weight: 700;
    background-color: rgba(255,255,255,0.6);
    backdrop-filter: blur(1.8px);
    border-top: 2px solid black;
    overflow-x: hidden;
}

.navList::before{
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: 100vw;
    height: 100%;
    overflow: hidden;
    filter: url(#noiseFilter);
    opacity: 0.17;
    pointer-events: none;
    -webkit-filter: url(#noiseFilter);
    overflow: hidden;
}

.navLink{
    --randomPosX: 0;
    --randomPosY: 0;
    --maskOpacity: 0;

    display: block;
    font-style: normal;
    color: black;
    text-decoration: none;
    transform: translate(0,0) skew(0deg);
}
.navLink::before{
    content:attr(title);
    position: absolute;
    left: 0;
    top: 0;
    background-color: black;
    mask-image: url("./images/mask.svg");
    mask-size: cover;
    mask-repeat: repeat space;
    mask-position: var(--randomPosX) var(--randomPosY);
    opacity: var(--maskOpacity);
}

.navLink:hover{
    --maskOpacity: 1;
}


/* Title Responsive */
@media (max-width: 1440px){
    .mainTitle{
        font-size: 10rem;
    }
    .mainSubTitle{
        font-size: 2.05rem;
    }
}

@media (max-width: 1280px){
    .mainTitle{
        font-size: 8.7rem;
    }
    .mainSubTitle{
        font-size: 2.05rem;
    }
}

@media (max-width: 1070px){
    .mainTitle{
        font-size: 7.5rem;
    }
    .mainSubTitle{
        font-size: 2rem;
    }
}
/* ---double lined title */
@media (max-width: 920px){
    .mainTitle{
        font-size: 12.5rem;
        line-height: 7.5rem;
        margin-bottom: 1.9rem;
        text-align: center;
        margin-left: -10px;
    }
    .mainSubTitle{
        font-size: 2rem;
        text-align: center;
        margin-left: -10px;
    }
}

@media (max-width: 700px){
    .mainTitle{
        font-size: 12rem;
        line-height: 7rem;
        margin-bottom: 1.9rem;
        text-align: center;
        margin-left: -10px;
    }
    .mainSubTitle{
        font-size: 1.9rem;
        text-align: center;
        margin-left: -10px;
    }
}

@media (max-width: 600px){
    .mainTitle{
        font-size: 11.2rem;
        line-height: 6.5rem;
        margin-bottom: 1.9rem;
        text-align: center;
        margin-left: -10px;
    }
    .mainSubTitle{
        font-size: 1.87rem;
        text-align: center;
        margin-left: -10px;
    }
}

@media (max-width: 500px){
    .mainTitle{
        font-size: 10.3rem;
        line-height: 5.8rem;
        margin-bottom: 1.83rem;
        text-align: center;
        margin-left: -10px;
    }
    .mainSubTitle{
        font-size: 1.83rem;
        text-align: center;
        margin-left: -10px;
    }
}

@media (max-width: 420px){
    .mainTitle{
        font-size: 9.5rem;
        line-height: 5.3rem;
        margin-bottom: 1.75rem;
        text-align: center;
        margin-left: -10px;
    }
    .mainSubTitle{
        font-size: 1.75rem;
        text-align: center;
        margin-left: -10px;
    }
}



/* Overall font responsive */
@media (max-width: 1099px){
    header{
        width: 60%;
        flex-direction: column;
        margin: auto 20% 10% 20%;
        gap: 3rem;
        align-items: center;
    }
    .headerTitleImg{
        width: 80%;
        margin: 0 10% 5% 10%;
    }
}

@media (max-width: 799px){
    html{
        font-size: 15px;
    }
}

@media (max-width: 699px){
    .navList{
        font-size: 1.2rem;
    }
    header{
        width: 70%;
        margin: auto 15% 15% 15%;
    }
}

@media (max-width: 600px){
    html{
        font-size: 14px;
    }
    header{
        width: 80%;
        margin: auto 10% 15% 10%;
    }
}

@media (max-width: 420px){
    html{
        font-size: 13px;
    }
    header{
        width: 90%;
        margin: auto 5% 15% 5%;
    }
}


@media (max-width: 1400px){
    .headerImg{
        width: min(115vw, 110vh);
    }
}
@media (max-width: 1200px){
    .headerImg{
        width: min(115vw, 105v);
    }
}
@media (max-width: 1000px){
    .headerImg{
        width: min(115vw, 97vh);
    }
}
@media (max-width: 850px){
    .headerImg{
        width: min(115vw, 91vh);
    }
}
@media (max-width: 770px){
    .headerImg{
        width: min(115vw, 86vh);
    }
}
@media (max-width: 670px){
    .headerImg{
        width: min(115vw, 79vh);
    }
}
@media (max-width: 570px){
    .headerImg{
        width: min(130vw, 71vh);
    }
}
@media (max-width: 470px){
    .headerImg{
        width: min(130vw, 63vh);
    }
}
@media (max-width: 400px){
    .headerImg{
        width: min(127vw, 55vh);
    }
}