@tailwind base;
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=Acme&display=swap');


/**------------general------------**/
*{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Acme;
}
body {
    background: #14101A;
    color: #ffffff;
}
#header {
    width: 100%;
    height: 100vh;
    background-image: url(images/background.png);
    background-size: cover;
    background-position: center;
}
.container {
    padding: 10px 10%;
}
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 10px;
}
nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}
nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}
nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #61D2FA;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.2s;
}
nav ul li a:hover::after {
    width: 100%
}
.header-text {
    margin-top: 20%;
    font-size: 20px;
    text-align: right;
}
.header-text h1{
    font-size: 50px;
    margin-top: 20px;
    text-align: right;
}
.header-text h1 span{
    color: #61D2FA;
}

.header-text h1 span:hover{
    color: #24ff57;
    transition: 0.5s;
}

/**------------about me------------**/
#about {
    padding: 80px 0;
    background-color: #14101A !important;
    z-index: 1;
    opacity: 1;
}
.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1 {
    flex-basis: 35%;
}
.about-col-1 img {
    width: 100%;
}
.about-col-2 {
    flex-basis: 60%;
}
.title {
    font-size: 60px;
    font-weight: 600;
    color: #ffffff;
}
.paragraph {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    text-align: justify;
    margin-top: 20px;
}
.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}
.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #61D2FA;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.tab-links.active-link::after {
    width: 60%;
}
.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
}
.tab-contents ul li span {
    color: #61D2FA;
    font-size: 14px;
}
.tab-contents ul li strong {
    color: #24ff57;
}
.tab-contents {
    display: none;
}
.tab-contents.active-tab {
    display: block;
}

/**------------My Work------------**/
#myWork {
    padding: 50px 0;
    background-color: #14101A !important;
    z-index: 1;
    opacity: 1;
}
.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.work {
    border-radius: 11px;
    position: relative;
    overflow: hidden;
}
.work img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}
.layer {
    width: 85%;
    height: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.447), #000000ee);
    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;
    transition: height 0.5s;
}
.layer h3 {
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a {
    margin-top: 20px;
    color: #61D2FA;
    text-decoration: none;
    font-size: 13px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}
.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer {
    height: 100%;
}

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #61D2FA;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}
.btn:hover {
    background: #61D2FA;
}

/**------------Find Me In Other Places------------**/
footer {
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
}

.socials {
    margin: 10px 0;
}

.socials a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.socials a:hover {
    color: #00aaff; /* Change to your desired hover color */
}
