@media only screen 
and (min-device-width : 300px) 
and (max-device-width : 770px){

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
}

#main {
    display: block;
    /* margin-left: 20px; */
    /* margin-right: 20px; */
    /* margin-top: 50px; */
    margin-bottom: 50px;
    background-color: #FFFFFF;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 24px;
    padding-right: 24px;
}

#rectangle {
    width: 50px;
    height: 50px;
}

#div1 {
    width: 100%;
    margin-top: 50px;
}

#div1 a button{
    width: 100%;
    margin: 0;
}

#div1 a button:last-child{
    margin-top: 10px;
}

#div1 h1 {
    /* color: #202648; */
    color: #1a365d;
    font-size: 28px;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 5px;
}

#div1 p {
    color: #737899;
    font-size: 1rem;
    font-weight: 400;
}

#div1 a {
    text-decoration: none;
}

#div2{
    display: flex;
    margin-top: 10px;
    justify-content: center;
}

#div2 img {
    height: 125px;
    width: 125x;
    margin-top: 20px;
    margin-left: 10px;
}

#div2 a{
    width: 50%;
}

#div2 #c1 {
    background-color: #C81F2A;
    width: 380;
    height: 380;
    opacity: 1;
    border-radius: 36px;
    margin-right: 5px;
}

#div2 #c2 {
    background: rgba(245, 245, 245, 1);
    width: 380;
    height: 380;
    opacity: 1;
    border-radius: 36px;
    margin-left: 5px;
}

#button1 {
    background-color: #C81F2A;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease, transform 0.2s ease;
    width: fit-content;
    justify-content: center;
}

#button1:hover {
    background-color: #F02E3B;
    transform: translateY(-2px);
}

#button1 span {
    margin-left: 8px;
}

#button2 {
    background-color: white;
    color: #1a365d;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease, transform 0.2s ease;
    width: fit-content;
    justify-content: center;
}

#button2:hover {
    background-color: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-2px);
}

#button2 span {
    margin-left: 8px;
}

#footer_logo {
    display: block;
    margin: auto;
    width: 125px;
    height: 40px;
}

#div_footer {
    padding-top: 24px;
    display: block;
    margin: auto;
    align-items: center;
    place-items: center;
         background-color: white;

}

.footer_img {
    align-items: center;
    place-content: center;
    place-items: center;
    word-spacing: 24px;
    padding-left: 150px;
}

.footer_img img {
    height: 16px;
    width: 16px;
    margin-bottom: 30px;
}

#h6footer {
    color: #737899;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 1rem;
    line-height: 20px;
    letter-spacing: -0.05px;
    vertical-align: middle;
    margin-top: 30px;
    padding-left: 20px;
}

hr {
    border: none;
    height: 1px;
    background-color: #E6E6E6;
}

#second_footer {
    display: block;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 30px;
    /* margin-left: 120px; */
    /* margin-right: 120px; */
         background-color: white;

}

#second_footer img:first-child {
    width: 40px;
    height: 55px;
    visibility: hidden;
    display: none;
}

#second_footer img:last-child {
    width: 100px;
    height: 50px;
    visibility: hidden;
    display: none;
}

#reslogofooter {
    width: 160px;
    height: 55px;
}

#rights {
    color: #737899;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.05px;
    vertical-align: middle;
    margin-left: 30px;
}
}