
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,700;1,200;1,300;1,400&display=swap');

body{
    padding: 0;
    margin: 0;
}
*{
    box-sizing: border-box;
}
/* 
....................
typography header
....................

*/
.current-page{
    border-bottom: 3px solid grey;
}
a{
    text-decoration: none;
    color: black;
}
 .container{
    width: 93%;
    max-width: 900px;
    margin: 0 auto;
} 
.container-learning-page{
    width: 95%;
    margin: 0 auto;
    max-width: 900px;
}
header{
    background-color: whitesmoke;
    color: #0E0E0E;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 13.5522px;
    line-height: 108.2%;
    letter-spacing: -0.03em;
     padding: 1em; 
     margin-bottom: 0;
}
/* 
....................
Typography home page
....................
*/
.home-section-one{
    background-image: url("../images/pexels-janko-ferlic-590493.jpg");
    opacity: 1;
    background-size: cover;
    min-height: 40vh;
    padding-top: 7em;
    padding-bottom: 1.5em;
    padding-left: 1em;
    margin-bottom: 1.5em;
}

.home-title{
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 5px red;
    margin-top: 0;
    margin-bottom: 0;
}
.home-section-one-p{
    font-size: 1.5rem;
    width: 100%;
    color: white;
    text-shadow: 2px 2px 5px red;
    margin-top: 0;
    margin-bottom: 1em;
}
.date-home{
    color: white;
    font-size: 0.6rem;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.5rem;
}

p{    
font-style: normal;
font-size: 1rem;
line-height: 125%;
}

/* 
........................
header layout
........................
*/
ul{
    display: flex;
    list-style: none;
    justify-content: space-between;
    padding: 0; 
}
.header-col-1{
    width: 50%;
}
.header-col-2{
   width: 45%;
   display: flex;
   gap: 20px;
   justify-content: right;
}
/* 
layout home page
*/
img{
    width: 100%;
}
.home-section-one-article{
    width: 70%;
}
.home-section-two p{
    margin-top: 0.5em;
}
/* .home-article{
    margin-bottom: 1.5em;
} */
.date-article{
    margin-top: 0;
    margin-bottom: 0;
}
h2{
 margin-top: 0.5em;
 margin-bottom: 0;
}
.home-section-two{
    width: 98%;
    margin: 0 auto 1.5em auto;
}

.mylearning-section-one{
display: flex;
flex-direction: column;
}
footer{
    background-color: #202020;
    color: #D7D7D7;
    text-align: center;
    padding: 1.5em 0;
}
footer p{
    margin-bottom: 0;
    margin-top: 3px;
}
/* about-me typography */
.about-me-title{
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 700;
font-size: 34.8381px;
line-height: 108.2%;
letter-spacing: -0.03em;
color: #151515;
margin-top: 0.5em;
margin-bottom: 0;
}

p{
    font-family: 'Source Sans Pro', sans-serif;
    /* font-style: normal; */
    /* font-weight: 200; */
    font-size: 1rem;
    line-height: 25px;
}
/* about me page layout */
.my-image{
    border-radius: 50%;
    height: 60%;
    width: 60%;
    border: 1px solid black;
    margin-top: 1.5em;

}

@media (min-width:550px){
    .home-section-two{
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .home-article{
        width: 30%; 
    }

    img{
        min-height:30vh;
        object-fit: cover;
    }
    .main-img{
        height: 60vh;
    }
    .container{
        max-width: 1200px;
    }
    .home-section-one{
        padding-top: 7em;
        min-height: 50vh;
    }
    .home-section-one-p{
        font-size: 2rem;
    }
    .home-title{
        font-size: 2.5rem;
    }
    .date-home{
        font-size: 1.5rem;
    }
    .header-col-2{
        margin-right: 1em;
        font-size: 1.2rem;
        letter-spacing: 5px;
    }
    .header-col-1{
        margin-left: 1em;
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
/* 
layput learning page
*/
    .mylearning-section-one-padding{
        padding: 0 2em;
    }
    p{
        color: #151515;
        font-size: 1rem;
        line-height: 1.2;
        font-weight: 400;
    }
    h1{
       margin-bottom: 0; 
       margin-top: 0.4em;
       font-family: 'Source Sans Pro';
       font-style: normal;
       font-weight: 700;
       font-size: 36px;
       line-height: 108.2%;
       letter-spacing: -0.03em;
       color: #151515;
    }
    h2{       
       font-family: 'Source Sans Pro';
       font-style: normal;
       font-weight: 700;
       font-size: 24px;
       line-height: 30px;
       color: #151515;
    }
    .date{
        margin-bottom: 0;
        margin-top: 2em;
    }
 footer p{
    color: #D7D7D7;
    font-size: 1.5rem;
 }
 /* 
 layout about-me-page
 */
 .intro{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1em;
 }
 .my-image{
    border-radius: 50%;
    border: 1px solid black;
    margin-top: 1.5em;
    object-fit: cover;
}
.intro-col-1{
    /* height:20vh; */
    width: 20%;
}
.intro-col-2{
    width: 76%;
}
.about-me-title{
    font-size: 2.3rem;
}
.article-body-about-me{
    padding-top: 2.5em;
    padding-left: 4.5em;
}
}
/* End of media query */
