/* Link is form google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    text-decoration: none;
}
html{
    scroll-behavior: smooth;
    background-color: #f0f0e8;
}
body {
    font-family: 'Ubuntu', sans-serif;
}
/* Go to the top function */
#top {
    display: none;
    position: fixed; 
    bottom: 2em;
    right: 2em;
    z-index: 99;
    border: none;
    background-color: #c16ecf; 
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer; 
    padding: 15px;
    border-radius: 25px; 
    font-size: 17px;
  }
  /* when the mouse is over not only the cursor will change, but the color aswell */
  #top:hover {
    transition: .3s ease-in-out;
    background-color: #d8b7de;
  }
/* end of function */

/*making the animation*/
.reveal{
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: .5s ease-in-out;
}
                                                                                        
.reveal.active{
    transform: translateY(0);
    opacity: 1;
}
/* End animation */

/* for every section in the whole body */
section{
    padding: 100px 0;
}
section .title{
    position: relative;
    text-align: center;
    font-size: 40px;
    margin-bottom: 60px;
    padding-bottom: 20px;
}
h2{
    display: block;
    font-weight: bold;
}
/* the top nav for mobile version */
.navbar {
    font-size: 18px;
    background-image: linear-gradient(260deg, #2376ae 0%, #c16ecf 100%);
    padding-bottom: 30px;
    position: fixed;
    width: 100%;
    z-index: 2;
}

.main-nav {
    list-style-type: none;
    display: none;
}

.nav-links, .logo {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
}

.main-nav li {
    text-align: center;
    margin: 15px auto;
}

.logo {
    display: inline-block;
    font-size: 22px;
    margin-top: 10px;
    margin-left: 20px;
}
/* the hamburger icon */
.navbar-toggle {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
}
/* this will togle the menu */
.active {
    display: block;
}
/* end of topnav mobile  */

/* Start of homepage */

.home-body{
    display: flex;
    height: 100vh;
    margin: auto;
    background-image: linear-gradient(260deg, #2376ae 0%, #c16ecf 100%);
}
.home-content{
    color:  rgba(255, 255, 255, 0.7);
}
.home-body .max-width{
    width: 100%;
    display: flex;
    align-self: center;
    
}
.home-body .home-content .text-2{
    font-size: 40px;
}
.home-body .home-content .text-1{
    font-size: 28px;
}
.home-body .home-content .text-3{
    font-size: 32px;
}
.max-width{
    max-width: 1300px;
    padding: 0 80px;
}

/* the content of aboutme */
/* there is also css for boxes for other pages */
.aboutme-body .box-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}
.aboutme-body .box-content .right{
    width:55%
}
.aboutme-body .box-content .left{
    width: 45%;
}

/* the previous website content */
.box-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}
.box-content .right{
    width: 55%;
}
.box-content .left{
    width: 45%;
}
/* the orientation and profile phase */
.orientation-phase, .profile-phase{
    background-image: linear-gradient(260deg, #2376ae 0%, #c16ecf 100%);
    color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 3px 8px rgb(0, 0, 0, 0.20);
}
.orientation-phase .boxholder, .profile-phase .boxholder{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2em;
}

.orientation-phase .boxholder .box, .profile-phase .boxholder .box{
    width: 20em;
    background: #2b2634;
    text-align: center;
    border-radius: 6px;
    padding: 50px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 10em;
    color: rgba(255, 255, 255, 0.7);
}
.boxholder .box:hover {
    width:22em;
    height:12em ;
    transition: .3s ease-in-out;
    background-color: #423854;
    color:white;
}
/* orienting phase page */
    /* introduction */
    .introduction{
        display: flex;
        flex-direction: column;
        max-height: 100%;
        color: rgba(255, 255, 255, 0.7);
        margin: auto;
        background-image: linear-gradient(260deg, #2376ae 0%, #c16ecf 100%);
        box-shadow: 0 3px 8px rgb(0, 0, 0, 0.40);
    }
    .first-authentic .max-width, .second-authentic .max-width, .third-authentic .max-width{
        max-width: 100%;
    }
    .introduction .max-width{
        padding-top: 5em;
        font-size: large;
    }
    /*  authentic tasks */
    .first-authentic, .second-authentic, .third-authentic{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-around;
    }
    .intro{
        padding-top: 2em;
    }
    .third-authentic .box-content{
        padding-top: 3em;
    }

    
/* Profile phase */
.introduction-profile{
        padding: 2em;
}
.intro-box{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.intro-column{
    display: flex;
    max-height:100%;
    max-width: max-content;
}
.intro-box .right{
    width: 50%;
}
.intro-box .left{
    width: 50%;
}
.box{
    display: flex;
    max-width: 100%;
    padding: 0 80px;
    align-items: center;
    justify-content: space-between;
}
.column{
    padding: 1em;
}
.sprint-three .max-width{
    padding-top: 2em;
}
/* for the reflection button */
#displayReflection, #displayReflection2, #displayReflection3{
    display: none;
}
.button{
    font-size: 16px;
    width: 20em;
    background: #2b2634;
    text-align: center;
    border-radius: 6px;
    padding: 50px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 10em;
    color: rgba(255, 255, 255, 0.7);
}
.button:hover{
    width:22em;
    height:12em ;
    transition: .3s ease-in-out;
    background-color: #423854;
    color:white;
}
.holder{
    display: flex;
    flex-direction: row;
}
/* Footer */
footer{
    background-color: #706ecf;
    padding: 15px 23px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}


/* the contact page */
.theForm{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
#name, #email{
    padding:1em;
    width: 90%;
    height: 2.5em;
    border-radius: 5px;
    background-color: #dadacd45;
    border:1px solid #2b2634;
}
#message{
    padding:1em;
    width: 90%;
    height: 10em;
    border-radius: 5px;
    background-color: #dadacd45;
    border:1px solid #2b2634;
}
#mes{
    display: none;
}

.submit-button{
    border-radius: 5px;
    width: 10em;
    height: 2.5em;
    background-color: #423854;
    color: rgba(255, 255, 255, 1);
}

/* the top nav for desktop */
@media screen and (min-width: 768px) {
    .navbar {
        max-width: 100%;
        display: flex;
        justify-content: space-between;
        padding-bottom: 0;
        height: 70px;
        align-items: center;
    }

    .main-nav {
        display: flex;
        margin-right: 30px;
        flex-direction: row;
        justify-content: flex-end;
    }

    .main-nav li {
        margin: 0;
    }

    .nav-links {
        margin-left: 40px;
    }

    .logo {
        margin-top: 0;
    }

    .navbar-toggle {
        display: none;
    }

    .logo:hover, .nav-links:hover {
        color: rgba(255, 255, 255, 1);
    }
    
}