*{
    padding: 0px;
    margin: 0px;
}

body{
    font-size: 15px;
    background-color: rgb(237, 232, 225);
}
.head{
    display: flex;
    justify-content: space-between;
    height: 90px;
    background-color:#31212f;
    color: white;
    position: fixed;
    top: 0;            
    left: 0;           
    width: 100%;     
    z-index: 1000; 
}
.name{
    padding-left: 20px;
    padding-top: 25px;
    font-style:oblique;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: -30px;
}
.logo-img {
  height: 80px;
  width: 60px;
  margin-left: -10px;
  margin-top: 5px;
}

.logo-text {
  margin-top: 9px;
  margin-left: -10px;
  font-style: italic;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.sav {
  color: yellow;
  font-size: 36px;
  font-weight: bold;
}

.finance {
  color: w;
  font-size: 28px;
}
.subhead{
    padding-right: 20px;
    padding-top: 35px;
}
.one{
    padding-right: 28px;
    font-size: 17px;
    text-decoration: none;
    color: white;
    
}
.one2{
    padding-right: 28px;
    font-size: 17px;
    margin-left: 240px;
    text-decoration: none;
    color: white;
    
}
.one2:hover{
    text-decoration: underline;
    color: #c06e87;
}
.one1{
    padding-right: 28px;
    font-size: 17px;
    text-decoration: underline;
    color: #c06e87;
    
}
.one:hover{
    text-decoration: underline;
    color: #c06e87;
}
.return{
    font-size: 25px;
    margin-top: 130px;
    margin-left: 20px;
}
.return1{
    text-decoration: none;
    color: black;
    margin-left: 6px;
    font-weight:500;
}
.return1:hover{
    text-decoration: underline;
    color: #583512;
}
.about{
    margin-top: 70px;
    margin-bottom: 10px;
    display: flex;
    color: rgb(93, 37, 27);
    justify-content: center;
    font-size: 50px;
    font-weight: bolder;
}

.pp1{
    display: flex;
    margin-left: -20px;
}
.pp1 i{
    font-size: 30px;
    margin-left: 30px;
    color: #76593c;
    margin-top: 40px;
}
.onee1,
.onee2 {
    font-size: 26px;
    font-weight: 900;
    font-style: italic;
    text-align: center;
    margin: 30px auto 10px auto;
    width: 90%;
    line-height: 1.3;
}
.onee1 {
    font-size: 26px;
    font-weight: 900;
    font-style: italic;
    text-align: left;
    margin: 37px auto 10px auto;
    width: 90%;
    line-height: 1.3;
}
.two1{
    margin-top: 10px;
    margin-left: 78px;
}

.button1 p{
    margin-top: 4px;
}
.button1 p:hover{
    text-decoration: underline;
}

.boxex11 ,
.boxex22 {
    background-color: white;
    padding: 20px;
    margin: 40px auto;
    border-radius: 20px;
    max-width: 1000px;
    width: 90%;
    height: auto; /* auto height */
    box-sizing: border-box;
}
.button1,
.button2,
.button3 {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c06e87;
    height: auto;
    width: fit-content;
    padding: 10px 20px;
    color: white;
    margin: 20px auto; /* centers below image */
    border-radius: 10px;
}
.button1 i,
.button2 i,
.button3 i {
    margin-right: 8px;
    font-size: 18px;
}
.button1 a,
.button2 a,
.button3 a {
    text-decoration: none;
    color: white;
}

.button1:hover,
.button2:hover,
.button3:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 10px 20px;
}
.pp2{
    display: flex;
}
.class2 i{
    font-size: 30px;
    margin-left: 10px;
    color: #76593c;
    margin-top: 21px;
    margin-right: 10px;
}


.two2{
    margin-top: 10px;
    margin-left: 78px;
    font-size: 15px;
}

.button2 p{
    margin-top: 4px;
}
.button2 p:hover{
    text-decoration: underline;
}

hr{
    margin-top: 50px;
    width: 900px;
    margin-left: 50px;
}
.class2,
.class3 {
    display: flex;
    margin-top: 10px;
}
.pp3{
    display: flex;
}
.class3 i{
    font-size: 30px;
    margin-left: 10px;
    color: #76593c;
    margin-top: 40px;
    margin-right: 10px;
}
.two3{
    margin-top: 10px;
    margin-left: 78px;
    font-size: 15px;
}
.boxex1 img,
.boxex2 img,
.boxex3 img {
    display: block;
    margin: 30px auto 15px auto;
    width: 80%;
    max-width: 400px;
    border: 1px solid black;
}

.button3 p{
    margin-top: 4px;
}
.button3 p:hover{
    text-decoration: underline;
}

.navbar{
    font-size: 30px;
    display: none;
    cursor: pointer;
}
.side{
    background-color: #1d232c;
    width: 50%;
    height:100%;
    position: fixed;
    top: 0;
    left: -60%;
    padding: 20px;
    color: white;
    font-size: 20px; 
    transition: 1s; 
    z-index: 9999; 
}
.class2 p,
.class3 p {
    font-size: 20px;   /* smaller and cleaner */
    font-weight: 600;
    margin-top: 25px;
}
.class3 p {
    font-size: 20px;   /* smaller and cleaner */
    font-weight: 600;
    margin-top: 47px;
}
label{
    display: flex;
    justify-content: end;
}
.sidesubhead1{
    margin-bottom: 25px;
    margin-top: 60px;
    margin-left: 20px;
    font-size: 20px;
}
.sidesubhead1 a{
    color: white;
    text-decoration: none;
}
.sidesubhead1 a:hover{
    text-decoration: underline;
}
.sidesubhead2{
    margin-bottom: 25px;
    margin-top: 20px;
    margin-left: 20px;
    font-size: 20px;
}
.sidesubhead2 a{
    color: white;
    text-decoration: none;
}
.right-items {
    margin-left: auto; /* pushes navbar to absolute right */
    display: flex;
    align-items: center;
    padding-right: 20px; /* distance from right edge */
}
.sidesubhead2 a:hover{
    text-decoration: underline;
}
.sidesubhead3{
    margin-bottom: 25px;
    margin-top: 20px;
    margin-left: 20px;
    font-size: 20px;
}
.sidesubhead3 a{
    color: white;
    text-decoration: none;
}
.sidesubhead3 a:hover{
    text-decoration: underline;
}
.sidesubhead4{
    margin-bottom: 25px;
    margin-top: 20px;
    margin-left: 20px;
    font-size: 20px;
}
.sidesubhead4 a{
    color: white;
    text-decoration: none;
}
.sidesubhead4 a:hover{
    text-decoration: underline;
}
.sidesubhead5{
    margin-bottom: 25px;
    margin-top: 20px;
    margin-left: 20px;
    font-size: 20px;
}
.sidesubhead5 a{
    color: white;
    text-decoration: none;
}
.sidesubhead5 a:hover{
    text-decoration: underline;
}
.sidesubhead6{
    margin-bottom: 25px;
    margin-top: 20px;
    margin-left: 20px;
    font-size: 20px;
}
.sidesubhead6 a{
    color: white;
    text-decoration: none;
}
.sidesubhead6 a:hover{
    text-decoration: underline;
}
@media screen and (max-width:768px){
    .navbar{
        display: block;
    }
    .subhead{
        display: none;
    }
    .about i{
        margin-left: 40px;
        margin-top: 60px;
        font-size: 40px;
    }
    .return{
        margin-top: 120px;
        font-size: 25px;
    } 
    .about{
        font-size: 40px;
        margin-top: 40px;
        margin-left: -10px;
    }
    .boxex11, .boxex22 {
        width: 95%;
        padding: 15px;
    }
    .boxex3 {
        margin-top: -40px;
    }

    .boxex1 img, .boxex2 img, .boxex3 img {
    display: block;
    margin: 20px auto;
    width: 90%;
    height: auto;
    border: 1px solid black;
}
 .name .logo-img{
    margin-left: -15px;
    height: 80px;
    width: 60px;
}
.name .logo-text{
    margin-left: -10px;
}
.navbar i{
    font-size: 20px;
}

    .button1, .button2, .button3 {
        width: 65%;
        justify-content: center;
        padding: 12px;
        font-size: 15px;
    }
     .logo-text .sav{
    font-size: 25px;
}
.logo-text .finance{
    font-size: 20px;
}
.right-items {
    padding-right: 15px;
}
    .onee1, .onee2 {
        font-size: 20px;
        padding-left: 10px;
    }
    .two1, .two2, .two3 {
        font-size: 14px;
        text-align: center;
        margin-left: 0;
    }
    hr{
        margin-top: 30px;
        width:auto;
        margin-left: 10px;
        margin-bottom: 20px;
    }
    

.class2 p,
.class3 p {
    font-size: 16px;
}
.sidesubhead5 .two1{
    text-decoration: underline;
    font-size: 20px;
}
    
}
@media (max-width: 310px){
    .head{
        flex-direction: row;      /* Keep row, do not stack */
        padding: 5px 10px;        /* Smaller padding */
        gap: 5px;
    }
    .logo-text1 .sav{
        font-size: 22px;
    }
    .logo-text1 .finance{
        font-size: 11px;
    }
    .head img{
        width: 35px;              /* Reduce logo size */
    }
     .right-items .navbar{
      margin-top: 0px;
}

}
@media (max-width: 420px){

    .head{
        height: 70px;
        padding: 0 10px;
        display: flex;
        align-items: center;
    }

    .name{
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .logo-img{
        width: 40px;
        height: 50px;
        margin: 0;
    }

    .logo-text{
        margin: 0;
        display: flex;
        flex-direction: row;
        line-height: 1;
    }

    .sav{
        font-size: 25px !important;
    }

    .finance{
        font-size: 20px !important;
    }

    .right-items{
        padding-right: 5px;
    }

    .navbar{
        display: block;
        font-size: 20px;
        margin-top: 30px;
        margin-left: auto; /* Push to right */
    }

    .navbar i{
        margin-right: 15px;
        margin-top: 5px;
    }
    .right-items .navbar{
  margin-top: 0px;
}


    /* adjust return area */
    .return{
        margin-top: 110px;
    }
}