
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}
h3 {
    font-size: 30px;
}
#w-box {
    display: block;
    width: 100%;
    height: 80px;
}


.home-text {
    max-width: 1000px;
    font-size: 32px;
    text-align: center;
    color: rgb(1, 54, 96);
    animation: introText 3s;
}

.quote-image {
    content:url(mem1.png);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 796px;
}​

@keyframes introText2 {
    0% {color: rgba(1, 54, 96, 0)}
    100% {color: rgba(0, 0, 0, 1)}
}

@keyframes introText2 {
    0% {color: rgba(1, 54, 96, 0)}
    100% {color: rgba(0, 0, 0, 1)}
}
#s1 {
    font-size: 50px;
    color: black;
    animation: introText2 3s;
}

#s2 {
    font-size: 50px;
    color: black;
    animation: introText2 3s;
}

.home-container {
    height: 99vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-header {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section1 {
    height: 100vh;
    animation: changecolor 2s;
}
.section3 {
    height: 100vh;
}
.section4 {
    height: 100vh;
}


h2 {
    margin: 0;
    font-size: 36px;
    text-align: center;
}
.menu-header {
    color: 1,54,96;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
}
.menu-item-container {
    display: flex;
    padding-right: 20px;
    text-align: center;
}

nav {
    background-color: rgb(255, 255, 255, 1);
    padding: 5px 0;
    position: fixed;
    width: 100%;
    border-bottom: 1px solid rgb(1, 54, 96);
}

nav ul {
    list-style-type: none; 
    padding: 0; 
    display: flex;
    justify-content: space-between;
}

nav li {
    margin: 0 15px; 
}

nav a {
    color: #013660;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    text-decoration: none; 
    transition: color 0.3s; 
}

nav a:hover {
    color: #000000; 
}


.dropdown-menu {
    display: none; 
}

.dropdown-btn {
    background-color: rgba(255, 255, 255, 1);
    margin-right: 20px;
    color: rgb(1,54,96);
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 28px;
    transition: background-color 0.3s;
}

.dropdown-btn:hover {
    background-color: rgba(255, 255, 255);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    min-width: 160px;
    background-color: #ffffff;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  
}

.dropdown-content a {
    color: rgb(1, 54, 96);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    border-radius: 10px;
}

@media (max-width: 850px) {
    .menu-header {
        font-size: 28px;
    }
    .menu-item-container {
        display: none; 
    }
    .dropdown-menu {
        display: block;
    }
    .dropdown-btn:hover + .dropdown-content, 
    .dropdown-content:hover {
    display: block;
    }
    .dropdown-btn:focus + .dropdown-content,
    .dropdown-content:focus-within {
    display: block;
    }
}

.project-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.project-row {
    display: flex;
    justify-content: space-around;
}
.project-container-text {
    width: 100%;
}

#helloamir {
    color: red;
    font-size: 100px;
}

.project-item {
    padding: 15px;
    border-radius: 10px;
    margin: 10px;
    align-items: center;
    display: flex;
    justify-content: space-around;
}
.project-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    max-width: 500px;
    text-align: center;
    padding: 20px;
    color: white;
}
img {
    border-radius: 10px;
    text-align: center;
}

#project-image2 {
    animation: project-image2  5s infinite;
}

@keyframes project-image2 {
    0% {box-shadow: 5px 10px rgba(254, 180, 21, 0);}
    50% {box-shadow: 5px 10px rgba(254, 180, 21, 1);}
    100% {box-shadow: 5px 10px rgba(254, 180, 21, 0);}
}

#project-image1 {
    animation: project-image1  5s infinite;
}

@keyframes project-image1 {
    0% {box-shadow: 5px 10px rgba(254, 180, 21, 0);}
    50% {box-shadow: 5px 10px rgba(50, 57, 73, 1);}
    100% {box-shadow: 5px 10px rgba(254, 180, 21, 0);}
}

#project-image3 {
    animation: project-image2  5s infinite;
}

#project-image4 {
    animation: project-image1  5s infinite;
}

.project-row:nth-child(1) .project-item:nth-child(1) {
    background-color: rgb(240, 206, 142);
}
.project-row:nth-child(1) .project-item:nth-child(1) .project-text{
    color: #000000;
  }
.project-row:nth-child(2) .project-item:nth-child(1) {
    background-color: #013660;
}
.project-row:nth-child(2) .project-item:nth-child(2) {
    background-color: rgb(240, 206, 142);
}
.project-row:nth-child(2) .project-item:nth-child(2) .project-text{
    color: #000000;
  }

.project-row:nth-child(3) .project-item:nth-child(1) {
    background-color: rgb(240, 206, 142);
}
.project-row:nth-child(3) .project-item:nth-child(1) .project-text{
  color: #000000;
}
.project-row:nth-child(3) .project-item:nth-child(2) {
    background-color: #013660;
}
.project-row:nth-child(4) .project-item:nth-child(2) {
    background-color: rgb(240, 206, 142);
}
.project-row:nth-child(4) .project-item:nth-child(2) .project-text{
    color: #000000;
}
.project-row:nth-child(4) .project-item:nth-child(1) {
    background-color: #013660;
}


.blog-link {
    font-size: 24px;
    text-decoration: none;
}
.home-blog {
    max-width: 1000px;
    font-size: 32px;
    color: rgb(1, 54, 96);
    animation: introText 3s;
}

.blog-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1525px) {
    .project-item {
        justify-content: center;
        flex-direction: column;
    }
}
@media (max-width: 1380px) {
    .home-text {
        font-size: 26px;
    }
    .home-blog {
        font-size: 26px;
    }
}
@media (max-width: 1070px) {
    .home-container {
        flex-direction: column;
    }
}
@media (max-width: 445px) {
    img {
        width: 175px;
        height: 250px
    }
    .project-text {
        font-size: 16px; 
    }
    .home-text {
        font-size: 16px;
        padding: 20px;
    }
    .home-blog {
        font-size: 16px;
        padding: 20px;
    }
    #s1 {
        font-size: 32px;
    }
    nav a {
        font-size: 16px;
    }
    .dropdown-btn {
        font-size: 18px;
    }
    .menu-header {
        font-size: 18px;
    }
    #s2 {
        font-size: 32px;
    }

}

@media (max-width: 910px) {
    .project-row {
        justify-content: center;
        flex-direction: column;
    }
}