@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');  

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

:root {
    --col1: #543EE8;
    --col2: #ffffff;
    --col3: #D2E9D5;
    --col4: #AD8A53;
    --col5: #03474D;
    --col6: #D3E9D5;
    --col7: #f5f5f5;
    --col8: #4e5450;
    --col9: #e9e5da;
    --col10: #5f5d5d;
    
}

body {
    background-image: url(img/bg.png);
    background-repeat: repeat;
    background-size: 100% auto;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 5;
}
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}
.modal img {
    height: 90vh;
    width: auto;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: black;
}

button {
    height: 40px;
    border-radius: 20px;
    background-color: var(--col1);
    border: none;
    font-size: 16px;
    padding-inline: 16px;
    color: var(--col2);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    transition: 0.3s;
}

button:hover {
    cursor: pointer;
    filter: drop-shadow(0px 8px 8px rgba(0, 0, 0, 0.75));
    transition: 0.3s;
}

h1 {
    font-weight: 600;
    font-size: 32px;
    margin-top: 64px;
    margin-bottom: 32px;
    letter-spacing: 1px;
}

section {
    max-width: 1920px;
    margin: 0 auto;
    padding-inline: 72px;
}

/* ---------------------------------------------------------------------NAVBAR--------------------------------------------------------------------------- */

.navbar-logo {
    height: 48px;
    width: auto;
}

.nav-arrow {
    width: 9px;
    height: auto;
}

.navbar-login {
    width: 32px;
    height: 32px;
}

.login {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

nav {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    width: calc(100% - 72*2px);
    max-width: 1920px;
    margin: 0 auto;
    padding-inline: 72px;
    /* box-shadow: 0px 0px 5px 0px black; */
    z-index: 2;
    background-color: var(--col3);
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    gap: 32px;
}

nav ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.more-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-block: 32px;
    width: 100%;
}


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: var(--col3);
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    z-index: 1;
    width: fit-content;
    overflow-x: hidden;
    z-index: 5;
}

.dropdown-content-scrl {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: var(--col3);
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    z-index: 1;
    max-height: 400px;
    overflow-y: scroll;
    width: fit-content;
    overflow-x: hidden;
    z-index: 5;
}

.dropdown-content a, .dropdown-content-scrl a {
    padding: 8px;
    display: block;
    width: max-content;
}

.dropdown-content hr, .dropdown-content-scrl hr {
    width: 100%;
    border: 1px solid var(--col4);
    margin: 0;
    padding: 0;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
    display: flex;
}

.dropdown:hover .dropdown-content-scrl,
.dropdown-content-scrl:hover {
    display: flex;
}

.nav-arrow {
    width: 12px;
    height: 12px;
    margin-left: 5px;
    vertical-align: middle;
}



/* ---------------------------------------------------------------------NAVBAR--------------------------------------------------------------------------- */


section {
    padding-top: 64px;
}

#results {
    background-color: rgba(173, 138, 83, 0.1);
    padding-bottom: 64px;
}

/* ---------------------------------------------------------------------HERO--------------------------------------------------------------------------- */

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 250px;
}

.hero-left-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
}

.hero-texts {
    width: 600px;
    height: 300px;
}

.hero-texts h1 {
    font-weight: 600;
    color: var(--col5);
    font-size: 40px;
    max-width: 400px;
    position: absolute;
    margin-left: 172px;
    margin-top: 100px;
}

.hero-texts a {
    font-weight: 200;
    color: var(--col5);
    font-size: 28px;
    position:absolute;
}

#hero-text-1 {
    transform: translate(80px, 80px);
    animation: text-1-path 10s infinite ease-in-out;
}

#hero-text-2 {
    transform: translate(350px, 40px);
    animation: text-2-path 10s infinite ease-in-out;
}

#hero-text-3 {
    transform: translate(80px, 250px);
    animation: text-3-path 10s infinite ease-in-out;
}

#hero-text-4 {
    transform: translate(450px, 250px);
    animation: text-4-path 10s infinite ease-in-out;
}


@keyframes text-1-path {
    0% { transform: translate(80px, 80px); }
    25% { transform: translate(120px, 40px); }
    50% { transform: translate(160px, 80px); }
    75% { transform: translate(120px, 120px); }
}

@keyframes text-2-path {
    0% { transform: translate(350px, 40px); }
    25% { transform: translate(390px, 80px); }
    50% { transform: translate(430px, 40px); }
    75% { transform: translate(390px, 0px); }
}

@keyframes text-3-path {
    0% { transform: translate(80px, 250px); }
    25% { transform: translate(120px, 250px); }
    50% { transform: translate(160px, 290px); }
    75% { transform: translate(120px, 210px); }
}

@keyframes text-4-path {
    0% { transform: translate(450px, 250px); }
    25% { transform: translate(410px, 170px); }
    50% { transform: translate(530px, 250px); }
    75% { transform: translate(490px, 290px); }
}


.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pinned-paper-img {
    width: 477px;
    height: 496px;
    padding-top: 32px;
    display: block;
}

.last-news {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-direction: column;
    position: absolute;
    rotate: -7deg;
    margin-left: 25px;
    margin-top: 10px;
}

.last-news-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--col6);
    height: 80px;
    width: 333px;
    border-radius: 40px;
    transition: 0.3s;
}

.last-news-item:hover {
    transform: scale(105%);
    transition: 0.3s;
}

.last-news-item img {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    margin: 10px;
}

.last-news-button {
    position: absolute;
    transform: translate(-80px, -165px);
    rotate: -7deg;
}

/* ---------------------------------------------------------------------RESULTS--------------------------------------------------------------------------- */

.results {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 80px;
    row-gap: 52px;
}

.result {
    background-color: var(--col2);
    width: 264px;
    height: 92px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 46px;
    filter: drop-shadow(0px 0px 8px rgba(0, 0, 0, 0.25));
    transition: 0.3s;
}

.result:hover {
    transform: scale(105%);
    transition: 0.3s;
    filter: drop-shadow(0px 0px 16px rgba(0, 0, 0, 0.75));
}

.result img {
    width: 72px;
    height: 72px;
    border-radius: 36px;
    margin-inline: 10px;
}

/* ---------------------------------------------------------------------RESULTS--------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------SERVICES--------------------------------------------------------------------------- */

.services {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 72px;
}


.service {
    width: 360px;
    min-height: 480px;
    border-radius: 12px;
    background-color: var(--col2);
    filter: drop-shadow(0px 0px 12px rgba(0, 0, 0, 0.25));
    transition: 0.5s;
}

.service:hover {
    transform: scale(102%);
    filter: drop-shadow(0px 0px 12px rgba(0, 0, 0, 0.75));
    transition: 0.5s;
}

.service img {
    width: 360px;
    height: 240px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.service-text {
    padding: 16px;
}

.service .more-button {
    margin-inline: 0px;
    margin-top: 0px;
    margin-bottom: 16px;
}

/* ---------------------------------------------------------------------SERVICES--------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------AboutUS--------------------------------------------------------------------------- */


.about {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-right img {
    width: 486px;
    height: auto;
}

.about-left {
    max-width: 720px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
}

.about-left h2 {
    font-size: 28px;
}

.about-left p {
    font-size: 20px;
}

.about-info-section {
    height: 72px;
    max-width: 200px;
    background-color: var(--col3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    gap: 16px;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.25);
    position: absolute;
    transform: translate(-20px, -180px);
}

.about-info-section img {
    height: 59px;
    width: auto;
}

.about-info-section p {
    font-size: 28px;
    color: var(--col5);
    font-weight: bold;
}

/* ---------------------------------------------------------------------AboutUS--------------------------------------------------------------------------- */

/* ---------------------------------------------------------------- STAFF ------------------------------------------------------------------------- */


.staff-parent {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.staff-head {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 80vw;
    gap: 8px;
}

.location {
    position: relative;
    /* border: 3px solid var(--col4); */
}

.staff-head img{
    width: calc(80vw/3);
    max-width: 280px;
    border-radius: 8px;
    border: 1px solid #F2F6EF;
    height: auto;
    opacity: 0.5;
}

.staff-head h2 {
    position: absolute;
    bottom: 7px;
    left: 0;
    color: var(--col1);
    background-color: rgba(255, 255, 255, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    width: max-content;
    padding: 8px;
}

.staff-member {
    position: relative;
    gap: 8px;
}

.staff-member h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--col6);
    padding-inline: 8px;
    border-radius: 0 8px 0 8px;
}

.staff-member img {
    width: 180px;
    height: 180px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.staff-body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.staff-member {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.staff-member:hover {
    .staff-info {
        transform: translate(-8px);
        transition: 0.3s;
    }
}

.staff-info {
    width: 180px;
    height: 180px;
    transform: translate(-188px);
    z-index: -1;
    transition: 0.3s;
    background-color: var(--col9);
    padding-inline: 8px;
    border-radius: 0 8px 8px 0;
}

/* ---------------------------------------------------------------- STAFF ------------------------------------------------------------------------- */

/* ---------------------------------------------------------------- CONTACT ------------------------------------------------------------------------- */

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    margin-top: 64px;
}

.footer a {
    transition: 0.3s;
}

.footer a:hover {
    transform: scale(110%);
    transition: 0.3s;
}

.contact-info {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 32px;
}

.contact-info a img {
    width: 32px;
    height: 32px;
}

.contact-info a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-weight: bold;
    color: var(--col5);
}

.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.social-media a img {
    width: 32px;
    height: 32px;
}

.map, #map {
    width: 560px;
    height: 360px;
    border-radius: 12px;
}

.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-block: 64px;

}

/*---Service-page---*/

.service-page-parent {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-body {
    max-width: 1170px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
}

.service-body-left {
    width: calc((100%/3)*2);
}

.service-body-right {
    width: calc(100%/3);
    height: auto;
}

.service-body-left p, .service-body-left li {
    color: var(--col10);
}

.service-body-left img{
    border-radius: 8px;
    width: 100%;
    height: auto;
}

.service-body-left ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.service-body-left h2 {
    padding-block: 32px;
}


.service-body-left li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.service-body-left li img{
    width: 18px;
    height: 18px;
}


.service-details {
    background-color: var(--col7);
    padding: 30px;
    border-radius: 8px;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.25));
}

.service-details ul {
    list-style-type: none;
}

.service-details ul li{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--col9);
    padding-bottom: 20px;
    margin-bottom: 20px;
    color: var(--col8);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    margin-top: 32px;
}

/*----------------------------------EXAM-----------------------------*/
.exam-parent {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 32px;
}

.exam-parent form {
    background-color: var(--col7);
    padding: 32px;
    min-width: 1170px;
    border-radius: 8px;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.25));
}

.exam-parent form p{
    font-weight: bold;
    padding-bottom: 16px;
}

.exam-parent form input:checked {
    fill: red;
}

/*----------------------------NEWS-----------------------------------*/

.news-head {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 16px;
    border-radius: 8px;
    flex-wrap: wrap;
}

.news-body {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 32px;
    
}

.news-item {
    width: 364px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--col7);
    border-radius: 8px;
    position: relative;
    transition: 0.3s;
}

.news-item:hover {
    filter: drop-shadow(0px 8px 8px rgba(0, 0, 0, 0.75));
    transition: 0.3s;
}

.news-item img{
    width: 100%;
    border-radius: 8px;
}

.news-item h3 {
    font-size: 20px;
    padding-inline: 16px;
    padding-bottom: 16px;
}

.news-item button {
    position: absolute;
    left: 5%;
    bottom: calc(133px + 5%);
}

.news-date {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: calc(100% - 32px);
    padding: 16px;
    gap: 8px;
}

.news-date p {
    color: var(--col8);
}

.news-date img {
    width: 18px;
    height: 18px;
    border-radius: 0;
}

/*-----------------------------LOGİN-----------------------------------*/

.login-section {
    background-color: rgba(16, 16, 16, 0.333);
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
}

.login-section-parent {
    width: 375px;
    height: auto;
    padding: 75px;
    background-color: var(--col7);
    border-radius: 8px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
}

.login-section-parent h1 {
    margin: 0;
}

.login-section-parent img {
    width: 200px;
    height: auto;
    padding-top: 32px;
    padding-bottom: 0;
}

.close-btn {
    position: absolute;
    top: 6%;
    right: 8%;
}

.login-section-parent form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 16px;
}

.login-section-parent form input {
    height: 52px;
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--col6);
    border-radius: 8px;
}

.login-section-parent form input:focus {
    border: 2px solid var(--col4);
    outline: none;
}

.login-section-parent form input[type="checkbox"] {
    height: 16px;
    width: 16px;
}

.current_student {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 16px;
}

.hidden_input {
    display: none;
}

.login-section-parent form button{
    margin-top: 32px;
}

#register-parent {
    display: none;
}

/*---------------------------------------RESULTS-----------------------------------------------*/

.result-expand {
    background-color: rgba(16, 16, 16, 0.333);
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: fixed;
}

.result-expand-parent {
    width: 375px;
    height: auto;
    padding: 75px 10px;
    background-color: var(--col7);
    border-radius: 8px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
}

.result-expand-parent ul {
    list-style-type: none;
    width: 100%;
}

.result-expand-parent ul li{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--col9);
    padding-bottom: 20px;
    margin-bottom: 20px;
    color: var(--col8);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    margin-top: 32px;
    padding-inline: 16px;
}

#result-close {
    position: absolute;
    top: 2%;
    right: 2%;
}

/*---------------------------------------PORTFOLIO-----------------------------------------------*/

.portfolio-parent {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.portfolio-parent img {
    height: 48px;
    width: auto;
    transition: 0.3s;
}

.portfolio-parent img:hover {
    transform: scale(110%);
    transition: 0.3s;
}


/*----------------------------------------------------------MOBILE--------------------------------------------------------------------------*/
/*----------------------------------------------------------MOBILE--------------------------------------------------------------------------*/
/*----------------------------------------------------------MOBILE--------------------------------------------------------------------------*/
/*----------------------------------------------------------MOBILE--------------------------------------------------------------------------*/
/*----------------------------------------------------------MOBILE--------------------------------------------------------------------------*/
/*----------------------------------------------------------MOBILE--------------------------------------------------------------------------*/
/*----------------------------------------------------------MOBILE--------------------------------------------------------------------------*/
/*----------------------------------------------------------MOBILE--------------------------------------------------------------------------*/
/*----------------------------------------------------------MOBILE--------------------------------------------------------------------------*/

.off-screen-menu {
    display: none;
}

.off-screen-menu ul{
    position: absolute;
    display: none;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    background-color: #d2e9d5f1;
    padding: 16px 16px;
    border-radius: 8px;
    right: -250px;
    top: 64px;
    z-index: 3;
    list-style-type: none;
    transition: 0.3s;
}

.off-screen-menu ul.active {
    right: 0;
    transition: 0.3s;
    width: 200px;
}

.off-screen-menu ul hr {
    width: 100%;
    border: 1px solid #AD8A5350;
    margin: 0;
    padding: 0;
}

.off-screen-menu ul li {
    transition: 0.3s;
}

.off-screen-menu ul li:hover {
    font-weight: bold;
    transition: 0.3s;
}

.ham-menu {
    height: 32px;
    width: 32px;
    margin-left: auto;
    position: relative;
    display: none;
}

.ham-menu span {
    height: 3px;
    width: 100%;
    background-color: var(--col5);
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
    z-index: 3;
}

.ham-menu span:nth-child(1) {
    top: 25%;
}

.ham-menu span:nth-child(3) {
    top: 75%;
}

.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.ham-menu.active span:nth-child(2) {
    opacity: 0;
}

.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.login-ham-lang {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

@media only screen and (max-width: 1400px) {
    .hero {
        gap: 32px;
    }

    .exam-parent form {
        width: 80%;
        min-width: 0;
    }
}

@media only screen and (max-width: 1250px) {
    .hero {
        gap: 32px;
    }

    nav ul {
        display: none;
    }

    .off-screen-menu {
        display: flex;
    }

    .off-screen-menu ul {
        display: flex;
    }

    .ham-menu {
        display: flex;
    }

    .service-body {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .service-body-left {
        width: 80%;
    }

    .service-body-right {
        width: 80%;
    }
}

@media only screen and (max-width: 1150px) {
    nav {
        padding-inline: 20px;
        width: calc(100% - 20*2px);
    }

    section {
        padding-inline: 20px;
    }

    .hero {
        flex-direction: column;
    }

    .footer {
        flex-direction: column;
    }

    .about {
        flex-direction: column-reverse;
    }
}

@media only screen and (max-width: 600px) {
    .hero-texts {
        width: 462px;
        height: 231px;
    }

    .navbar-logo {
        height: 32px;
        width: auto;
    }

    .hero-texts h1 {
        font-weight: 500;
        font-size: 28px;
        max-width: 308px;
        margin-left: 32px;
        margin-top: 100px;
    }

    .hero-left-buttons {
        flex-wrap: wrap;  
    }
    
    .pinned-paper-img {
        width: 367px;
        height: 382px;
    }

    .last-news-item {
        height: 62px;
        width: 256px;
        border-radius: 31px;
        transition: 0.3s;
    }

    .last-news-item img {
        width: 46px;
        height: 46px;
        border-radius: 23px;
        margin: 8px;
    }

    .last-news-button {
        position: absolute;
        transform: translate(-62px, -125px);
        rotate: -7deg;
    }

    #hero-text-1 {
        transform: translate(5px, 60px);
        animation: text-1-path 10s infinite ease-in-out;
    }
    
    #hero-text-2 {
        transform: translate(269px, 31px);
        animation: text-2-path 10s infinite ease-in-out;
    }
    
    #hero-text-3 {
        transform: translate(0px, 235px);
        animation: text-3-path 10s infinite ease-in-out;
    }
    
    #hero-text-4 {
        transform: translate(250px, 192px);
        animation: text-4-path 10s infinite ease-in-out;
    }

    @keyframes text-1-path {
        0% { transform: translate(5px, 60px); }
        25% { transform: translate(7.5px, 30px); }
        50% { transform: translate(10px, 60px); }
        75% { transform: translate(7.5px, 90px); }
    }

    @keyframes text-2-path {
        0% { transform: translate(269px, 31px); }
        25% { transform: translate(300px, 62px); }
        50% { transform: translate(300px, 31px); }
        75% { transform: translate(300px, 0px); }
    }

    @keyframes text-3-path {
        0% { transform: translate(0px, 235px); }
        25% { transform: translate(5px, 235px); }
        50% { transform: translate(7.5px, 240px); }
        75% { transform: translate(5px, 230px); }
    }

    @keyframes text-4-path {
        0% { transform: translate(250px, 192px); }
        25% { transform: translate(228px, 131px); }
        50% { transform: translate(294px, 192px); }
        75% { transform: translate(272px, 223px); }
    }

    .services {
        justify-content: center;
    }

    .about-right img {
        width: 80vw;
        height: auto;
    }

    .about-info-section {
        height: 36px;
        width: 140px;
        transform: translate(-20px, -140px);
    }

    .about-info-section img {
        height: 30px;
    }

    .about-info-section p {
        font-size: 20px;
    }

    .map {
        width: calc(100vw - 16px);
        height: calc((14px * 9px) / (100vw - 16px));
    }

    #map {
        width: calc(100vw - 16px);
        height: calc((14px * 9px) / (100vw - 16px));
    }

    .login-section-parent {
        width: 325px;
        padding: 25px;
        gap: 8px;
    }

    .login-section-parent form {      
        width: 80%;
    }
    
    .login-section-parent form input {
        height: 32px;
    }

    .staff-head h2 {
        font-size: 16px;
        padding: 4px;
        bottom: 7px;
    }

    .navbar-login {
        width: 20px;
        height: 20px;
    }

    .navbar-login-text {
        display: none;
    }
    
}

@media only screen and (max-width: 475px) {

    .hero-texts {
        width: 100%;
        height: calc(width / 2);
    }

}