@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Raleway:wght@400;700&display=swap');

/* font-family: 'Open Sans', sans-serif;
font-family: 'Raleway', sans-serif; */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
}
@media screen and (max-width: 900px){
    html {
        font-size: 12px;
    }
}
@media screen and (max-width: 400px) {
    html {
        font-size: 10px;
    }
}


body {
    background: hsl(218, 28%, 13%);
    font-family: 'Open Sans', sans-serif;
}

a {
    text-decoration: none;
}

.container {
    width: 90%;
    margin: auto;
    z-index: 2;
}

section {
    width: 100%;
    position: relative;
    font-family: 'Open Sans', sans-serif;
    padding: 10rem 0;
}
@media screen and (max-width: 900px) {
    section {
        padding: 9rem;
    }
}
@media screen and (max-width: 400px) {
    section {
        padding: 7rem 0;
    }
}

#bg-curved {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 0;
}
#bg-curved-mobile {
    width: 100%;
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
}

@media screen and (max-width: 400px) {
    #bg-curved {
        display: none;
    }
    #bg-curved-mobile{
        display: block;
    }
}

/* Styles */

header {
    width: 100%;
    padding: 3rem 5%;
    margin: auto;
    font-family: 'Raleway', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: hsl(217, 28%, 15%);
}
nav ul li {
    display: inline-block;
    margin-left: 3rem;
}
nav ul li a{
    color: #fff;
}

@media screen and (max-width: 400px) {
    header img{
        width: 10rem
    }
    nav ul li {
        margin-left: 2rem;
    }
}
/* 

WELCOME SEC

*/

#welcome {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: #fff;
    padding: 3rem 0;
    background: hsl(217, 28%, 15%);
}
#welcome h1 {
    font-size: 3rem;
    margin: 5rem 0;
}
#welcome p {
    font-size: 1.6rem;
}
#welcome a {
    color: #fff;
    background: hsl(198, 60%, 50%);
    font-size: 1.5rem;
    font-weight: bold;
    padding: 1.5rem 8rem;
    margin-top: 3rem;
    border-radius: 3rem;
    display: inline-block;
    margin-top: 2rem;
    transition: .2s;
}
#welcome a:hover {
    background: hsl(176, 68%, 64%);
    transition: .2s;
}
@media screen and (max-width: 900px) {
    #welcome a{
        font-size: 1.5rem;
        font-weight: bold;
        padding: 1.5rem 8rem;
        margin-top: 3rem;
        border-radius: 3rem;
    }
}
@media screen and (max-width: 400px) {
    #main-img {
        width: 100%;
    }
    #welcome {
        padding: 0;
    }
    #welcome h1 {
        font-size: 2rem;
        margin: 2rem 0;
    }
    #welcome a{
        font-size: 1.5rem;
        font-weight: bold;
        padding: 1.5rem 8rem;
        margin-top: 3rem;
        border-radius: 3rem;
    }
}


/* 

ABOUT SECTION

*/
#about .container {
    display:flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#about .about-item {
    width: 25%;
    text-align: center;
    color: #fff;
}
.about-item h4 {
    font-size: 1.5rem;
    margin: .5rem 0;
    margin-top: 1.5rem;
}
.about-item p {
    width: 85%;
    margin: auto;
}

.top-about {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.bottom-abt {
    margin-top: 10rem;
}
@media screen and (max-width: 900px) {
    #about .about-item {
        width: 100%;
        text-align: center;
        color: #fff;
    }
}
@media screen and (max-width: 400px) {
    #about {
        padding-top: 10rem;
    }
    .top-about {
        flex-direction: column;
    }
    .bottom-abt {
        margin-top: 0rem;
    }
    #about .about-item {
        width: 100%;
        margin-bottom: 7rem;
    }
    #about .about-item img {
        width: 20%;
    }
    .about-item p {
        font-size: 1.5rem;
        width: 100%;
    }
    
}

/* 

PRODUCTİVE SECTİON

*/

#productive .container {
    display: flex;
    align-items: center;
    color: #fff;
}
#productive img {
    min-width: 50%;
    margin-right: 5%;
}
#productive #productive-text h2 {
 font-size: 3rem;
}
#productive #productive-text p {
    font-size: 1.5rem;
    margin-top: 2rem;
}
#productive a {
    display: inline-block;
    margin-top: 2rem;
    padding: .5rem 0;
    background-color: transparent;
    color: hsl(176, 68%, 64%);
    border: none;
    outline: none;
    border-bottom: 1px solid hsl(176, 68%, 64%);
    transition: .2s;
}
#productive a:hover {
    color: #fff;
    border-color: #fff;
    transition: .2s;
}

@media screen and (max-width: 400px) {
    #productive .container {
        flex-direction: column;
    }
    #productive img {
        width: 100%;
        margin: auto;
        margin-bottom: 4rem;
    }
    #productive a {
        font-size: 1.3rem;
    }
}

/*  COMMENTS */

#comments .container {
    display: flex;
    justify-content: center;
    
}

.comment-item {
    width: 25%;
    color: #fff;
    text-align: left;
    background-color:hsl(219, 30%, 18%);
    padding: 3rem 2rem 2rem 2rem;
    box-shadow: 4px 4px 0 4px rgba(0, 0, 0, .1);
    margin-right: 3%;
    position: relative;
}
.comment-footer {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}
.comment-footer h6{
    font-size: 1rem;
}
.comment-footer img {
    width: 30px;
    border-radius: 100%;
    margin-right: 1rem;
}
.comment-author p{
    font-size: .8rem;
    margin-top: .2rem;
    color: rgba(255, 255, 255, .6);
}
.comment-item:nth-child(1)::before {
    content: url("images/bg-quotes.png");
    position: absolute;
    top: -2.5rem;
    left: -1rem;
    z-index: 3;
}
@media screen and (max-width: 900px) {
    #comments .container {
        flex-direction: column;
    }
    .comment-item {
        width: 90%;
        margin: auto;
        margin-bottom: 3rem;
    }
    .comment-item:nth-child(3) {
        margin-bottom: 0rem;
    }
}
@media screen and (max-width: 400px) {
    #comments .container {
        flex-direction: column;
    }
    .comment-item {
        width: 90%;
        margin: auto;
        margin-bottom: 3rem;
    }
}



/* 

Access form

*/

#early-access {
    width: 50%;
    margin:auto;
    text-align: center;
    color: #fff;
    padding: 3rem 5rem 2rem 5rem;
    background: hsl(217, 28%, 15%);
    border-radius: 1rem;
    box-shadow: 4px 4px 0 4px rgba(0, 0, 0, .1);
    transform: translateY(40%);
}
#early-access h3 {
    font-size: 2rem;
}
#early-access p {
    margin: 1.5rem 0;
}
#access-form {
    display: flex;
    align-items:center;
    justify-content:center;
    margin-top: 3rem;
}
#early-access #access-form input {
    width: 70%;
    display: inline-block;
    margin-right: 2%;
    font-size: 1.4rem;
    border-radius: 2rem;
    border: none;
    padding: .6rem 2rem;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    outline: none;
}
#early-access #access-form button {
    width: 25%;
    padding: 1rem 2rem;
    font-size: 1.4rem;
    background: hsl(198, 60%, 50%);
    color: #fff;
    font-size: 1rem;
    border-radius:2rem;
    border: none;
    transition: .2s;
    cursor: pointer;
}
#early-access #access-form button:hover {
    background: hsl(176, 68%, 64%);
    transition: .2s;
}
#early-error {
    text-align: left;
    font-size: .8rem;
    margin-left: 5%;
    color: hsl(0, 100%, 63%);
    margin-top: .2rem;
    visibility: hidden;
}


@media screen and (max-width: 900px) {
    #early-access {
        width: 90%;
    }
    #early-access #access-form {
        flex-direction: column;
    }
    #early-access #access-form button {
        width: 100%;
        font-size: 1rem;
        font-weight: bold;
        padding: 1.5rem 6rem;
        margin-top: 2rem;
        border-radius: 3rem;
    }
    #early-access #access-form input {
        width: 100%;
        padding: 1.5rem 6rem;
        border-radius: 3rem;
    }
}
@media screen and (max-width: 400px) {
    #early-access {
        width: 90%;
    }
    #early-access #access-form {
        flex-direction: column;
    }
    #early-access #access-form button {
        width: 100%;
        font-size: 1rem;
        font-weight: bold;
        padding: 1.5rem 6rem;
        margin-top: 2rem;
        border-radius: 3rem;
    }
    #early-access #access-form input {
        width: 100%;
        padding: 1.5rem 6rem;
        border-radius: 3rem;
    }
}

@media screen and (max-width: 345px) {
    #early-access #access-form input {
        width: 100%;
        padding: 1rem 4rem;
        border-radius: 3rem;
    }
    #early-access #access-form button {
        width: 100%;
        padding: 1rem 4rem;
        border-radius: 3rem;
    }
}

/*


Footer


*/

footer {
    margin: auto;
    padding: 15rem 0 5rem 0;
    color: #fff;
    background:hsl(216, 53%, 9%);
}

.footer-details {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 2rem;
    box-sizing: border-box;
}
#location {
    width: 25%;
}
#contact-footer p{
    margin-bottom: 1.5rem;
}
#links-footer {
    display: flex;
    align-items: flex-start;
    padding: 0rem 1rem;
    box-sizing: border-box;
    
}
#links-footer div:nth-child(1) {
    margin-right: 3rem;
}
#links-footer a {
    display: block;
    margin-bottom: 1rem;
    color: #fff;
    
}
#links-footer a:hover{
    font-weight: bold;
}
#social-footer a {
    color: #fff;
    margin-left: 1rem;
    font-size: 1rem;
    padding: .5rem .8rem;
    border: 1px solid #fff;
    border-radius: 100%;
    transition: .2s;
}
#social-footer a:nth-child(1){
    padding: .5rem 1rem;
}
#social-footer a:hover {
    color: hsl(176, 68%, 64%);
    border-color: hsl(176, 68%, 64%);
    transition: .2s;
}

@media screen and (max-width: 400px) {
    footer{
        padding-top: 18rem;
    }
    .footer-details {
        flex-direction: column;
    }
    #location {
        width: 100%;
        margin: 2rem 0;
    }
    #contact-footer {
        margin-bottom: 4rem;
    }
    #links-footer {
        flex-direction: column;
        margin-bottom: 7rem;
    }
    #links-footer div:nth-child(1) {
        margin-right: 0;
        margin-bottom: 2rem;
    }

    #social-footer {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

}