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


* {
    font-family: 
        'Mingzat',
        cursive, serif, sans-serif;
        font-size:1rem;
}
    
body {
    margin: 0;
    /* background-color: #003366; */
    background: url('../images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;

}

.container {
    display: grid;
    grid-gap: 2rem;
    justify-content: center;
    align-content: center;
    justify-items: center;
    padding:1rem; 
    padding-top:0;
}

.grid-item .grid {
    display: grid;
    justify-content: center;
    justify-items: center;
}

#phone, #email, #twitter {
    display: grid;
    padding: 0.5rem;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(2, auto);
    color: #ecf0f1;
}

#messageDesc {
    font-size:1.2rem;
    line-height: 1.2rem;
    margin-bottom:.5rem;
}

.grid-item h2 {
    margin-bottom:0;
}

button {
    background-color: #ff8a65; 
    color: #ffffff; 
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: #ff7043; 
}

.grid-item i {
    font-size: 1.5rem; 
    padding-right: 0.7rem;
}

.formContainer{
    background-color: #fff; 
    border-radius: 0.5rem;
    width:100%;
    color: #333333;
}

.contactFrm {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    grid-gap: 1rem;
    padding: 1rem;
}

input, textarea{
    padding:.6rem;
    border-radius: .6rem;
    border:2px solid transparent;
    background-color: #F4F4F4;
    cursor: text; /* Ensures the standard text cursor */
}

input:focus, textarea:focus {
    outline: none;
    border: 2px solid #ff8a65;
    background-color: #ffffff; 
    box-shadow: 0 0 5px rgba(255, 138, 101, 0.5);
}

h1 {
    font-size: 3.3rem;
    line-height: 3.3rem;
    color: #ecf0f1; 
    font-weight: 700;
    margin: .7rem 0;
    padding:0px;
    display:flex;
    justify-content: center;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    display: block;
    margin: 0 auto 20px auto; 
    object-fit: cover;
    margin-top:2rem;
}

.profileDesc{
    color:white;
    text-align: justify;
}

.phoneEmailGrid{
    display:grid;
    font-size: 1.2rem !important;
    margin-top:.7rem;
}

.phoneEmailGrid span{
    font-size: 1.2rem;
}

h2{
    font-size: 1.8rem;
}

/* Remove underline and set color to inherit for anchor tags inside #phone and #email */
#phone a, #email a, #twitter a {
    text-decoration: none; /* Removes the underline */
    color: inherit; /* Ensures the font color is the same as the surrounding text */
}

/* For hover effect */
#phone a:hover, #email a:hover, #twitter a:hover  {
    color: #ecf0f1; /* Keeps the color the same on hover */
    text-decoration: none; /* Ensures no underline on hover */
}


@media only screen and (min-width: 768px) {
    .profileDesc{
        max-width: 1024px;
    }

    .contactFrm {
        grid-template-columns: repeat(2, 1fr);
    }

    #message {
        grid-column: 1 / 3;
    }

    #btnSendMessage{
        display:grid;
        grid-column: 1 / 3;
        justify-content: center;
    }

    h1 {
        font-size: 5rem;
        line-height: 5rem;
    }

    .phoneEmailGrid{
        display:grid;
        justify-content: center;
        grid-template-columns: repeat(3, auto);
        grid-gap: 2rem;
    }
    
}