/* GENERAL */

* {
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Lato', sans-serif;
}

h2 {
    font-size: 3em;
    font-family: 'Barlow', sans-serif;
    font-style: bold;
}

h3 {
    font-size: 1.8em;
}

h4 {
    font-size: 1.5em;
}

p, a {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    text-decoration: none;
}

video {
    width: 100%;
}

/* NAVIGATION */

nav {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    font-size: 1.4em;
}

nav a {
    color: #000;
}

nav b {
    color: black;
    --s: 0.1em;
    --c: hsl(212, 30%, 56%);
    
    color: #0000;
    padding-bottom: var(--s);
    background: 
      linear-gradient(90deg,var(--c) 50%,#000 0) calc(100% - var(--_p,0%))/200% 100%,
      linear-gradient(var(--c) 0 0) 0% 100%/var(--_p,0%) var(--s) no-repeat;
    -webkit-background-clip: text,padding-box;
            background-clip: text,padding-box;
    transition: 0.5s ease;
}

nav b:hover {
    --_p: 100%
}

.nav-left a {
    color: black;
    --s: 0.1em;
    --c: hsl(212, 30%, 56%);
    
    color: #0000;
    padding-bottom: var(--s);
    background: 
      linear-gradient(90deg,var(--c) 50%,#000 0) calc(100% - var(--_p,0%))/.1% 100%,
      linear-gradient(var(--c) 0 0) 0% 100%/var(--_p,0%) var(--s) no-repeat;
    -webkit-background-clip: text,padding-box;
            background-clip: text,padding-box;
    transition: 0.5s ease;
}

.nav-left a:hover {
    --_p: 100%
}

.nav-right a {
    color: #000000a2;
    --s: 0.1em;
    --c: #90A8C3;
    
    color: #0000;
    padding-bottom: var(--s);
    background: 
      linear-gradient(90deg,var(--c) 50%,#000 0) calc(50% - var(--_p,0%))/.1% 100%,
      linear-gradient(var(--c) 0 0) 0% 100%/var(--_p,0%) var(--s) no-repeat;
    -webkit-background-clip: text,padding-box;
            background-clip: text,padding-box;
    transition: 0.5s ease;
}

.nav-right a:hover {
    color: black;
    --_p: 100%
}


.nav-left {
    display: flex;
    height: 32px;
    align-items: center;
}

.nav-right {
    display: flex;
    height: 32px;
    align-items: center;
}

.nav-right li {
    display: inline;
    margin-left: 16px;
}

.nav-mobile {
    display: none;
}

.nav-tablet {
    display: none;
}


/* FIRST_PART */

.first-part {
    display: flex;
    background-color: hsl(212, 30%, 66%);
}

.first-part img {
    width: 60%;
    margin: 32px 24px;
}

.fp-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.fp-text h1 {
    line-height: 2.8rem;  
    font-size: 2.8rem;
}

.fp-text p {
    margin: 22px 0;
}

.btn {
    font-size: 28px;
    border-top:1px solid transparent;
    border-bottom:1px solid transparent;
    border-image: linear-gradient(to right, rgba(255,255,255,0) 10%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 90%);
    border-image-slice: 1;
    transition: all .5s ease;
    cursor: pointer;
}

.btn:hover {
    font-size: 28px;
    border-image-slice:30;
}

/* SECOND_PART */

.second-part {
    display: flex;
}

.SP-left {
    width: 60%;
    padding: 32px 24px;
}

.SP-left img {
    width: 100%;
}

.SP-left h3 {
    margin-top: 32px;
}

.SP-left p {
    margin: 24px 0;
}

.SP-left #name {
    margin-bottom: 32px;
    font-weight: 500;
}

.SP-right {
    width: 40%;
    display: flex;
    flex-direction: column;
}

.info {
    display: flex;
    transition: all .5s ease;
}

.info:hover {
    width: auto;
    padding: 20px;
    background-color: hsl(212, 30%, 86%);
}


.info img {
    width: 40%;
    height: auto;
    object-fit: cover;
    margin: 16px;
    transition: all .5s ease;
}

/* .info img:hover {
    width: 35%;
} */

.info-text {
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-text p {
    margin: 8px 0;
}


/* THIRD_PART */

.third-part {
    padding: 32px 40px;
    background-color: hsl(212, 30%, 66%);
}

.third-part h2 {
    margin-bottom: 32px;
    text-align: center
}

.uni-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.option-block {
    display: flex;
    flex-direction: column;
    width: 25%;
    height: auto;
    margin: 16px;
    background-color: hsl(212, 30%, 90%);
    transition: all .5s ease;
}

.option-block:hover {
    width: 30%;
    background-color:  white;
}

.opt-text {
    padding: 16px;
}

.opt-text p {
    margin: 8px 0;
}


/* FOURTH_PART */

.fourth-part {
    display: flex;
}

#FP-h2 {
    text-align: center;
    margin: 32px 0px;
}

.fourth-part .SP-left {
    padding: 0px 24px 32px 24px;
}

.fourth-part .SP-left h3 {
    margin-top: 24px;
}

.fourth-part .SP-left p {
    margin-top: 8px;
    margin-bottom: 16px;
}


/* FOOTER */

footer {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid grey;
}

@media only screen and (max-width: 768px) {

    /* NAVIGATION */

    .nav-right {
        display: none;
    }

    .nav-tablet {
        display: inline;
    }

    /* FIRST_PART */

    .first-part {
        display: flex;
        padding: 16px;
        width: auto;
    }
    
    .first-part img {
        width: 60%;
        height: auto;
        margin: 0;
        object-fit: cover;
    }
    
    .fp-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 16px;
        text-align: center;
        margin: 0;
    }
    
    .fp-text h1 {
        line-height: 2.2rem;  
        font-size: 2.2rem;
    }
    
    .fp-text button {
        padding: 0px 0;
    }

    /* SECOND_PART */

    .second-part {
        display: flex;
        flex-direction: column;
    }

    .SP-left {
        width: auto;
        padding: 24px 16px;
    }

    .SP-left img {
        width: 100%;
    }

    .SP-left h3 {
        margin-top: 32px;
    }

    .SP-left p {
        margin: 24px 0;
    }

    .SP-left #name {
        margin-bottom: 32px;
        font-weight: 500;
    }

    .SP-right {
        width: auto;
        display: flex;
        flex-direction: column;
    }

    .info {
        display: flex;
    }

    .info img {
        width: 8rem;
        height: auto;
        object-fit: cover;
        margin: 16px;
    }

    .info-text {
        width: 65%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .info-text p {
        margin: 8px 0;
    }


    /* THIRD_PART */


    .third-part {
        padding: 24px 16px;
    }

    .third-part h2, #FP-h2 {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }

    .option-block {
        width: auto;
        flex-direction: row;
    }

    .option-block:hover {
        margin: 32px 6px;
        width: auto;
        background-color:  white;
    }

    .option-block img {
        width: 40%;
        object-fit: cover;
    }

    .opt-text {
        padding: 16px;
    }

    .opt-text p {
        margin: 8px 0;
    }


    /* FOURTH_PART */

    .fourth-part {
        display: flex;
        flex-direction: column;
    }
}

@media only screen and (max-width: 425px) {


    /* NAVIGATION */

    .nav-left,.nav-right,.nav-tablet {
        display: none;
    }

    nav {
        height: min-content;
        display: inline-block;
        padding: 0;
        width: 100%;
    }

    .nav-mobile {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px;
    }

    .nav-mobile img {
        width: 40px;
        height: 40px;
    }


    /* FIRST_PART */

    .first-part{
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .first-part img {
        width: 100%;
        margin: 0;
    }

    .fp-text {
        display: flex;
        margin: 32px 16px;
        /* text-align: left; */
    }

    .fp-text h1 {
        font-size: 2.2rem;
        line-height: 2.4rem;
    }

    .fp-text p {
        font-size: 1.2rem;
    }

    .fp-text button {
        padding: .5%;
    }



    /* SECOND_PART */

    .second-part {
        margin:0;
        padding:0;
    }

    .SP-left {
        display: none;
    }

    .SP-right {
        width: 100%;
    }

    .info {
        display: flex;
        flex-direction: column;
        margin:0;
        padding: 32px 16px;
        position: relative;
        height: min-content
    }

    .info img {
        width: auto;
        height: 180px;
        object-fit: cover;
        margin: 0;
    }

    .info-text {
       margin: 0 16px;
       margin-top: 16px;
       width: auto;
    }

    .info-text h3 {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }

    .info-text p {
        font-weight: 300;
    }
    
    .info-text p, a {
        font-size: 1.1rem;
        line-height: 1.3rem;
    }



    /* THIRD_PART */
    
    .third-part {
        padding: 32px 16px;
    }

    .third-part h2 {
        font-size: 2.5rem;
        margin-top: 16px;
    }
    
    .uni-options {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .uni-options img {
        display: none;
    }
    
    
    .option-block {
        display: flex;
        flex-direction: column;
        width: auto;
        height: auto;
        margin: 8px 16px;
    }
    
    .opt-text {
        padding: 16px;
    }

    .opt-text h3 {
        font-size: 26px;
    }

    .opt-text .courses {
        display: none;
    }
    
    .opt-text p {
        margin: 8px 0;
        font-weight: 500;
    }



    /* FOURTH_PART */

    #FP-h2 {
        font-size: 2.5rem;
        font-style: oblique;
        margin-top: 32px;
        margin-bottom: 16px;
    }


    .fourth-part{
        margin-bottom: 0px;
    }

    .fourth-part .SP-left {
        padding: 0;
    }

    .SP-left {
        width: auto;
    }

    .FP-right {
        display: none;
    }

    .FP-left {
        display: block;
    }

    .FP-left h3, .FP-left p {
        display: none;
    }



    /* FOOTER */

    footer {
        display: block;
        height: auto;
        padding: 16px;
    }

    footer .nav-right {
        display: none;
    }

    footer .nav-left {
        display: flex;
        font-size: .8rem;
        font-weight: 200;
    }

}

@media only screen and (min-width: 1024px) {
    /* balls */
}