html{
    scroll-behavior: smooth;
}
/*INDEXXX.HTML*/
:root{
    --cream: #faf6ee;
    --blue: #3f6aaa;
    --text: #111;
}
.section{
    padding: 80px 10% !important;
}
.logo{ /*my name in navbar*/
    color: var(--text) !important;
    font-size: 26px !important;
    font-weight: bold !important;
    display: flex;
    align-items: center;
    gap: 0px;
    position: absolute;
    left: 1%;
}
body{ /*body duh*/
    background: var(--cream);
    color: #111;
    font-family: Arial, sans-serif;
}
.navbar{
    background: #fcfbef !important;
    padding-top: -2px;
    padding-bottom: -2px;
    border-bottom: 2px solid #d92f2f;

    position: relative;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-wrap{
    border-bottom: 1px solid #ddd;
    padding-bottom: 25px;
}
.nav-link{ /*navigation words*/
   color: var(--text) !important;
   font-weight: 550 !important;
   font-size: 17px !important;
   letter-spacing: 1px !important;
   margin-left: 25px;
   transition: color 0.3s ease !important;

   padding: -5px;


}
.nav-link:hover{ /*the hover duh*/
    color:#d92f2f !important;
}
.nav-link::after{
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #d92f2f;
    transition: width 0.3s ease !important;
}
.nav-link:hover::after{
    width: 100% !important;
}
.hero{ /*hero*/
    min-height: 78vh;
    padding: 70px 8% !important;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background-image: url("mta2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero h1{ /*huge words, michelle portfolio*/
    font-family: "Aldrich", sans-serif;
    font-size: 4.7rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text);

    transform: translateY(-60px);
}
.hero h2{
    color: #8251b8;
    transform: translateY(-60px);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.btn-talk{ /*about me*/
    display: inline-block;
    background: #111;
    color: white;
    text-decoration: none;
    padding: 18px 20px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 650;
    transition: 0.3s;

    position: relative;
    top: -45px;
}
.btn-talk:hover{ /*about me hover*/
    background: #2eae5b;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
/*SUBWAY MAP*/
.hero-left{
    width: 48%;
}
.hero-right{
    width: 50%;
}
.subway-map{
    position: relative;
    height: 560px;
}
/*COLORED ROUTES*/
.trainlines{
    position: absolute;
    width: 700px;
    height: 550px;
    top: -55px;
    right: -25px;
    z-index: 1;
}
.line{
    fill: none;
    stroke-width: 14;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.green-line{
    stroke: #2eae5b;
}
.yellow-route{
    stroke: #e6b51e;
}
.orange-route{
    stroke: #dd6b1f;
}
.red-route{
    stroke: #d92f2f;
}
.purple-route{
    stroke: #8251b8;
}
.stop{
    font-family: "Tomorrow", sans-serif;
    font-weight: 800;
    position: absolute;
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    color: var(--text);
    z-index: 3;
}
.stop:hover{
    transform: translateY(-7px);
    transition: 0.3s;
}
.stop h3{
    font-family: "Google Sans", sans-serif !important;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 4px 0;
}
.stop p{
    font-family: "Google Sans", sans-serif !important;
    margin: 0;
    font-size: 1rem;
}
.stop b{
    font-family: "Google Sans", sans-serif !important;
    font-size: 1rem;
}
.greencircle,
.yellowcircle,
.orangecircle,
.redcircle,
.purplecircle{
    width: 24px;
    height: 24px;
    background: var(--cream);
    border-radius: 50%;
    border: 6px solid;
    
}
.greencircle{
    color: #2eae5b;
}
.yellowcircle{
    color: #e6b51e;
}
.orangecircle{
    color: #dd6b1f;
}
.redcircle{
    color: #d92f2f;
}
.purplecircle{
    color: #8251b8;
}
.stop1{
    top: -50px;
    left: 49px;
}
.stop2{
    top: 55px;
    left: 159px;
}
.stop3{
    top: 140px;
    left: 309px;
}
.stop4{
    flex-direction: row-reverse;
    top: 242px;
    left: 308.5px;
}
.stop5{
    flex-direction: row-reverse;
    top: 392px;
    left: 56px;
}
.myfooter{
    background: rgb(0, 0, 0);
    text-align: center;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footertext{
    color: rgb(141, 141, 141);
    font-size: 1rem;
    align-content: center;
}








/*ABOUTTT.HTML*/
.aboutpage{
    background: url(mta.png);
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
}
.aboutheader{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.aboutheader h1{
    margin: 0;
}
.leftitle{
    display: flex;
    align-items: center;
    gap: 15px;
}

.leftitle h1{
    margin: 0;
    font-weight: 700;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 7000px;
}

.rightstops{
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 12px;
    margin-left: auto;
    white-space: nowrap;
}
.rightstops h1{
    margin: 0;
    font-size: 18px;
}
.lettercard{
    background: #f7f3ee;
    width: 775px;
    height: 560px;
    max-width: 90%;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
    position: relative;
}

.lettercard h1{
    font-size: 1.1rem;
    color: #111;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.lettercard h2{
    font-size: 3rem;
    line-height: 1.8;
    color: #e6b51e;
    margin-top: -50px;
    margin-bottom: 2px;
    font-family: tiny5;
}

.lettercard h5{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    color: #111;
    margin-left: 209px;
    margin-top: 10px;
    white-space: nowrap;
}

.typing{
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #2b211c;
    line-height: 1em;

    width: 0;
    animation: typing 1.2s steps(14) forwards, blink 0.9s infinite;
}

@keyframes typing{
    from{
        width: 0;
    }
    to{
        width: 12ch;
    }
}

@keyframes blink{
    50% {
        border-color: transparent;
    }
}

.lettercard p{
    font-family: "Google Sans", sans-serif !important;
    font-weight: 500;
    font-size: 1.15rem;
    line-height: 1.5;
    color: #111;
    margin-bottom: 11px;
}

.signature{
    padding-bottom: -50px;
    margin-top: 30px;
    font-size: 2rem;
    color: #e6b51e;
    font-weight: 500;
    font-family: "Cedarville Cursive", cursive;
}


.trainstops{
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.stopnum{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f7ead6;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;

}

a{
    text-decoration: none;
}

.stopnum:hover{
    transform: scale(1.25);
    transition: 0.3s;
}

.stopp3{
    background: #dd6b1f;
    color: white;
}

.stopp4{
background: #d92f2f;
    color: white;
}

.stopp5{
    background: #8251b8;
    color: white;
}



.stopnum.active{
    width: 35px;
    height: 35px;
    background: #e6b51e;
    color: white;
}

.headlines{
    width: 100%;
    height: 2px;
    background: #e6b51e;
    margin: -20px 0 60px;
}

.photo{
    position: absolute;
    width: 220px;
    background: white;
    padding: 10px 10px 25px;
    border-radius: 4px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.photo img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tape{
    width: 70px;
    height: 22px;
    background: rgba(177, 158, 101, 0.66);
    position: absolute;
    top: -12px;
    left: 67px;
    transform: rotate(-5deg);
}

.photo1{
    top: 130px;
    left: 40px;
    transform: rotate(-8deg);
}

.photo1:hover{
    transition: 0.3s;
    transform: rotate(8deg);
}

.photo2{
    top: 525px;
    left: 35px;
    transform: rotate(5deg);
}

.photo2:hover{
    transition: 0.3s;
    transform: rotate(-5deg);
}

.photo3{
    top: 120px;
    right: 30px;
    transform: rotate(7deg);
}

.photo3:hover{
    transition: 0.3s;
    transform: rotate(-7deg);
}

.photo4{
    bottom: -200px;
    right: 30px;
    transform: rotate(-6deg);
}

.photo4:hover{
    transition: 0.3s;
    transform: rotate(6deg);
}








/*PROJECTSSS.HTML*/
.projectspage{
    min-height: 90vh;
    background: url(mta3.png);
    padding: 80px 8%;
}

.stationsign{
    font-family: "Aldrich", sans-serif;
    font-weight: 700;
    position: relative;
    max-width: 720px;
    margin: 0 auto 70px;
    background: #111;
    color: white;
    padding: 38px 45px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 35px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25) !important;
}

.stationsign p{
    font-weight: 500 !important;
}

.signhanger{
    position: absolute;
    top: -80px;
    width: 18px;
    height: 80px;
    background: #111;
}

.signhanger.left{
    left: 120px;
}

.signhanger.right{
    right: 120px;
}

.stationnumber{
    width: 100px;
    height: 100px;
    background: #dd6b1f;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Aldrich", sans-serif;
    font-size: 3rem;
    font-weight: 800;
}

.signtext h1{
    font-family: "SN Pro", sans-serif !important;
    font-size: 3rem;
    margin: 0;
}

.signline{
    height: 2px;
    background: white;
    margin: -6px 0 18px;
}

.signtext p{
    font-family: "Aldrich", sans-serif;
    margin: 0;
    font-size: 1.2rem;
}


.projectcard{
    position: relative;
    max-width: 950px;
    margin: 0 auto 70px;
    background: #f5eee3;
    border: 1px solid #2b211c;
    border-radius: 18px;
    padding: 40px 35px 15px 150px;
    display: flex;
    align-items: center;
    gap: 35px;
}

.routeline{
    position: absolute;
    left: 65px;
    top: 0;
    width: 15px;
    height: 100%;
    background: #dd6b1f;
}

.projectletter{
    position: absolute;
    left: 35px;
    top: 50px;
    width: 75px;
    height: 75px;
    background: #dd6b1f;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.3rem;
    font-weight: 800;
    z-index: 2;
}

.projectinfo{
    flex: 1;
}

.projectinfo h2{
    font-family: "Aldrich", sans-serif;
    font-size: 1.8rem;
    line-height: 1.5;
}

.projectdivider{
    width: 2px;
    height: 125px;
    background: #ddd;
}

.projecttags{
    display: flex;
    gap: 12px;
}

.projecttags span{
    font-family: "Aldrich", sans-serif;
    border: 1px solid #111;
    color: #111;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: .95rem;
}

.tab1{
    border: 1.5px solid #3f6aaa !important;
    color: #3f6aaa !important;
}

.tab2{
    border: 1.5px solid #d92f2f !important;
    color: #d92f2f !important;
}


.viewproject{
    color: #dd6b1f;
    font-weight: 700;
    text-decoration: none;
}

.viewproject:hover{
    transform: scale(1.15);
    transition: 0.3s ease;
} 

.nextstop {
    width: 250px;
    height: 100px;
    margin: 0 auto;
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25) !important;
    box-sizing: border-box;

    transition: 0.3s ease;
}

.nextstop div:first-child{
    display: flex;
    flex-direction: column;
}

.nextstop:hover{
    background: #d92f2f;
    box-shadow: 0 0 2px rgba(232, 91, 28, 0.25);
}

.nextstop small{
    color: #f7ead6;
    font-weight: 900;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.nextstop h2{
    font-family: "Aldrich", sans-serif;
    margin: 5px 0 0;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    text-align: center;
    padding: -5;
    height: 60px;
}

.nextstop span{
    background: #d92f2f;
    padding: 10px 10px;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;


    flex-shrink: 0;
}

.arrow{
    font-size: 3rem;
}