/* i used color scheme from (https://mobbin.com/colors/brand/rive)*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*general styling for all pages*/

/* Header */
header {
    padding: 30px 15px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid white;
    margin-bottom: 15px;
    box-shadow: 0px 5px 30px 5px black;
}

h1 {
    font-size: 27px;
    margin-bottom:5px;
}

.tagline {
    font-size: 15px;
    color: grey;
}
/*section*/
.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    margin-top: 10px;
    background: #666666;
    border-radius: 0px 12px ;
    box-shadow: 0px 5px 30px 5px black;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #fff;
}

.section p {
    font-size: 18px;
    color: #ccc;
    max-width: 600px;
}

/* Social media*/
.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
    margin-bottom: 20px;
}

.socials img {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.socials img:hover {
    transform: scale(1.1);
}
/* Main */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*nave bar*/
.navbar {
    background-color: #2C2C2C;
    padding: 10px ;
    text-align: center;
}

.navbar ul {
    list-style: none;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin: 30px; 
    
    
}

.navbar a:hover {
    color: #ff6b6b;
    font-size: 20px;
}

.navbar a.active {
    border-bottom: 2px solid #ff6b6b;
}


/*icons and logos*/
.logo {
    display: flex;
    justify-content: center;
    gap: 20px;
    
}

.logo img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

/* Footer */
footer{
    padding: 15px;
    background-color: #2C2C2C;
    font-size: 15px;
    color: #aaa;
}


/*end of general stying*/

/*fisrt page style starts here*/
/*body*/
.linktree_body{
    background-color: black;
    color: white;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
}

/*border*/
.linktree_border{
    margin-left: 30%;
    margin-right: 30%;
    background-color: #1E1E1E;
    border-style: solid;
    border-width: 3px;
    border-color: black;
    border-radius: 15px;
}

/* Links section starting */
.links ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin-top: 30px;
}

.links a {
    display: block;
    background-color: #2C2C2C;
    color: white;
    padding: 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 17px;
    
}

.links a:hover {
    background-color: #444;
    width: 100%;
    box-shadow: 0px 5px 30px 5px black;
    max-width: 300px;
    transform: scale(1.1);
    pointer-events: stroke;
}

.links a:visited {
    color: white;
}

.links a:active {
    transform: scale(0.97);
}

.links li:first-child a {
    background-color: #444;
}
.links li:first-child a:hover {
    background-color: black;
}
.links li:last-child a {
    background-color:#444;
}
.links li:last-child a:hover {
    background-color:black;
}
.links li:nth-child(3) a {
    background-color: #444;
}
.links li:nth-child(3) a:hover {
    background-color:black;
}
/*links section ending*/
/*first page style ends here*/


/*second page about*/
/*body*/
.about_body{
    background-image: url(../images/gif.gif);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
}
/*border*/
.about_border{
    margin-left: 10%;
    margin-right: 10%;
    background-color:black;
    border-style: solid;
    border-width: 3px;
    border-color: black;
    border-radius: 15px 0px;
    
}

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 60px;
    margin-bottom: 60px;
    max-width: 80%;
    text-align: left;
}

.about img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid #fff;
}

.about p {
    color: #ccc;
    font-size: 17px;
    max-width: 500px;
}

/*grids*/
.container{
display: grid;
  grid-template-columns: auto auto;

  padding: 10px;
}
.container li {
  background-color: #3d3b3b;
  border: 1px solid black;
  padding: 10px;
  font-size: 30px;
  text-align: center;
}

/*second page ends here*/


/*third page starts here*/
.portfolio_body{
   background-image: url(../images/gif5.gif);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #666666;
    color: black;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
}
.section_portfolio {
    display: grid;
    grid-template-columns: auto auto;
    margin: 50px auto;
    padding: 20px;
    background-color: black;
    transition: transform 0.3s ease;
}
.section_portfolio:hover{
    transform: scale(1.05);
}

.section_portfolio h3 {
   padding: 15px;
    color: #fff;
}

.section_portfolio p {
    font-size: 18px;
    color: #ccc;
    max-width: 300px;
    text-align: center;
    
}
.section_portfolio img{
    width: auto;
    height: 200px;
    margin: 20px;
}


.porfolio_images img {
    width: auto;
    height: 200px;
    transition: transform 0.3s ease;
}

.porfolio_images img:hover {
    transform: scale(1.1);
}


.links_portfolio{
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.links_portfolio a {
    
    background-color: rgb(180, 99, 34);
    color: white;
    padding: 18px;
    border-radius: 10px;
    text-decoration: none;
    
}

/*journal styles*/

.journal_body{

    background-image: url(../images/gif6.gif);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color:black;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
}

.journal_border{
    margin-left: 10%;
    margin-right: 10%;
    background-color:white;
    opacity: 80%;
    border-style: solid;
    border-width: 3px;
    border-color: black;
    border-radius: 15px;
}

.section_journal{
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
    margin: 50px auto;
    width: 800px;
    height: auto;
    padding: 20px;
    color: white;
    background-color: black;
}
