/* Start of Header Section */

#header {
    width: 100%;
    height: 100vh;
    background-image: url();
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    padding: 10px 10%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    width: 140px;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    color: var(--secondaryText);
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background-color: var(--borderColor);
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after {
    width: 100%;
}

.header-text {
    margin-top: 20%;
    font-size: 30px;
}

.header-text p {
    color: var(--mainText);
}

.header-text h1{
    font-size: 60px;
    margin-top: 20px; 
    color: var(--secondaryText);
}

.header-text h1 span {
    color: var(--secondaryColor);
}

/* End of Header Section */

/* Start of About Section */

#about {
    padding: 80px 0;
    color: #ababab;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 35%; 
    /* Width of column will be 35% */
}

.about-col-1 img {
    width: 100%;
    border-radius: 15px;
}

.about-col-2 {
    flex-basis: 60%;
}

.sub-title {
    font-size: 60px;
    font-weight: 600;
    color: var(--secondaryText);
    margin-bottom: 20px;
}

.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}

.tab-titles p {
    color: var(--linkColorSecondary);
    text-decoration: underline double;
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 25px;
    position: absolute;
    left: -5px;
    bottom: -5px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 110%;
    border: 3px solid var(--borderColor);
    background-color: var(--thirdColor);

}


.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
}

.tab-contents ul li span {
    color: #b88746;
    font-size: 14px;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

.tab-contents .tab-contents-title{
    color: var(--secondaryColor);
    margin: 10px 0;
    border-bottom: 2px solid var(--borderColor);
    width: fit-content;
    font-weight: 600;
}

.tab-contents a {
    color: var(--linkColorSecondary);
    font-size: 12px;
}

.tab-contents p, a {
    margin: 10px 0;
}

.img-logo {
    width: 15px;
}

#git-logo {
    width: 40px;
}


/* End of About Section */

/* Start of Services Section */

#services {
    padding: 30px 0;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.services-list div {
    background-color: #262626;
    padding: 40px;
    font-size: 15px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.services-list div i {
    font-size: 50px;
    margin-bottom: 30px;
}

.services-list div h2 {
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 15px;
}

.services-list div a {
    text-decoration: none;
    color: var(--linkColorSecondary);
    font-size: 14px;
    margin-top: 20px;
    display: inline-block;
}

.services-list #left:hover {
    background-color: var(--secondaryColor);
    transform: translateX(-10px);
}

.services-list #middle:hover {
    background-color: var(--secondaryColor);
    transform: translateY(-10px);
}
.services-list #middle1:hover {
    background-color: var(--secondaryColor);
    transform: translateY(10px);
}

.services-list #right:hover {
    background-color: var(--secondaryColor);
    transform: translateX(10px);
}

/* End of Services Section */

/* Start of Portfolio Section */

#portfolio {
    padding: 50px 0;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.work {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.work img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}


.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6), #62587c);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.7s;
}

.layer h3 {
    font-weight: 500;
    margin-bottom: 20px;
}

.layer a {
    margin-top: 20px;
    color: #62587c;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background-color: var(--secondaryText);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}

.work:hover img {
    transform: scale(1.3);
}

.work:hover .layer{
    height: 100%;
}

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #62587c;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--linkColorSecondary);
    transition: background 0.5s;
}

.btn:hover {
    background-color: #62587c;
    color: var(--secondaryText);
}

/* End of Portfolio Section */

/* Start of Contact Section */

.contact-left {
    flex-basis: 35%;
}

.contact-right {
    flex-basis: 60%;
}

.contact-left p {
    margin-top: 30px;
}

.contact-left p i {
    color: #62587c;
    margin-right: 15px;
    font-size: 25px;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5px;
}

.social-icons a:hover {
    color: #62587c;
    transform: translateY(-5px);
}

.btn.btn2 {
    display: inline-block;
    background-color: #62587c;
}

.contact-right form {
    width: 100%;
}

form input, form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background-color: #262626;
    padding: 15px;
    margin: 15px 0;
    color: var(--secondaryText);
    font-size: 18px;
    border-radius: 6px;
}

form .btn2 {
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background-color: #262626;
    font-weight: 300;
    margin-top: 20px;
}

.copyright i {
    color: #b54769;
}

nav .fas {
    display: none;
}

#msg {
    color: #61b752;
    margin-top: -30px;
    display: block;
}


/* _____________________________________ */

/*Amazon Leadership Principles Page */

.alp-main-container {
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.greeting-wrapper {
    display: grid;

    text-align: center;
    align-content: center;

    min-height: 7em;

}

.alp-main-container .greeting-wrapper {
    font-size: 1.5em;
}

.alp-intro-wrapper {
    background-color: #5a5a5b;
    border: 1.5px solid var(--borderColor);
    border-radius: 5px 5px 0 0;

    -webkit-box-shadow: -1px 0px 5px 1px rgba(0,0,0,0.75);
    -moz-box-shadow: -1px 0px 5px 1px rgba(0,0,0,0.75);
    box-shadow: -1px 0px 5px 1px rgba(0,0,0,0.75);

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 3em 25em;
    grid-template-areas: 
                        'nav-wrapper nav-wrapper'
                        'left-column right-column'
                        ;

}

.alp-nav-wrapper {
    grid-area: nav-wrapper;
    border-bottom: 1px solid var(--borderColor);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: antiquewhite;
    border-radius: 5px 5px 0 0;

}

#alp-navigation {
    margin: 0;
    padding: 10px;
}

#alp-navigation li {
    display: inline-block;
    margin-right: 5px;
    margin-left: 5px;
}

.alp-dots-wrapper {
    display: flex;
    padding: 10px;
}

#dot1 {
    background-color: #FF605C;
}

#dot2 {
    background-color: #FFBD44;
}

#dot3 {
    background-color: #00CA4E;
}

.browser-dot {
    background-color: black;
    height: 15px;
    width: 15px;
    border-radius: 50%;

    margin: 5px;

    -webkit-box-shadow: -1px 0px 5px 1px rgba(0,0,0,0.75);
    -moz-box-shadow: -1px 0px 5px 1px rgba(0,0,0,0.75);
    box-shadow: -1px 0px 5px 1px rgba(0,0,0,0.75);
}

.alp-left-column {
    grid-area: left-column;
}

.alp-left-column h5 {
    text-align: center;
    padding-top: 10px;
    margin: 0 auto;
    line-height: 5px;
}

.alp-left-column h6 {
    text-align: center;
    line-height: 0;
    margin-top: 20px;
}

.alp-left-column a button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin: 15px auto;
}

#amazon_pic {
    display: block;
    margin: 10px auto;

    height: 250px;
    width: 250px;
    text-align: center;
    justify-content: center;
    border: 2px solid var(--borderColor);
    border-radius: 25%;
    font-size: 12rem;
}

.alp-right-column {
    grid-area: right-column;
    display: grid;
    align-content: center;

    padding-top: 50px;
    padding-bottom: 50px;
}

#alp-preview-shadow {
    background-color: var(--previewShadow);
    width: 320px;
    height: 170px;
    padding-left: 30px;
    padding-top: 30px;
}

#alp-preview {
    width: 300px;
    height: 150px;
    border: 1.5px solid var(--borderColor);
    background-color: var(--previewBg);
    padding: 15px;
    position: relative;
}


.corner {
    width: 7px;
    height: 7px;
    border: 1.5px solid var(--borderColor);
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
}

#corner-tl {
    top: -5px;
    left: -5px;
}

#corner-tr {
    top: -5px;
    right: -5px;
}

#corner-br {
    bottom: -5px;
    right: -5px;
}

#corner-bl {
    left: -5px;
    bottom: -5px;
}

.card-alp1, .card-alp2 {
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    padding: 5px;
    margin: 5px;
    width: auto;
    height: auto;
}

.card-alp1 p, .card-alp2 p {
    color: white;
    margin-top: 10px;
}

.card-alp1 {
    background-color: var(--mainColorCard);
}

.card-alp2 {
    background-color: var(--secondaryColorCard);
}

.main-container .alp-preview {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 auto;
    overflow: hidden;
}

.alp-preview {
    gap: 5px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
}

/* _____________________________________ */

/*Netflix Info Page */
#n-header {
    width: 100%;
    height: 75vh;
    background-image: url(../images/netflix-clone.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.n-container {
    padding: 10px 10%;
}

.n-container nav {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--borderColor);
}

.n-container .logo {
    width: 140px;
    margin-right: 40px;
}

.n-container nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

.n-container nav ul li a {
    color: var(--secondaryText);
    text-decoration: none;
    font-size: 18px;
}

.n-container nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background-color: antiquewhite;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

.n-container nav ul li a:hover::after {
    width: 100%;
}

.n-container .header-text {
    margin-top: 5%;
    font-size: 30px;
}

.n-container .header-text p {
    color: var(--mainText);
}

.n-container .header-text h1{
    font-size: 60px;
    margin-top: 20px; 
    color: var(--secondaryText);
}

.n-container .header-text h1 span {
    color: var(--secondaryColor);
}

/* _____________________________________ */

